input[type="submit"].gform_button {

    display: none !important;

}


/* .single_add_to_cart_button{
    display: none;
} */


/* gravity form + WC form css with custom plugin

    Only apply this layout on Desktop screens so it doesn't break mobile */

@media (min-width: 769px) {

  /* Initially hide the cart form to prevent flickering */

  /* form.cart {

        display: none;

    } */



  /* .gform_wrapper.is-custom-form + form.cart,

    .gform_wrapper.is-custom-form ~ form.cart{

        display: none;

    } */



  /* --- LOGIC FOR FINAL STEP ONLY --- */



  /* 1. When JS adds 'is-final-step', make the footer inline */

  .gform_wrapper.is-final-step .gform_page_footer {

    width: auto !important;

    display: inline-block !important;

    border: none !important;

    padding: 0 !important;

    margin: 0 !important;

  }



  /* 2. When JS adds 'is-final-step', show and position the cart form */

  .gform_wrapper.is-final-step + form.cart,

  .gform_wrapper.is-final-step ~ form.cart {

    display: inline-block !important;

    /*margin-top: -5.7% !important;*/

    margin-top: -5% !important;

    margin-left: 11.5% !important;

    vertical-align: middle;

    position: relative;

    z-index: 100;

  }

  

  .single_add_to_cart_button {

      line-height: 1.5rem!important;

  }

  

  .gform_wrapper.gform_legacy_markup_wrapper.is-final-step + form.cart,

  .gform_wrapper.gform_legacy_markup_wrapper.is-final-step ~ form.cart {

      margin-top: -5.7% !important;

  }

  

  .gform_wrapper.gform_legacy_markup_wrapper.is-final-step + form.cart .single_add_to_cart_button,

  .gform_wrapper.gform_legacy_markup_wrapper.is-final-step ~ form.cart .single_add_to_cart_button{

      line-height: 1!important;

  }

  

}



@media (max-width: 768px) {

    .woocommerce form.cart, .woocommerce-page form.cart {

    	margin-top: 1.5rem !important;;

      text-align: center !important;;

    }

    

    .woocommerce div.product form.cart .button {

    	float: unset!important;

    	width: 45% !important;

        padding: 10px;

        font-size: 16px !important;

        line-height: 19px !important;

        min-height: 42px !important;

    }

}



/* Custom menu css --START-- b.kiri*/