diff --git a/search-script.js b/search-script.js
index 62093eb..05ceaf3 100644
--- a/search-script.js
+++ b/search-script.js
@@ -1,264 +1,212 @@
-
-
+document.addEventListener('DOMContentLoaded', function() {
+ // Define product type keywords and their standardized forms
+ const productTypes = {
+ 'mug': ['mug', 'cup'],
+ 'sticker': ['sticker'],
+ 'shirt': ['shirt', 't-shirt', 'tee'],
+ 'hoodie': ['hoodie', 'jacket'],
+ 'blanket': ['blanket'],
+ // Add more product types and synonyms as needed
+ };
-
+ const MAX_RESULTS = 20; // Limit the number of search results displayed
+ let searchTimeout; // Timeout for delayed search
-
-
-
+});