$(document).ready(function() {
  var phoneInputID = "input#phone";
  var input = document.querySelector(phoneInputID);
  var iti = window.intlTelInput(input, {
    // allowDropdown: false,
    // autoHideDialCode: false,
    // autoPlaceholder: "off",
    // dropdownContainer: document.body,
    // excludeCountries: ["us"],
    formatOnDisplay: true,
    // geoIpLookup: function(callback) {
    //   $.get("http://ipinfo.io", function() {}, "jsonp").always(function(resp) {
    //     var countryCode = (resp && resp.country) ? resp.country : "";
    //     callback(countryCode);
    //   });
    // },
    hiddenInput: "full_number",
    // initialCountry: "auto",
    // localizedCountries: { 'de': 'Deutschland' },
    // nationalMode: false,
    // onlyCountries: ['us', 'gb', 'ch', 'ca', 'do'],
    // placeholderNumberType: "MOBILE",
    //preferredCountries: ['es'],
    // separateDialCode: true,
  });
  $(phoneInputID).on("countrychange", function(event) {
    // Get the selected country data to know which country is selected.
    var selectedCountryData = iti.getSelectedCountryData();
    // Get an example number for the selected country to use as placeholder.
    newPlaceholder = intlTelInputUtils.getExampleNumber(selectedCountryData.iso2, true, intlTelInputUtils.numberFormat.INTERNATIONAL),
      // Reset the phone number input.
      iti.setNumber("");
    // Convert placeholder as exploitable mask by replacing all 1-9 numbers with 0s
    mask = newPlaceholder.replace(/[1-9]/g, "0");
    // Apply the new mask for the input
    $(this).mask(mask);
  });
  iti.promise.then(function() {
    $(phoneInputID).trigger("countrychange");
  });
});.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 33%;
    float: left;
    clear: none !important;
}