soylent.com Open in urlscan Pro
23.227.38.32  Public Scan

URL: https://soylent.com/
Submission: On May 02 via api from US — Scanned from CA

Form analysis 53 forms found in the DOM

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$43.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.58</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$48.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$4.00</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6876814082159">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-6876814082159" tabindex="0">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$43.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.42</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$43.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.58</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$48.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$4.00</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462794604655">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4462794604655" tabindex="0">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$43.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.42</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$43.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.58</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$48.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$4.00</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4572886302831">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4572886302831" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$43.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.42</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$39.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.25</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.75</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462614839407">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4462614839407" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$39.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">13.33</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$39.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.25</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.75</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462621163631">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4462621163631" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$39.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">13.33</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$39.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.25</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.75</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462641447023">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4462641447023" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$39.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">13.33</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$31.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$2.63</span>/<span x-text="product.unitName">Bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$35.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$2.92</span>/<span x-text="product.unitName">Bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4605292609647">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4605292609647" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$31.50</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$39.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.25</span>/<span x-text="product.unitName">Bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.75</span>/<span x-text="product.unitName">Bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4489418014831">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4489418014831" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$39.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">13.33</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
    <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.75</span>/<span x-text="product.unitName">bottle</span>) </p>
    <p></p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$45.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$35.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$2.92</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.75</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462627749999">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4462627749999" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$35.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">22.22</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$31.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$2.63</span>/<span x-text="product.unitName">Bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$35.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$2.92</span>/<span x-text="product.unitName">Bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4605292675183">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4605292675183" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$31.50</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$39.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.25</span>/<span x-text="product.unitName">Bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.75</span>/<span x-text="product.unitName">Bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-753752408170">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-753752408170" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$39.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">13.33</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$127.50</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
    <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.54</span>/<span x-text="product.unitName">bottle</span>) </p>
    <p></p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$127.50</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$39.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.25</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.75</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462559559791">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4462559559791" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$39.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">13.33</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$39.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.25</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.75</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462631157871">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-4462631157871" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$39.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">13.33</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$114.75</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.19</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$127.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.54</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6962462589039">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-6962462589039" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$114.75</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
    <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.75</span>/<span x-text="product.unitName">bottle</span>) </p>
    <p></p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" disabled="disabled" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$45.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)" style="display: none;">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$114.75</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.19</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$127.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.54</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-7051710267503">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-7051710267503" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$114.75</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$114.75</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.19</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$127.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.54</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-7051710431343">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-7051710431343" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$114.75</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$114.75</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.19</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$127.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.54</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-7051710627951">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-7051710627951" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$114.75</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$106.20</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$2.95</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$118.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.28</span>/<span x-text="product.unitName">bottle</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-7051710726255">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-7051710726255" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$106.20</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$58.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$1.66</span>/<span x-text="product.unitName">meal</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$69.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.99</span>/<span x-text="product.unitName">meal</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-1764282499183">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-1764282499183" tabindex="0">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$58.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">16.55</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$58.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$1.66</span>/<span x-text="product.unitName">Meal</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$69.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.99</span>/<span x-text="product.unitName">Meal</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-1774714912879">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-1774714912879" tabindex="0">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$58.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">16.55</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$136.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
    <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.94</span>/<span x-text="product.unitName">meal</span>) </p>
    <p></p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$136.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))">$29.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))">$2.42</span>/<span x-text="product.unitName">meal</span>) </p>
      </div>
    </div>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$32.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$2.67</span>/<span x-text="product.unitName">meal</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-7070136893551">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-7070136893551" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$29.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">9.38</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))">$29.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))">$2.42</span>/<span x-text="product.unitName">meal</span>) </p>
      </div>
    </div>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$32.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$2.67</span>/<span x-text="product.unitName">meal</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-7070136959087">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-7070136959087" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$29.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">9.38</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$77.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
    <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$2.20</span>/<span x-text="product.unitName">meal</span>) </p>
    <p></p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$77.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$129.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
    <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.84</span>/<span x-text="product.unitName">meal</span>) </p>
    <p></p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$129.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$13.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$1.35</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$15.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.50</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6924262375535">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-6924262375535" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$13.50</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$13.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$1.35</span>/<span x-text="product.unitName">Packet</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$15.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.50</span>/<span x-text="product.unitName">Packet</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6924262277231">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-6924262277231" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$13.50</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$8.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$0.67</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$10.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$0.83</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6943147032687">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-6943147032687" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$8.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">20.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$8.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$0.67</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$10.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$0.83</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6943146770543">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-6943146770543" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$8.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">20.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$8.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$0.67</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$10.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$0.83</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6943146836079">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-6943146836079" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$8.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">20.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$8.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$0.67</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$10.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$0.83</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6943146901615">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-6943146901615" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$8.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">20.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$8.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$0.67</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$10.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$0.83</span>/<span x-text="product.unitName">packet</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6943146967151">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-6943146967151" tabindex="-1">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">15 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="2">45 days</option>
          <option :value="index" x-text="`${frequency}`" value="3">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$8.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">20.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$10.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$10.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$2.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$2.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$23.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$0.96</span>/<span x-text="product.unitName">Square</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$26.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.10</span>/<span x-text="product.unitName">Square</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-2169123471471">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-2169123471471" tabindex="0">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$23.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">13.21</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <template x-if="product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <template x-if="!product.subscription_sku_override">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </template>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$23.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$0.96</span>/<span x-text="product.unitName">Square</span>) </p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$26.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.10</span>/<span x-text="product.unitName">Square</span>) </p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6557974462575">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
          x-model="product.state.selling_plan_index" id="frequency-6557974462575" tabindex="0">
          <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
            <option :value="index" x-text="`${frequency}`"></option>
          </template>
          <option :value="index" x-text="`${frequency}`" value="0">30 days</option>
          <option :value="index" x-text="`${frequency}`" value="1">60 days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$23.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)">13.21</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <div class="product-form__tooltip-overlay"></div>
            <div class="product-form__tooltip-inner">
              <div class="heading-container">
                <h2>Why Subscribe?</h2>
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                  <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                </svg>
              </div>
              <div class="content-blocks-container">
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
                <div class="content-block">
                  <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                  <p></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$10.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$10.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$25.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`" for="size-6706700189807"></label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" name="size" x-model="product.state.size" tabindex="0">
          <template x-for="option in product.productOptions">
            <option x-text="option"></option>
          </template>
          <option x-text="option">XS</option>
          <option x-text="option">S</option>
          <option x-text="option">M</option>
          <option x-text="option">L</option>
          <option x-text="option">XL</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$25.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$2.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$2.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$25.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$25.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$25.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`" for="size-6706700222575"></label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" name="size" x-model="product.state.size" tabindex="-1">
          <template x-for="option in product.productOptions">
            <option x-text="option"></option>
          </template>
          <option x-text="option">XS</option>
          <option x-text="option">S</option>
          <option x-text="option">M</option>
          <option x-text="option">L</option>
          <option x-text="option">XL</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$25.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`" for="size-6706700255343"></label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" name="size" x-model="product.state.size" tabindex="-1">
          <template x-for="option in product.productOptions">
            <option x-text="option"></option>
          </template>
          <option x-text="option">XS</option>
          <option x-text="option">S</option>
          <option x-text="option">M</option>
          <option x-text="option">L</option>
          <option x-text="option">XL</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$45.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <template x-if="product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription_sku_override" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product.subscription_sku_override))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product.subscription_sku_override), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <template x-if="!product.subscription_sku_override">
        <div class="flex justify-between mb-0.5gutter">
          <label class="f6 capitalize flex items-start mb0 grey-dark">
            <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
            <span class="flex-1">Subscribe &amp; Save</span>
          </label>
          <div class="ttl tr f8 mb0 self-center product-form__selector-price">
            <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
            <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
              <p class="di"> (<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
            </template>
          </div>
        </div>
      </template>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$25.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di"> (<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>) </p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType !== 'subscription' &amp;&amp; product.state.purchaseType !== 'subscription_sku_override' " name="frequency"
            x-model="product.state.selling_plan_index">
            <template x-for="(frequency, index) in productShippingFrequencies(product)" :key="frequency">
              <option :value="index" x-text="`${frequency}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`" for="size-6977445298287"></label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" name="size" x-model="product.state.size" tabindex="-1">
          <template x-for="option in product.productOptions">
            <option x-text="option"></option>
          </template>
          <option x-text="option">XS</option>
          <option x-text="option">S</option>
          <option x-text="option">M</option>
          <option x-text="option">L</option>
          <option x-text="option">XL</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" disabled="disabled" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span>
        </template>
        <span x-text="priceWithButton(product)">$25.00</span>
        <p class="add-to-cart" x-show="isAddToCart(product)" style="display: none;">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptionDiscount).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <div class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <div class="product-form__tooltip-overlay"></div>
              <div class="product-form__tooltip-inner">
                <div class="heading-container">
                  <h2>Why Subscribe?</h2>
                  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z" fill="black"></path>
                  </svg>
                </div>
                <div class="content-blocks-container">
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                  <div class="content-block">
                    <img src="//cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c.gif" alt="">
                    <p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="needsclick klaviyo-form klaviyo-form-version-cid_1 kl-private-reset-css-Xuajs1" data-testid="klaviyo-form-YmL3b8" novalidate="" tabindex="-1"
  style="display: flex; flex-direction: row; box-sizing: border-box; width: 100%; overflow: visible; max-width: 450px; margin: 0px auto; border-radius: 2px; border-style: none; border-width: 0px; border-color: rgb(0, 0, 0); background-color: rgba(255, 255, 255, 0); background-repeat: no-repeat; background-position-y: 50%; padding: 10px 0px; flex: 1 1 0%;">
  <div class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; flex-direction: column; width: 100%; margin: 0px; padding: 0px; justify-content: center;">
    <div data-testid="form-row" class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; flex-direction: row; align-items: stretch; position: relative;">
      <div component="[object Object]" data-testid="form-component" class="needsclick  kl-private-reset-css-Xuajs1"
        style="display: flex; justify-content: flex-start; padding: 10px 6px 20px 0px; position: relative; background-color: rgba(255, 255, 255, 0); flex: 1 0 0px;">
        <div class="kl-private-reset-css-Xuajs1 go3176171171" style="width: 100%;">
          <p style="font-size: 14px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-weight: 400;"><span style="color: #ffffff; font-size: 18px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-weight: bold;">SIGN
              UP FOR OUR NEWSLETTER AND GET 25% OFF YOUR FIRST ORDER!</span></p>
        </div>
      </div>
    </div>
    <div data-testid="form-row" class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; flex-direction: row; align-items: stretch; position: relative;">
      <div component="[object Object]" data-testid="form-component" class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; justify-content: flex-start; padding: 10px 8px 10px 0px; position: relative; flex: 1 0 0px;">
        <div class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; flex-grow: 1; flex-direction: column; align-self: flex-end;"><label id="label-email_63385667" for="email_63385667" class="needsclick  kl-private-reset-css-Xuajs1"
            style="color: rgb(204, 204, 204); font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0px; padding-bottom: 6px;">Email</label><input id="email_63385667"
            class="needsclick go1509285975 kl-private-reset-css-Xuajs1" type="email" autocomplete="email" name="email" tabindex="0" placeholder="Your Email Address" aria-labelledby="label-email_63385667" aria-invalid="false" options="[object Object]"
            style="box-sizing: border-box; border-radius: 2px; padding: 0px 0px 0px 16px; height: 38px; text-align: left; color: rgb(255, 255, 255); font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: 0px; background-color: rgba(255, 178, 178, 0); border: 1px solid rgb(204, 204, 204);">
          <div class="needsclick  kl-private-reset-css-Xuajs1" style="width: 100%; position: relative;"></div>
        </div>
      </div>
      <div component="[object Object]" data-testid="form-component" class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; justify-content: flex-start; padding: 10px 10px 10px 0px; position: relative; flex: 0 1 auto;"><button
          class="needsclick go2036469580 kl-private-reset-css-Xuajs1" type="button" tabindex="0"
          style="background: rgb(255, 255, 255); border-radius: 0px; border-style: solid; border-color: rgb(0, 0, 0); border-width: 1px; color: rgb(32, 35, 34); font-family: Apercu, Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: 0px; line-height: 1; white-space: normal; padding: 11px 10px; text-align: center; word-break: break-word; align-self: flex-end; cursor: pointer; height: auto;">SIGN
          UP</button></div>
    </div>
  </div><input type="submit" tabindex="-1" value="Submit" style="display: none;">
</form>

GET /search

<form action="/search" method="get" role="search">
  <input type="hidden" name="type" value="product,article">
  <div class="minimal-input-box minimal-input-box--large">
    <input type="search" placeholder="Search products &amp; content" class="minimal-input-box__input">
    <button type="submit" class="minimal-input-box__submit">
      <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-search" viewBox="0 0 20 20">
        <path class="st0"
          d="M18.7 17.3l-3.2-3.2c1.1-1.4 1.7-3.1 1.7-5 0-4.5-3.6-8.1-8.1-8.1S1 4.6 1 9.1s3.6 8.1 8.1 8.1c1.9 0 3.6-.6 5-1.7l3.2 3.2c.2.2.5.3.7.3s.5-.1.7-.3c.4-.4.4-1 0-1.4zM3 9.1C3 5.7 5.7 3 9.1 3c3.4 0 6.1 2.7 6.1 6.1 0 1.7-.7 3.2-1.8 4.3-1.1 1.1-2.6 1.8-4.3 1.8-3.4 0-6.1-2.7-6.1-6.1z">
        </path>
      </svg>
      <span class="icon-fallback-text">Search</span>
    </button>
  </div>
</form>

Text Content

Free shipping on orders over $50!

 * 

 * Shop
   

    * DRINKS
      
      No time, no problem! Complete, drinkable meals.
   
    * POWDERS
      
      Scoop, shake, go.
   
    * BARS
      
      Small in size, big on nutrition.
   
    * Shop AllComplete Meal DrinksComplete ProteinComplete EnergyVariety /
      Sampler PacksGift CardsMerch

 * Health Benefits
   

    * WEIGHT MANAGEMENT
      
      Soylent makes weight management easy.
   
    * FITNESS
      
      Soylent can help you reach your fitness goals.
   
    * PLANT-BASED DIET
      
      Soylent fills any nutritional gaps in a plant-based lifestyle.
   
    * Diabetes & Blood Sugar ManagementSurgery & Liquid DietsDaily Vitamins &
      MineralsSoylent for Health Professionals

 * Reviews
 * Subscribe
 * Quiz
 * About
   

    * OUR STORY
      
      Where we started. Where we are going.
   
    * OUR SCIENCE
      
      What's inside and why?
   
    * OUR IMPACT
      
      Do good. Give back. Save the planet.
   
    * BlogPressRecipesReviewsDiscount ProgramsAmbassador Program

 * Store Locator

 * United States
 * Canada
 * Global


SOYLENT

Soylent
 * Shop
   
   DRINKS
   
   No time, no problem! Complete, drinkable meals.
   
   
   
   POWDERS
   
   Scoop, shake, go.
   
   
   
   BARS
   
   Small in size, big on nutrition.
   
   Shop AllComplete Meal DrinksComplete ProteinComplete EnergyVariety / Sampler
   PacksGift CardsMerch
   close
 * Health Benefits
   
   WEIGHT MANAGEMENT
   
   Soylent makes weight management easy.
   
   
   
   FITNESS
   
   Soylent can help you reach your fitness goals.
   
   
   
   PLANT-BASED DIET
   
   Soylent fills any nutritional gaps in a plant-based lifestyle.
   
   Diabetes & Blood Sugar ManagementSurgery & Liquid DietsDaily Vitamins &
   MineralsSoylent for Health Professionals
   close
 * Reviews
 * Subscribe
 * Quiz
 * About
   
   OUR STORY
   
   Where we started. Where we are going.
   
   
   
   OUR SCIENCE
   
   What's inside and why?
   
   
   
   OUR IMPACT
   
   Do good. Give back. Save the planet.
   
   BlogPressRecipesReviewsDiscount ProgramsAmbassador Program
   close

 * Store Locator

 *  * United States
    * Canada
    * Global

 * Account
 * 0

 * Account
 * 0


LOOKING FOR HEALTHY, AFFORDABLE AND DELICIOUS MEALS?

Get a complete, balanced meal with 20g of protein and 28 vitamins & minerals for
less than the cost of fast food! With over 9,000 5-star reviews, Soylent can
help you achieve your nutrition goals and tastes great!
SHOP NOW
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.6

Rated 4.6 out of 5 stars
273 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
526 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
5.0

Rated 5.0 out of 5 stars
2 Reviews





4.0

Rated 4.0 out of 5 stars
1 Review

4.4

Rated 4.4 out of 5 stars
148 Reviews


5.0

Rated 5.0 out of 5 stars
1 Review



5.0

Rated 5.0 out of 5 stars
2 Reviews
5.0

Rated 5.0 out of 5 stars
1 Review




5.0

Rated 5.0 out of 5 stars
1 Review

4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
4.5

Rated 4.5 out of 5 stars
65 Reviews
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
4.6

Rated 4.6 out of 5 stars
5 Reviews
4.7

Rated 4.7 out of 5 stars
3 Reviews
4.7

Rated 4.7 out of 5 stars
3 Reviews
5.0

Rated 5.0 out of 5 stars
2 Reviews
4.5

Rated 4.5 out of 5 stars
65 Reviews
4.5

Rated 4.5 out of 5 stars
65 Reviews
4.5

Rated 4.5 out of 5 stars
65 Reviews
4.5

Rated 4.5 out of 5 stars
65 Reviews
4.5

Rated 4.5 out of 5 stars
65 Reviews
4.8

Rated 4.8 out of 5 stars
135 Reviews
4.4

Rated 4.4 out of 5 stars
36 Reviews
4.5

Rated 4.5 out of 5 stars
438 Reviews
4.5

Rated 4.5 out of 5 stars
438 Reviews
4.8

Rated 4.8 out of 5 stars
135 Reviews
5.0

Rated 5.0 out of 5 stars
1 Review
4.4

Rated 4.4 out of 5 stars
36 Reviews
5.0

Rated 5.0 out of 5 stars
3 Reviews

5.0

Rated 5.0 out of 5 stars
7 Reviews
5.0

Rated 5.0 out of 5 stars
3 Reviews


SHOP SOYLENT TODAY

Drinks Powder Squared Merch

Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

Deliver Every:


- +

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



 

No time, no problem! Grab a complete, nutritious meal that is as healthy as it
is tasty!

Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

Deliver Every:


- +

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT SAMPLER VARIETY PACK

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$43.00

(/)

($3.58/bottle)

One-Time Purchase
$48.00

(/)

($4.00/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$43.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.42%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT NEAPOLITAN VARIETY PACK

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$43.00

(/)

($3.58/bottle)

One-Time Purchase
$48.00

(/)

($4.00/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$43.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.42%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT CHOCOLATE LOVER'S VARIETY PACK

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$43.00

(/)

($3.58/bottle)

One-Time Purchase
$48.00

(/)

($4.00/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$43.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.42%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT CREAMY CHOCOLATE PROTEIN SHAKE

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$39.00

(/)

($3.25/bottle)

One-Time Purchase
$45.00

(/)

($3.75/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$39.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 13.33%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT MINT CHOCOLATE PROTEIN NUTRITION SHAKE

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$39.00

(/)

($3.25/bottle)

One-Time Purchase
$45.00

(/)

($3.75/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$39.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 13.33%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT VANILLA PROTEIN NUTRITION SHAKE

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$39.00

(/)

($3.25/bottle)

One-Time Purchase
$45.00

(/)

($3.75/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$39.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 13.33%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT CHOCOLATE HIGH PROTEIN SHAKE

12 bottles
4.6

Rated 4.6 out of 5 stars
273 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$31.50

(/)

($2.63/Bottle)

One-Time Purchase
$35.00

(/)

($2.92/Bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$31.50

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT CAFE MOCHA PROTEIN NUTRITION SHAKE

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$39.00

(/)

($3.25/Bottle)

One-Time Purchase
$45.00

(/)

($3.75/Bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$39.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 13.33%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT CAFE LATTE PROTEIN NUTRITION SHAKE

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$45.00

(/)

($3.75/bottle)



Deliver Every:


- +
$45.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT ORIGINAL PROTEIN NUTRITION SHAKE

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$35.00

(/)

($2.92/bottle)

One-Time Purchase
$45.00

(/)

($3.75/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$35.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 22.22%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT CHOCOLATE PROTEIN + ENERGY NUTRITION SHAKE

12 bottles
4.5

Rated 4.5 out of 5 stars
526 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$31.50

(/)

($2.63/Bottle)

One-Time Purchase
$35.00

(/)

($2.92/Bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$31.50

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT CAFE CHAI PROTEIN NUTRITION SHAKE

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$39.00

(/)

($3.25/Bottle)

One-Time Purchase
$45.00

(/)

($3.75/Bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$39.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 13.33%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT CAFE VARIETY 36 BOTTLE BUNDLE

36 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$127.50

(/)

($3.54/bottle)



Deliver Every:


- +
$127.50

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT BANANA PROTEIN NUTRITION SHAKE

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$39.00

(/)

($3.25/bottle)

One-Time Purchase
$45.00

(/)

($3.75/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$39.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 13.33%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT STRAWBERRY PROTEIN NUTRITION SHAKE

12 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$39.00

(/)

($3.25/bottle)

One-Time Purchase
$45.00

(/)

($3.75/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$39.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 13.33%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT BANANA SPLIT 36 BOTTLE BUNDLE

36 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$114.75

(/)

($3.19/bottle)

One-Time Purchase
$127.50

(/)

($3.54/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$114.75

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT GINGERBREAD PROTEIN NUTRITION SHAKE

12 bottles
4.4

Rated 4.4 out of 5 stars
148 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$45.00

(/)

($3.75/bottle)



Deliver Every:


- +
$45.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT BEST SELLERS 36 BOTTLE BUNDLE

36 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$114.75

(/)

($3.19/bottle)

One-Time Purchase
$127.50

(/)

($3.54/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$114.75

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT STARTER PACK 36 BOTTLE BUNDLE

36 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$114.75

(/)

($3.19/bottle)

One-Time Purchase
$127.50

(/)

($3.54/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$114.75

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT CHOCOLATE LOVER'S 36 BOTTLE BUNDLE

36 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$114.75

(/)

($3.19/bottle)

One-Time Purchase
$127.50

(/)

($3.54/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$114.75

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT ENERGY + PROTEIN 36 BOTTLE BUNDLE

36 bottles
4.5

Rated 4.5 out of 5 stars
9,150 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$106.20

(/)

($2.95/bottle)

One-Time Purchase
$118.00

(/)

($3.28/bottle)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$106.20

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.00%
| Why Subscribe?


WHY SUBSCRIBE?



 

 * 1/22
 * 2/22
 * 3/22
 * 4/22
 * 5/22
 * 6/22
 * 7/22
 * 8/22

Scoop, shake, go! Just add water to create a smooth and delicious, complete
nutrition shake!

Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

Deliver Every:


- +

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT POWDER - CACAO

7 Pouches/case
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$58.00

(/)

($1.66/meal)

One-Time Purchase
$69.50

(/)

($1.99/meal)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$58.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 16.55%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT POWDER - ORIGINAL

7 Pouches/case
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$58.00

(/)

($1.66/Meal)

One-Time Purchase
$69.50

(/)

($1.99/Meal)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$58.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 16.55%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT ULTIMATE POWDER STARTER PACK

70 meals
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$136.00

(/)

($1.94/meal)



Deliver Every:


- +
$136.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT POWDER TUB - CACAO

12 meals
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save
$29.00

(/)

($2.42/meal)

Subscribe & Save

(/)

One-Time Purchase
$32.00

(/)

($2.67/meal)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$29.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 9.38%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT POWDER TUB - ORIGINAL

12 meals
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save
$29.00

(/)

($2.42/meal)

Subscribe & Save

(/)

One-Time Purchase
$32.00

(/)

($2.67/meal)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$29.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 9.38%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT MATCHA POWDER STARTER PACK

35 meals
4.5

Rated 4.5 out of 5 stars
65 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$77.00

(/)

($2.20/meal)



Deliver Every:


- +
$77.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT POWDER STARTER PACK

70 meals
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$129.00

(/)

($1.84/meal)



Deliver Every:


- +
$129.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT SINGLE SERVE POWDER - CACAO

10 Packets/case
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$13.50

(/)

($1.35/packet)

One-Time Purchase
$15.00

(/)

($1.50/packet)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$13.50

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT SINGLE SERVE POWDER - ORIGINAL

10 Packets/case
4.6

Rated 4.6 out of 5 stars
1,928 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$13.50

(/)

($1.35/Packet)

One-Time Purchase
$15.00

(/)

($1.50/Packet)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$13.50

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 10.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT POWDER FLAVOR BOOSTS - VARIETY PACK

12 packets
4.5

Rated 4.5 out of 5 stars
65 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$8.00

(/)

($0.67/packet)

One-Time Purchase
$10.00

(/)

($0.83/packet)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$8.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 20.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT POWDER FLAVOR BOOSTS - STRAWBERRY

12 packets
4.5

Rated 4.5 out of 5 stars
65 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$8.00

(/)

($0.67/packet)

One-Time Purchase
$10.00

(/)

($0.83/packet)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$8.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 20.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT POWDER FLAVOR BOOSTS - PEANUT BUTTER

12 packets
4.5

Rated 4.5 out of 5 stars
65 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$8.00

(/)

($0.67/packet)

One-Time Purchase
$10.00

(/)

($0.83/packet)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$8.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 20.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT POWDER FLAVOR BOOSTS - MATCHA

12 packets
4.5

Rated 4.5 out of 5 stars
65 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$8.00

(/)

($0.67/packet)

One-Time Purchase
$10.00

(/)

($0.83/packet)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$8.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 20.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT POWDER FLAVOR BOOSTS - CARAMEL

12 packets
4.5

Rated 4.5 out of 5 stars
65 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$8.00

(/)

($0.67/packet)

One-Time Purchase
$10.00

(/)

($0.83/packet)

(/)

Deliver Every:

Deliver Every:
15 days 30 days 45 days 60 days

- +
$8.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 20.00%
| Why Subscribe?


WHY SUBSCRIBE?



 


BLENDER BOTTLE 20OZ

4.8

Rated 4.8 out of 5 stars
135 Reviews
4.8

Rated 4.8 out of 5 stars
135 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$10.00

(/)

Deliver Every:


- +
$10.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


POWDER SCOOP

4.4

Rated 4.4 out of 5 stars
36 Reviews
4.4

Rated 4.4 out of 5 stars
36 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$2.00

(/)

Deliver Every:


- +
$2.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   

 * 1/17
 * 2/17
 * 3/17
 * 4/17
 * 5/17
 * 6/17

A delicious and healthy snack you can take anywhere!

Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

Deliver Every:


- +

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT SQUARED CHOCOLATE BROWNIE

24 Squares
4.5

Rated 4.5 out of 5 stars
438 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$23.00

(/)

($0.96/Square)

One-Time Purchase
$26.50

(/)

($1.10/Square)

(/)

Deliver Every:

Deliver Every:
30 days 60 days

- +
$23.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 13.21%
| Why Subscribe?


WHY SUBSCRIBE?



 


SOYLENT SQUARED PEANUT BUTTER CHOCOLATE CHIP

24 Squares
4.5

Rated 4.5 out of 5 stars
438 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save

(/)

Subscribe & Save

(/)

Subscribe & Save
$23.00

(/)

($0.96/Square)

One-Time Purchase
$26.50

(/)

($1.10/Square)

(/)

Deliver Every:

Deliver Every:
30 days 60 days

- +
$23.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



Subscribe & Save 13.21%
| Why Subscribe?


WHY SUBSCRIBE?



 
 * 1/3

Swag for the ultimate Soylenteer!

Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

Deliver Every:


- +

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



 


BLENDER BOTTLE 20OZ


Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$10.00

(/)

Deliver Every:


- +
$10.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT T-SHIRT - BLACK #1

5.0

Rated 5.0 out of 5 stars
1 Review
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$25.00

(/)

Deliver Every:


XS S M L XL
- +
$25.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


POWDER SCOOP


Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$2.00

(/)

Deliver Every:


- +
$2.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT HAT

5.0

Rated 5.0 out of 5 stars
3 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$25.00

(/)

Deliver Every:


- +
$25.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT T-SHIRT - BLACK #2


Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$25.00

(/)

Deliver Every:


XS S M L XL
- +
$25.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT LIGHTWEIGHT HOODIE

5.0

Rated 5.0 out of 5 stars
7 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$45.00

(/)

Deliver Every:


XS S M L XL
- +
$45.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   


SOYLENT GREEN T-SHIRT

5.0

Rated 5.0 stars
3 Reviews
Subscribe & Save

(/)

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$25.00

(/)

Deliver Every:


XS S M L XL
- +
$25.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?


WHY SUBSCRIBE?



   

 * 1/8
 * 2/8
 * 3/8


NOT SURE WHICH SOYLENT PRODUCT IS RIGHT FOR YOU?


TRY OUR PRODUCT RECOMMENDATION QUIZ

Let us help you find the right Soylent products for your taste preferences,
health goals and lifestyle. Take our quiz to discover your personalized
recommendations.

TAKE OUR QUIZ


WHY SOYLENT?

You want to be healthy, you don't have extra time and you don't want to harm the
planet. We get it. We create products that deliver complete nutrition in
convenient formats so you can get your fill anywhere, anytime, all while
maintaining a clear conscience!

PLANT-BASED PROTEIN

VITAMINS & MINERALS

LOW SUGAR

HEALTHY FATS

LEARN MOREShop Now



SUBSCRIBE TO GET EXCLUSIVE PERKS

Subscribing will save you time and money! Curate the perfect mix of shakes, bars
and powders and know they will arrive at your door each month.

Subscribe and save up to 29% on every order

Customize your subscription with the flavors and products you love

Flexibility to make changes whenever you need

Learn More

Looking for the perfect gift for your nutrition-focused friends?


GIVE THE GIFT OF SOYLENT

Packed with plant-based protein, healthy fats, and immune-supporting vitamins
and minerals, Soylent is the perfect gift for your health-focused friends.
Gift a Subscription



REVIEWS FROM OUR CUSTOMERS


Rated 4.6 out of 5 stars
13,400 Reviews
13400 verified reviews with an average of 4.6 stars out of 5 by Okendo Reviews
 * Leslie F.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   Protein Shake
   
   I am trying to make sure I get enough protein throughout the week. Soylent
   makes that possible. The taste is a plus. It is a great help in lowering my
   sugar intake. Also, instead of grabbing junk food this shake is a great
   alternative.
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * James H.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   Convenient and good replacement for meal
   
   The shopping and shipping experience are also good.
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * Rebecca K.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   It's a lifesaver
   
   I've been using this product for over a year now, incredibly shelf-stable and
   helps with hypoglycemia. A+
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * Kevin G.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   Amazing, this will be my go to Soylent!
   
   Great taste, thickness is perfect, about the consistency of milk, I love the
   energy bump of the non-tropics over caffeine. As someone with high BP when
   not doing well on fitness and anxiety since my dad pad passed away, these are
   great.
   
   Cannot say enough good things about this blend, totally a stake in my weight
   loss arsenal from this point forward
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * MARC M.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   Very fast shipping, product exactly as expected
   
   Arrived very quickly, prices are reasonable considering what you get.
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * MARC M.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   Great way to try it out if you aren't sure
   
   This is an inexpensive box of powder that is a great way to try it to see if
   you like the flavor.
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * MARC M.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   Great
   
   Not as cost effective as the powder, but it's much cheaper than buying single
   bottles in Walmart. Tastes like a chocolate smoothie.
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * Kenan M.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   The best
   
   Great Taste and has all the macro and micro nutrients that people with busy
   schedules don’t always get every day. Love it!
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * KIRK A.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   Like the taste
   
   The Cafe Mocha is probably 90% of the Soylent I drink. Normally consume for
   breakfast or mid morning
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * Matthew P.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   Variety tasted much better than I anticipated
   
   I liked that I could have a lot of flavors. I had soylent probably 5 years
   ago, and back then there weren't as many options. I switched over to Huel,
   but the texture was much grittier and not as smooth as Soylent. In particular
   Mint Choco and Vanilla were two flavors that I enjoyed more than I thought I
   would.
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * Edward S.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   Easy morning start
   
   Per meal, the powder is obviously the best price. However, I actually think
   the taste is good and it gives flexibility in how much you want depending on
   the situation. The other products don’t let you vary the amount you’re
   getting. Using a mixing bottle makes it trivial to make and consume quickly.
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no
 * JEAN M C.
   Verified Buyer
   
   
   Rated 5 out of 5 stars
   Why I Subscribed
   
   Love it! Chai help me get a good night's sleep.
   
   Read More
   
   Was this helpful?
   Yes, this review was helpful. 0 people voted yesNo, this review was not
   helpful 0 people voted no

Press left and right arrows to navigate.


Viewing Slides 1 to 3 of 12

RATHER GRAB A SOYLENT TODAY?

Whether you’d like to try a single bottle, smaller sizes or get your Soylent
today – we’re waiting around the corner for you.

Find soylent near you



GOOD FOR YOU, GOOD FOR THE PLANET.


COMPLETE NUTRITION

Soylent products help you meet your daily and weekly nutritional goals. Our
products can both stand in for complete meals as well as fill your nutrition
gaps as snacks, supplements, and beyond!


SUSTAINABILITY

Soylent supports sustainable agriculture and employs best practices to reduce
our carbon footprint across our entire supply chain.


SCIENCE-BASED

Every ingredient in our products is backed by science and carefully selected for
specific and synergistic functional benefits.


AFFORDABILITY

We believe that everyone has the right to nutritious meals and are committed to
having products that are affordable and accessible to all.


ALMOST 6 MILLION MEALS DONATED THROUGH #SOYLENTFORGOOD!

5,864,429

Learn more


FOLLOW US @ SOYLENT

Tag us on Instagram for a chance to be featured!

Soylent 🌱 | Product Photography
#soylent#plantprotein#proteindrink#productphotography
#beveragephotography#studentphotographer#studiophotography
21 MARCH 2023
Soylent Banana Protein Nutrition Shake
45.00
Soylent Strawberry Protein Nutrition Shake
45.00
I’m always checking out new protein drinks and this one has a great bonus 100mg
of caffeine. It’s a great afternoon pick me up! soylent #healthymom
#healthyli...
21 MARCH 2023
Soylent Chocolate Protein + Energy Nutrition Shake
35.00
Wow!! soylent sent 500, yes 500 bottles of Soylent to my NICU for the nurses. My
manager and I split it by thirds and shared with Labor & Delivery and
Maternity...
18 MARCH 2023
Soylent Creamy Chocolate Protein Shake
45.00
Happy #PlantPowerDay ! As a company committed to science-based and
sustainably-sourced ingredients, Soylent is proud to use soy to promote a more
environmenta...
08 MARCH 2023
Soylent Vanilla Protein Nutrition Shake
45.00

GOOD MOVE. Today I took a very very good decision. I subscribed to a monthly
"auto- delivered" to be sure Soylent always be a part of my Breakfasts. Voilà.
Now...
02 FEBRUARY 2023
Soylent Powder - Original
69.50
Anyone ever had these? Trying to get my calories up in the mornings! All ideas
welcome ☺️
19 JANUARY 2023
Soylent Strawberry Protein Nutrition Shake
45.00
Have you heard of soylent ? . These creamy and delicious protein nutrition
shakes are packed with 28 immune supporting vitamins and minerals. 20g plant
protein...
31 DECEMBER 2022
Soylent Sampler Variety Pack
48.00
#AD Some days I spend the whole day in the kitchen creating content - but
others, like today, I barely get up to walk some steps each hour. These soylent
shakes...
03 OCTOBER 2022
Soylent Creamy Chocolate Protein Nutrition Shake
45.00
I need to tell you guys about my favorite meal replacement shakes from soylent!
#ad As a mom, my days are nonstop since I’m constantly running around. Whether
I...
03 OCTOBER 2022
Soylent Creamy Chocolate Protein Nutrition Shake
45.00
It’s not your grandma’s oatmeal! These healthy overnight oats taste like a sweet
peach cobbler and are packed with protein and 28 daily vitamins and minerals
th...
27 SEPTEMBER 2022
Soylent Original Protein Nutrition Shake
45.00

Your mint chocolate craving just got an upgrade. 20g of complete protein, 28
vitamins and minerals, only 1g sugar, and an unbeatable creamy chocolate taste
with...
14 SEPTEMBER 2022

From lecture hall to library, #Soylent has all the nutrients you need to stay
full and focused all day! With 20 grams of plant-based protein, 28 vitamins and
mi...
06 SEPTEMBER 2022


Plus symbol


LEARN MORE

 * Insights
 * Press
 * Careers
 * Gift Cards
 * Discount Programs
 * Ambassador Program


SUPPORT

 * Contact
 * Find a Store
 * Where's My Order?
 * FAQ


SOCIAL

 * Instagram
 * Tiktok
 * Twitter
 * Reddit
 * Linkedin
 * Facebook

SIGN UP FOR OUR NEWSLETTER AND GET 25% OFF YOUR FIRST ORDER!

Email

SIGN UP
soylent logo
 * Terms & Conditions
 * Privacy Policy
 * Accessibility Statement
 * Do Not Sell My Personal Information
 * Manage Cookies

Copyright © 2023, Soylent

Search




We use cookies to ensure you get the best shopping experience on our website!
Click "Manage My Cookies" to learn more or modify your settings at any time.

Manage My Cookies Accept Cookies



DO NOT SELL MY PERSONAL INFORMATION




 * YOUR PRIVACY


 * STRICTLY NECESSARY COOKIES


 * SALE OF PERSONAL DATA

YOUR PRIVACY

When you visit our website, we store cookies on your browser to collect
information. The information collected might relate to you, your preferences or
your device, and is mostly used to make the site work as you expect it to and to
provide a more personalized web experience. However, you can choose not to allow
certain types of cookies, which may impact your experience of the site and the
services we are able to offer. Click on the different category headings to find
out more and change our default settings according to your preference. You
cannot opt-out of our First Party Strictly Necessary Cookies as they are
deployed in order to ensure the proper functioning of our website (such as
prompting the cookie banner and remembering your settings, to log into your
account, to redirect you when you log out, etc.). For more information about the
First and Third Party Cookies used please follow this link.
More information

STRICTLY NECESSARY COOKIES

Always Active

These cookies are necessary for the website to function and cannot be switched
off in our systems. They are usually only set in response to actions made by you
which amount to a request for services, such as setting your privacy
preferences, logging in or filling in forms. You can set your browser to block
or alert you about these cookies, but some parts of the site will not then work.
These cookies do not store any personally identifiable information.

SALE OF PERSONAL DATA

Sale of Personal Data


Under the California Consumer Privacy Act, you have the right to opt-out of the
sale of your personal information to third parties. These cookies collect
information for analytics and to personalize your experience with targeted ads.
You may exercise your right to opt out of the sale of personal information by
using this toggle switch. If you opt out we will not be able to offer you
personalised ads and will not hand over your personal information to any third
parties. Additionally, you may contact our legal department for further
clarification about your rights as a California consumer by using this Exercise
My Rights link.

If you have enabled privacy controls on your browser (such as a plugin), we have
to take that as a valid request to opt-out. Therefore we would not be able to
track your activity through the web. This may affect our ability to personalize
ads according to your preferences.

 * PERFORMANCE COOKIES
   
   Switch Label label
   
   These cookies allow us to count visits and traffic sources so we can measure
   and improve the performance of our site. They help us to know which pages are
   the most and least popular and see how visitors move around the site. All
   information these cookies collect is aggregated and therefore anonymous. If
   you do not allow these cookies we will not know when you have visited our
   site, and will not be able to monitor its performance.

 * TARGETING COOKIES
   
   Switch Label label
   
   These cookies may be set through our site by our advertising partners. They
   may be used by those companies to build a profile of your interests and show
   you relevant adverts on other sites. They do not store directly personal
   information, but are based on uniquely identifying your browser and internet
   device. If you do not allow these cookies, you will experience less targeted
   advertising.

Back Button


BACK

Filter Button
Consent Leg.Interest
checkbox label label
checkbox label label
checkbox label label

Clear
checkbox label label
Apply Cancel
Confirm My Choices
Allow All



We have a store specifically for Canada customers Go Stay here




YOUR CART



YOUR CART IS EMPTY!

Shop Now



YOU MAY ALSO LIKE

Soylent Cafe Latte Protein Nutrition Shake
Price $45.00
ADD TO CART
Soylent Chocolate Protein + Energy Nutrition Shake
Price $35.00
ADD TO CART
Powered by Rebuy
For subscription orders:
Choosing Route Package Protection means that protection will be added to each
recurring order. Package protection may be cancelled at any time.