{
  "name": "dnxte/ajax-search",
  "d4Shortcode": "",
  "title": "Ajax Search",
  "titles": "Ajax Searches",
  "moduleIcon": "dnxte/ajax-search",
  "moduleClassName": "ajax_search",
  "moduleOrderClassName": "ajax_search",
  "category": "module",
  "folder": "divi-essential",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "styleProps": {
        "border": {
          "important": true
        },
        "spacing": {
          "important": true
        }
      },
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "advanced": {
          "link": {
            "priority": 60
          }
        },
        "decoration": {
          "attributes": {},
          "background": {},
          "sizing": {},
          "spacing": {},
          "border": {},
          "boxShadow": {},
          "filters": {},
          "transform": {},
          "animation": {},
          "overflow": {},
          "disabledOn": {},
          "transition": {},
          "position": {},
          "zIndex": {},
          "scroll": {},
          "sticky": {}
        }
      }
    },
    "title": {
      "type": "object",
      "selector": "{{selector}} .ajax_search__title",
      "default": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "headingLevel": "h2"
                }
              }
            }
          }
        }
      },
      "defaultPrintedStyle": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "size": "26px",
                  "lineHeight": "1em",
                  "weight": "500"
                }
              }
            }
          }
        }
      },
      "styleProps": {
        "font": {
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "color": true
                }
              }
            }
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupName": "mainContent",
            "priority": 10,
            "render": true,
            "attrName": "title.innerContent",
            "label": "Title",
            "description": "Input your search module title here.",
            "features": {
              "sticky": false,
              "dynamicContent": false
            },
            "component": {
              "name": "divi/text",
              "type": "field"
            }
          }
        },
        "decoration": {
          "font": {
            "priority": 10,
            "component": {
              "props": {
                "groupLabel": "Title Text",
                "fieldLabel": "Title",
                "fields": {
                  "headingLevel": {
                    "render": false
                  }
                }
              }
            }
          }
        }
      },
      "tagName": "h2",
      "attributes": {
        "class": "ajax_search__title"
      },
      "inlineEditor": "plainText",
      "elementType": "heading",
      "childrenSanitizer": "et_core_esc_previously"
    },
    "searchConfig": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "skin": "dropdown",
              "placeholder": "Search products, articles...",
              "minChars": "3",
              "resultsPerPage": "5",
              "orderBy": "date",
              "searchPosts": "on",
              "searchPages": "on",
              "searchProducts": "on",
              "searchProjects": "off",
              "searchTitle": "on",
              "searchContent": "on",
              "searchExcerpt": "on",
              "searchCategories": "off",
              "searchTags": "off",
              "searchSku": "on",
              "searchMeta": "off"
            }
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-items",
          "items": {
            "skin": {
              "groupSlug": "searchConfiguration",
              "priority": 10,
              "render": true,
              "subName": "skin",
              "label": "Skin",
              "description": "Choose the search skin layout style.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/select",
                "type": "field",
                "props": {
                  "options": {
                    "dropdown": {
                      "label": "Dropdown"
                    },
                    "inline": {
                      "label": "Inline"
                    },
                    "modal": {
                      "label": "Modal"
                    }
                  }
                }
              }
            },
            "placeholder": {
              "groupSlug": "searchConfiguration",
              "priority": 20,
              "render": true,
              "subName": "placeholder",
              "label": "Placeholder Text",
              "description": "Enter the placeholder text for the search input field.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/text",
                "type": "field"
              }
            },
            "minChars": {
              "groupSlug": "searchConfiguration",
              "priority": 30,
              "render": true,
              "subName": "minChars",
              "label": "Minimum Characters",
              "description": "Minimum number of characters before the search is triggered.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/range",
                "type": "field",
                "props": {
                  "min": 1,
                  "max": 5,
                  "step": 1,
                  "allowUnitless": true,
                  "defaultUnit": "",
                  "unitless": true
                }
              }
            },
            "resultsPerPage": {
              "groupSlug": "searchConfiguration",
              "priority": 40,
              "render": true,
              "subName": "resultsPerPage",
              "label": "Results Per Page",
              "description": "Number of search results to display per page.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/range",
                "type": "field",
                "props": {
                  "min": 1,
                  "max": 20,
                  "step": 1,
                  "allowUnitless": true,
                  "defaultUnit": "",
                  "unitless": true
                }
              }
            },
            "orderBy": {
              "groupSlug": "searchConfiguration",
              "priority": 50,
              "render": true,
              "subName": "orderBy",
              "label": "Order By",
              "description": "Choose how search results are ordered.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/select",
                "type": "field",
                "props": {
                  "options": {
                    "date": {
                      "label": "Date"
                    },
                    "title": {
                      "label": "Title"
                    },
                    "random": {
                      "label": "Random"
                    }
                  }
                }
              }
            },
            "searchPosts": {
              "groupSlug": "searchConfiguration",
              "priority": 60,
              "render": true,
              "subName": "searchPosts",
              "label": "Search Posts",
              "description": "Enable to include posts in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "searchPages": {
              "groupSlug": "searchConfiguration",
              "priority": 70,
              "render": true,
              "subName": "searchPages",
              "label": "Search Pages",
              "description": "Enable to include pages in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "searchProducts": {
              "groupSlug": "searchConfiguration",
              "priority": 80,
              "render": true,
              "subName": "searchProducts",
              "label": "Search Products",
              "description": "Enable to include WooCommerce products in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "searchProjects": {
              "groupSlug": "searchConfiguration",
              "priority": 90,
              "render": true,
              "subName": "searchProjects",
              "label": "Search Projects",
              "description": "Enable to include Divi projects in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "searchTitle": {
              "groupSlug": "searchConfiguration",
              "priority": 100,
              "render": true,
              "subName": "searchTitle",
              "label": "Search in Title",
              "description": "Enable to search within post titles.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "searchContent": {
              "groupSlug": "searchConfiguration",
              "priority": 110,
              "render": true,
              "subName": "searchContent",
              "label": "Search in Content",
              "description": "Enable to search within post content.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "searchExcerpt": {
              "groupSlug": "searchConfiguration",
              "priority": 120,
              "render": true,
              "subName": "searchExcerpt",
              "label": "Search in Excerpt",
              "description": "Enable to search within post excerpts.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "searchCategories": {
              "groupSlug": "searchConfiguration",
              "priority": 130,
              "render": true,
              "subName": "searchCategories",
              "label": "Search in Categories",
              "description": "Enable to search within category names.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "searchTags": {
              "groupSlug": "searchConfiguration",
              "priority": 140,
              "render": true,
              "subName": "searchTags",
              "label": "Search in Tags",
              "description": "Enable to search within tag names.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "searchSku": {
              "groupSlug": "searchConfiguration",
              "priority": 85,
              "render": true,
              "subName": "searchSku",
              "label": "Search in SKU",
              "description": "Search within product SKU numbers. Requires Search Products to be enabled.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "searchMeta": {
              "groupSlug": "searchConfiguration",
              "priority": 160,
              "render": true,
              "subName": "searchMeta",
              "label": "Search in Meta",
              "description": "Enable to search within custom meta fields.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            }
          }
        }
      }
    },
    "displayConfig": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "resultLayout": "list",
              "imagePosition": "left",
              "excerptLength": "100",
              "noResultsMsg": "No results found. Try a different search.",
              "paginationStyle": "loadmore",
              "loaderStyle": "spinner",
              "showTitle": "on",
              "showExcerpt": "on",
              "showImage": "on",
              "showCategory": "on",
              "showDate": "off",
              "showAuthor": "off",
              "showSearchIcon": "on",
              "showClear": "on",
              "showLoader": "on",
              "showResultsCount": "on",
              "showSeeAll": "on"
            }
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-items",
          "items": {
            "resultLayout": {
              "groupSlug": "displaySettings",
              "priority": 10,
              "render": true,
              "subName": "resultLayout",
              "label": "Result Layout",
              "description": "Choose the layout style for search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/select",
                "type": "field",
                "props": {
                  "options": {
                    "list": {
                      "label": "List"
                    },
                    "grid": {
                      "label": "Grid"
                    },
                    "masonry": {
                      "label": "Masonry"
                    },
                    "compact": {
                      "label": "Compact"
                    }
                  }
                }
              }
            },
            "imagePosition": {
              "groupSlug": "displaySettings",
              "priority": 20,
              "render": true,
              "subName": "imagePosition",
              "label": "Image Position",
              "description": "Choose the position of the featured image in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/select",
                "type": "field",
                "props": {
                  "options": {
                    "left": {
                      "label": "Left"
                    },
                    "right": {
                      "label": "Right"
                    },
                    "top": {
                      "label": "Top"
                    },
                    "hidden": {
                      "label": "Hidden"
                    }
                  }
                }
              }
            },
            "excerptLength": {
              "groupSlug": "displaySettings",
              "priority": 30,
              "render": true,
              "subName": "excerptLength",
              "label": "Excerpt Length",
              "description": "Set the maximum number of characters for the result excerpt.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/range",
                "type": "field",
                "props": {
                  "min": 20,
                  "max": 200,
                  "step": 10,
                  "allowUnitless": true,
                  "defaultUnit": "",
                  "unitless": true
                }
              }
            },
            "noResultsMsg": {
              "groupSlug": "displaySettings",
              "priority": 40,
              "render": true,
              "subName": "noResultsMsg",
              "label": "No Results Message",
              "description": "Enter the message to display when no search results are found.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/text",
                "type": "field"
              }
            },
            "paginationStyle": {
              "groupSlug": "displaySettings",
              "priority": 50,
              "render": true,
              "subName": "paginationStyle",
              "label": "Pagination Style",
              "description": "Choose the pagination style for search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/select",
                "type": "field",
                "props": {
                  "options": {
                    "numbered": {
                      "label": "Numbered"
                    },
                    "prevnext": {
                      "label": "Previous / Next"
                    },
                    "loadmore": {
                      "label": "Load More"
                    },
                    "infinite": {
                      "label": "Infinite Scroll"
                    },
                    "none": {
                      "label": "None"
                    }
                  }
                }
              }
            },
            "loaderStyle": {
              "groupSlug": "displaySettings",
              "priority": 60,
              "render": true,
              "subName": "loaderStyle",
              "label": "Loader Style",
              "description": "Choose the loading animation style.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/select",
                "type": "field",
                "props": {
                  "options": {
                    "spinner": {
                      "label": "Spinner"
                    },
                    "dots": {
                      "label": "Dots"
                    },
                    "bar": {
                      "label": "Bar"
                    },
                    "skeleton": {
                      "label": "Skeleton"
                    }
                  }
                }
              }
            },
            "showTitle": {
              "groupSlug": "displaySettings",
              "priority": 70,
              "render": true,
              "subName": "showTitle",
              "label": "Show Title",
              "description": "Enable to display the post title in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showExcerpt": {
              "groupSlug": "displaySettings",
              "priority": 80,
              "render": true,
              "subName": "showExcerpt",
              "label": "Show Excerpt",
              "description": "Enable to display the post excerpt in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showImage": {
              "groupSlug": "displaySettings",
              "priority": 90,
              "render": true,
              "subName": "showImage",
              "label": "Show Image",
              "description": "Enable to display the featured image in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showCategory": {
              "groupSlug": "displaySettings",
              "priority": 100,
              "render": true,
              "subName": "showCategory",
              "label": "Show Category",
              "description": "Enable to display the post category in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showDate": {
              "groupSlug": "displaySettings",
              "priority": 110,
              "render": true,
              "subName": "showDate",
              "label": "Show Date",
              "description": "Enable to display the post date in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showAuthor": {
              "groupSlug": "displaySettings",
              "priority": 120,
              "render": true,
              "subName": "showAuthor",
              "label": "Show Author",
              "description": "Enable to display the post author in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showSearchIcon": {
              "groupSlug": "displaySettings",
              "priority": 130,
              "render": true,
              "subName": "showSearchIcon",
              "label": "Show Search Icon",
              "description": "Enable to display the search icon in the search bar.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showClear": {
              "groupSlug": "displaySettings",
              "priority": 140,
              "render": true,
              "subName": "showClear",
              "label": "Show Clear Button",
              "description": "Enable to display the clear button in the search bar.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showLoader": {
              "groupSlug": "displaySettings",
              "priority": 150,
              "render": true,
              "subName": "showLoader",
              "label": "Show Loader",
              "description": "Enable to display the loading animation during search.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showResultsCount": {
              "groupSlug": "displaySettings",
              "priority": 160,
              "render": true,
              "subName": "showResultsCount",
              "label": "Show Results Count",
              "description": "Enable to display the total number of results found.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showSeeAll": {
              "groupSlug": "displaySettings",
              "priority": 170,
              "render": true,
              "subName": "showSeeAll",
              "label": "Show See All Link",
              "description": "Enable to display a link to view all search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            }
          }
        }
      }
    },
    "smartSearch": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "showSuggested": "on",
              "showRecent": "on",
              "autoCorrect": "off",
              "voiceSearch": "on",
              "categoryFilter": "on",
              "recentSearches": "page builder|theme options|contact form"
            }
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-items",
          "items": {
            "showSuggested": {
              "groupSlug": "smartSearchSettings",
              "priority": 10,
              "render": true,
              "subName": "showSuggested",
              "label": "Show Suggested Searches",
              "description": "Enable to display suggested search terms.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showRecent": {
              "groupSlug": "smartSearchSettings",
              "priority": 20,
              "render": true,
              "subName": "showRecent",
              "label": "Show Recent Searches",
              "description": "Enable to display recent search terms.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "autoCorrect": {
              "groupSlug": "smartSearchSettings",
              "priority": 30,
              "render": true,
              "subName": "autoCorrect",
              "label": "Auto Correct",
              "description": "Enable to automatically correct misspelled search terms.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "voiceSearch": {
              "groupSlug": "smartSearchSettings",
              "priority": 40,
              "render": true,
              "subName": "voiceSearch",
              "label": "Voice Search",
              "description": "Enable to display the voice search microphone icon.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "categoryFilter": {
              "groupSlug": "smartSearchSettings",
              "priority": 60,
              "render": true,
              "subName": "categoryFilter",
              "label": "Category Filter",
              "description": "Enable to display category filter tabs in the search panel.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "recentSearches": {
              "groupSlug": "smartSearchSettings",
              "priority": 90,
              "render": true,
              "subName": "recentSearches",
              "label": "Recent Searches",
              "description": "Separate items with | (pipe). E.g. page builder|theme options|contact form",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/text",
                "type": "field"
              }
            }
          }
        }
      }
    },
    "searchCategories": {
      "type": "object",
      "default": {
        "advanced": {
          "categories": {
            "desktop": {
              "value": []
            }
          }
        }
      },
      "settings": {
        "advanced": {
          "categories": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "smartSearchSettings",
              "attrName": "searchCategories.advanced.categories",
              "label": "Categories",
              "description": "Select the categories to display as filter tabs in the search panel.",
              "priority": 70,
              "render": true,
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "component": {
                "name": "divi/checkboxes",
                "type": "field",
                "props": {
                  "options": [
                    {
                      "value": "all",
                      "label": "All"
                    },
                    {
                      "value": "products",
                      "label": "Products"
                    },
                    {
                      "value": "articles",
                      "label": "Articles"
                    },
                    {
                      "value": "pages",
                      "label": "Pages"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "searchSuggestions": {
      "type": "object",
      "default": {
        "advanced": {
          "suggestions": {
            "desktop": {
              "value": []
            }
          }
        }
      },
      "settings": {
        "advanced": {
          "suggestions": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "smartSearchSettings",
              "attrName": "searchSuggestions.advanced.suggestions",
              "label": "Suggested Searches",
              "description": "Select the suggested search terms to display.",
              "priority": 80,
              "render": true,
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "component": {
                "name": "divi/checkboxes",
                "type": "field",
                "props": {
                  "options": [
                    {
                      "value": "new_arrivals",
                      "label": "New Arrivals"
                    },
                    {
                      "value": "best_sellers",
                      "label": "Best Sellers"
                    },
                    {
                      "value": "on_sale",
                      "label": "On Sale"
                    },
                    {
                      "value": "tutorials",
                      "label": "Tutorials"
                    },
                    {
                      "value": "documentation",
                      "label": "Documentation"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "wooConfig": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "showPrice": "on",
              "showRating": "on",
              "showSaleBadge": "on",
              "showAddToCart": "off"
            }
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-items",
          "items": {
            "showPrice": {
              "groupSlug": "wooCommerceSettings",
              "priority": 10,
              "render": true,
              "subName": "showPrice",
              "label": "Show Price",
              "description": "Enable to display the product price in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showRating": {
              "groupSlug": "wooCommerceSettings",
              "priority": 20,
              "render": true,
              "subName": "showRating",
              "label": "Show Rating",
              "description": "Enable to display the product star rating in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showSaleBadge": {
              "groupSlug": "wooCommerceSettings",
              "priority": 30,
              "render": true,
              "subName": "showSaleBadge",
              "label": "Show Sale Badge",
              "description": "Enable to display the sale badge on discounted products.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            },
            "showAddToCart": {
              "groupSlug": "wooCommerceSettings",
              "priority": 40,
              "render": true,
              "subName": "showAddToCart",
              "label": "Show Add to Cart",
              "description": "Enable to display the add to cart button in search results.",
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": false
              },
              "component": {
                "name": "divi/toggle",
                "type": "field"
              }
            }
          }
        }
      }
    },
    "searchInputDesign": {
      "type": "object",
      "selector": "{{selector}} .ajax_search__search-bar",
      "default": {
        "advanced": {
          "inputBg": {
            "desktop": {
              "value": "#ffffff"
            }
          },
          "inputTextColor": {
            "desktop": {
              "value": "#374151"
            }
          },
          "placeholderColor": {
            "desktop": {
              "value": "#9ca3af"
            }
          },
          "inputBorderColor": {
            "desktop": {
              "value": "#e2e8f0"
            }
          },
          "inputBorderRadius": {
            "desktop": {
              "value": "50px"
            }
          },
          "inputHeight": {
            "desktop": {
              "value": "48px"
            }
          },
          "inputFontSize": {
            "desktop": {
              "value": "14px"
            }
          },
          "iconColor": {
            "desktop": {
              "value": "#9ca3af"
            }
          },
          "focusRingColor": {
            "desktop": {
              "value": "#7a5af8"
            }
          }
        }
      },
      "settings": {
        "advanced": {
          "inputBg": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSearchInput",
              "label": "Background",
              "description": "Background color of the search input bar.",
              "render": true,
              "priority": 10,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "inputTextColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSearchInput",
              "label": "Text Color",
              "description": "Color of the search input text.",
              "render": true,
              "priority": 20,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "placeholderColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSearchInput",
              "label": "Placeholder Color",
              "description": "Color of the placeholder text in the search input.",
              "render": true,
              "priority": 25,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "inputBorderColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSearchInput",
              "label": "Border Color",
              "description": "Border color of the search input bar.",
              "render": true,
              "priority": 30,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "inputBorderRadius": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSearchInput",
              "label": "Border Radius",
              "description": "Border radius of the search input bar.",
              "render": true,
              "priority": 40,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 50,
                  "allowedUnits": [
                    "px",
                    "%"
                  ]
                }
              }
            }
          },
          "inputHeight": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSearchInput",
              "label": "Height",
              "description": "Height of the search input bar.",
              "render": true,
              "priority": 50,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 36,
                  "max": 72,
                  "allowedUnits": [
                    "px"
                  ]
                }
              }
            }
          },
          "inputFontSize": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSearchInput",
              "label": "Font Size",
              "description": "Font size of the search input text.",
              "render": true,
              "priority": 60,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 12,
                  "max": 24,
                  "allowedUnits": [
                    "px",
                    "em",
                    "rem"
                  ]
                }
              }
            }
          },
          "iconColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSearchInput",
              "label": "Icon Color",
              "description": "Color of the search icon.",
              "render": true,
              "priority": 70,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "focusRingColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSearchInput",
              "label": "Focus Ring",
              "description": "Color of the focus ring when the search bar is active.",
              "render": true,
              "priority": 80,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          }
        }
      }
    },
    "resultsContainerDesign": {
      "type": "object",
      "selector": "{{selector}} .ajax_search__dropdown-panel",
      "default": {
        "advanced": {
          "resultsBg": {
            "desktop": {
              "value": "#ffffff"
            }
          },
          "resultsBorderRadius": {
            "desktop": {
              "value": "16px"
            }
          },
          "resultsShadow": {
            "desktop": {
              "value": "12px"
            }
          },
          "resultsAnimation": {
            "desktop": {
              "value": "fadeIn"
            }
          }
        }
      },
      "settings": {
        "advanced": {
          "resultsBg": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultsContainer",
              "label": "Background",
              "description": "Background color of the results dropdown panel.",
              "render": true,
              "priority": 10,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "resultsBorderRadius": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultsContainer",
              "label": "Border Radius",
              "description": "Border radius of the results dropdown panel.",
              "render": true,
              "priority": 20,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 24,
                  "allowedUnits": [
                    "px"
                  ]
                }
              }
            }
          },
          "resultsShadow": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultsContainer",
              "label": "Shadow Depth",
              "description": "Shadow blur radius for the results dropdown panel.",
              "render": true,
              "priority": 30,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 60,
                  "allowedUnits": [
                    "px"
                  ]
                }
              }
            }
          },
          "resultsAnimation": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultsContainer",
              "label": "Animation",
              "description": "Animation style when the results panel opens.",
              "render": true,
              "priority": 40,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "fadeIn": {
                      "label": "Fade In"
                    },
                    "slideDown": {
                      "label": "Slide Down"
                    },
                    "scaleUp": {
                      "label": "Scale Up"
                    },
                    "none": {
                      "label": "None"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "resultItemsDesign": {
      "type": "object",
      "selector": "{{selector}} .ajax_search__recent-item, {{selector}} .ajax_search__result-item",
      "default": {
        "advanced": {
          "itemBg": {
            "desktop": {
              "value": "#ffffff"
            }
          },
          "itemHoverBg": {
            "desktop": {
              "value": "#f9fafb"
            }
          },
          "titleColor": {
            "desktop": {
              "value": "#374151"
            }
          },
          "titleSize": {
            "desktop": {
              "value": "14px"
            }
          },
          "excerptColor": {
            "desktop": {
              "value": "#6b7280"
            }
          },
          "priceColor": {
            "desktop": {
              "value": "#7a5af8"
            }
          },
          "catBadgeBg": {},
          "catBadgeColor": {},
          "imageRadius": {
            "desktop": {
              "value": "8px"
            }
          },
          "itemPadding": {
            "desktop": {
              "value": "10px"
            }
          },
          "itemGap": {
            "desktop": {
              "value": "0px"
            }
          },
          "hoverTransform": {
            "desktop": {
              "value": "none"
            }
          }
        }
      },
      "settings": {
        "advanced": {
          "itemBg": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Item Background",
              "description": "Background color of result items.",
              "render": true,
              "priority": 10,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "itemHoverBg": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Hover Background",
              "description": "Background color of result items on hover.",
              "render": true,
              "priority": 20,
              "features": {
                "sticky": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "titleColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Title Color",
              "description": "Color of result item titles.",
              "render": true,
              "priority": 30,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "titleSize": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Title Size",
              "description": "Font size of result item titles.",
              "render": true,
              "priority": 40,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 12,
                  "max": 22,
                  "allowedUnits": [
                    "px",
                    "em",
                    "rem"
                  ]
                }
              }
            }
          },
          "excerptColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Excerpt Color",
              "description": "Color of result item excerpts.",
              "render": true,
              "priority": 50,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "priceColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Price Color",
              "description": "Color of product prices in results.",
              "render": true,
              "priority": 60,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "catBadgeBg": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Badge Background",
              "description": "Background color of category badges.",
              "render": true,
              "priority": 70,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "catBadgeColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Badge Color",
              "description": "Text color of category badges.",
              "render": true,
              "priority": 80,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "imageRadius": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Image Radius",
              "description": "Border radius of result item images.",
              "render": true,
              "priority": 90,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 20,
                  "allowedUnits": [
                    "px",
                    "%"
                  ]
                }
              }
            }
          },
          "itemPadding": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Item Padding",
              "description": "Internal padding of result items.",
              "render": true,
              "priority": 100,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 4,
                  "max": 24,
                  "allowedUnits": [
                    "px",
                    "em"
                  ]
                }
              }
            }
          },
          "itemGap": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Item Gap",
              "description": "Spacing between result items.",
              "render": true,
              "priority": 110,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 12,
                  "allowedUnits": [
                    "px"
                  ]
                }
              }
            }
          },
          "hoverTransform": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designResultItems",
              "label": "Hover Transform",
              "description": "Transform effect applied to result items on hover.",
              "render": true,
              "priority": 120,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "none": {
                      "label": "None"
                    },
                    "lift": {
                      "label": "Lift (translateY)"
                    },
                    "scale": {
                      "label": "Scale Up"
                    },
                    "glow": {
                      "label": "Glow Shadow"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "paginationDesign": {
      "type": "object",
      "selector": "{{selector}} .ajax_search__pagination",
      "default": {
        "advanced": {
          "btnBg": {
            "desktop": {
              "value": "#f3f4f6"
            }
          },
          "btnColor": {
            "desktop": {
              "value": "#374151"
            }
          },
          "btnHoverBg": {
            "desktop": {
              "value": "#e5e7eb"
            }
          },
          "btnBorderColor": {
            "desktop": {
              "value": "#e5e7eb"
            }
          },
          "btnRadius": {
            "desktop": {
              "value": "8px"
            }
          },
          "btnFontSize": {
            "desktop": {
              "value": "14px"
            }
          }
        }
      },
      "settings": {
        "advanced": {
          "btnBg": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designPagination",
              "label": "Button Background",
              "render": true,
              "priority": 10,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "btnColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designPagination",
              "label": "Button Text Color",
              "render": true,
              "priority": 20,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "btnHoverBg": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designPagination",
              "label": "Button Hover Background",
              "render": true,
              "priority": 30,
              "features": {
                "sticky": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "btnBorderColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designPagination",
              "label": "Button Border Color",
              "render": true,
              "priority": 40,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          },
          "btnRadius": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designPagination",
              "label": "Button Border Radius",
              "render": true,
              "priority": 50,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 30,
                  "allowedUnits": [
                    "px"
                  ]
                }
              }
            }
          },
          "btnFontSize": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designPagination",
              "label": "Button Font Size",
              "render": true,
              "priority": 60,
              "features": {
                "sticky": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 10,
                  "max": 22,
                  "allowedUnits": [
                    "px"
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "searchBar": {
      "subName": "searchBar",
      "selectorSuffix": " .ajax_search__search-bar",
      "label": "Search Bar"
    },
    "searchInput": {
      "subName": "searchInput",
      "selectorSuffix": " .ajax_search__input",
      "label": "Search Input"
    },
    "categoryDropdown": {
      "subName": "categoryDropdown",
      "selectorSuffix": " .ajax_search__category-dropdown",
      "label": "Category Dropdown"
    },
    "dropdownPanel": {
      "subName": "dropdownPanel",
      "selectorSuffix": " .ajax_search__dropdown-panel",
      "label": "Dropdown Panel"
    },
    "suggestedTag": {
      "subName": "suggestedTag",
      "selectorSuffix": " .ajax_search__tag",
      "label": "Suggested Tag"
    },
    "recentItem": {
      "subName": "recentItem",
      "selectorSuffix": " .ajax_search__recent-item",
      "label": "Recent Item"
    },
    "title": {
      "subName": "title",
      "selectorSuffix": " .ajax_search__title",
      "label": "Title"
    }
  },
  "settings": {
    "content": "auto",
    "design": "auto",
    "advanced": "auto",
    "groups": {
      "mainContent": {
        "panel": "content",
        "priority": 10,
        "groupName": "mainContent",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Content"
          }
        }
      },
      "searchConfiguration": {
        "panel": "content",
        "priority": 20,
        "groupName": "searchConfiguration",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Search Configuration"
          }
        }
      },
      "displaySettings": {
        "panel": "content",
        "priority": 30,
        "groupName": "displaySettings",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Display Settings"
          }
        }
      },
      "smartSearchSettings": {
        "panel": "content",
        "priority": 40,
        "groupName": "smartSearchSettings",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Smart Search"
          }
        }
      },
      "wooCommerceSettings": {
        "panel": "content",
        "priority": 50,
        "groupName": "wooCommerceSettings",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "WooCommerce"
          }
        }
      },
      "designSearchInput": {
        "panel": "design",
        "priority": 10,
        "groupName": "designSearchInput",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Search Input"
          }
        }
      },
      "designResultsContainer": {
        "panel": "design",
        "priority": 20,
        "groupName": "designResultsContainer",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Results Container"
          }
        }
      },
      "designResultItems": {
        "panel": "design",
        "priority": 30,
        "groupName": "designResultItems",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Result Items"
          }
        }
      },
      "designPagination": {
        "panel": "design",
        "priority": 35,
        "groupName": "designPagination",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Pagination Button"
          }
        }
      }
    }
  }
}