<?php $options = kaveh_get_options(); ?>

<?php if (is_product() && $options['kaveh_pr_single_select'] === 'value-1' && $options['kaveh_pr_single_select_fixed_footer'] === '1'): ?>
  <style>
    .nav-bottom {
      display: none !important;
    }

    .addtocart_footer {
      height: 80px;
      z-index: 9;
      padding: 30px;
      box-shadow: rgba(17, 12, 46, 0.2) 0px -48px 100px 0px;
      width: 80%;
      border-radius: 30px 30px 0 0;
      margin: 0 10%;
      background-color: #fff;
    }

    .detsimple form.cart {
      position: fixed;
      bottom: 13px;
      left: 20%;
      z-index: 15;
      margin-bottom: 0 !important;
    }



    .detail-product .woocommerce-variation-add-to-cart {
      position: fixed;
      bottom: 13px;
      left: 20%;
      z-index: 15;
    }



    .detail-product .summary .price {
      position: fixed;
      bottom: 13px;
      right: 20%;
      z-index: 15;
    }


    .detail-product .summary .price .price::before {
      visibility: hidden;
      margin-bottom: -30px;
    }

    @media only screen and (max-width: 767px) {
      .addtocart_footer {
        height: 80px;
        z-index: 9;
        padding: 30px;
        -webkit-box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 50px rgba(0, 0, 0, 0.12);
        width: 100%;
        border-radius: 0;
        margin: 0;
        background-color: #fff;
      }

      .detail-product .woocommerce-variation-add-to-cart {
        position: fixed;
        bottom: 13px;
        left: 2%;
        z-index: 15;
      }



      .detail-product .summary .price {
        position: fixed;
        bottom: 13px;
        right: 2%;
        z-index: 15;
        max-width: 130px;
      }

      .detail-product .woocommerce-variation-add-to-cart::before {
        content: "" !important;
        position: absolute;
        right: -30px;
        top: 7px;
        font-weight: 400;
        font-size: 15px;
      }

      .detail-product .summary .price::before {
        content: "";
        position: absolute;
        right: -45px;
        top: -4px;
        font-weight: 400;
        font-size: 15px;
      }

      .detail-product .summary .woocommerce-Price-amount.amount {
        font-size: 15px !important;
      }

      .detail-product .single_add_to_cart_button.button.alt {
        padding: 15px 15px !important;
        display: inline-block !important;
        font-size: 10px !important;
        margin-right: 0px !important;
      }

      .quantity .input-text.qty.text {
        font-size: 14px !important;
        width: 40px !important;
        height: 40px !important;

      }

      .detsimple form.cart {
        position: fixed;
        bottom: 13px;
        left: 2%;
        z-index: 15;
        margin-bottom: 0 !important;
      }

      .detsimple form.cart::before {
        content: "" !important;
        position: absolute;
        right: -30px;
        top: 7px;
        font-weight: 400;
        font-size: 15px;
      }
    }
  </style>
  <div class="addtocart_footer position-fixed bottom-0 bg-white"></div>
<?php endif; ?>