forked from dohinaf/basic-icecream-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1813 lines (1549 loc) · 68.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!--Artic delights-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE-edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ArcticDelights</title>
<link rel="stylesheet" href="preloaderStyle.css">
<link rel="icon" href="https://purepng.com/public/uploads/large/purepng.com-ice-creamice-creamcreamfrozensweet-1411527617895aiuhx.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"> <!--Updated to latest version-->
<!-- Custom CSS -->
<link rel="stylesheet" href="style.css">
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
<style>
.chatbot-container {
position: fixed;
bottom: 20px; /* Adjust the distance from the bottom */
right: 20px; /* Adjust the distance from the right */
z-index: 1000; /* Ensure it's above other elements */
}
.chatbot-button {
background-color: #007bff; /* Button color */
border: none;
border-radius: 50%; /* Makes the button circular */
padding: 10px;
cursor: pointer;
transition: transform 0.3s; /* Animation for hover */
position: relative; /* Required for the tooltip */
}
.chatbot-button:hover {
transform: scale(1.1); /* Scale up on hover */
}
.tooltip-text {
display: none;
position: absolute;
bottom: 60px; /* Position the tooltip above the button */
right: 0;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 5px;
border-radius: 5px;
white-space: nowrap;
z-index: 1001; /* Ensure tooltip is above other elements */
}
.chatbot-button:hover .tooltip-text {
display: block; /* Show tooltip on hover */
}
</style>
<style>
/* Styling for the pop-up Discount */
.popup {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
z-index: 1000;
}
.popup-content {
display: flex;
background-color: white;
border-radius: 10px;
width: 1000px;
height: 400px;
overflow: hidden;
position: relative;
}
.popup-left img {
width: 100%;
height: 100%;
object-fit: cover;
}
.popup-right {
padding-left: 20px;
padding-top: 30px;
width: 35%;
position: relative;
}
.close-btn {
position: absolute;
top: 10px;
right: 10px;
font-size: 30px;
cursor: pointer;
}
h2 {
font-size: 24px;
margin-bottom: 10px;
}
h3{
font-weight: 700;
}
p {
margin-bottom: 30px;
font-size: small;
}
input[type="name"] {
width: 95%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 14px;
margin-bottom: 10px;
}
input[type="email"] {
width: 95%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 14px;
margin-bottom: 10px;
}
input[type="password"] {
width: 95%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 14px;
margin-bottom: 0px;
}
.signup-btn {
width: 100%;
padding: 8px;
background-color: black;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
.signup-btn:hover {
background-color: #00ff15;
}
.no-thanks {
display: block;
margin-top: 10px;
text-align: center;
color: #1173f3;
text-decoration: none;
font-size: small;
}
.terms {
margin-top: 10px;
font-size: 12px;
text-align: center;
color: #aaa;
}
.terms a {
color: #888;
text-decoration: underline;
}
/* Main content styling */
.content {
text-align: center;
margin-top: 50px;
}
.pass-btn{
width: 100%;
padding: 10px;
margin-bottom: 15px;
background-color: var(--background-color);
border: 1px solid var(--main-color);
border-radius: 5px;
color: #000000;
}
.sign-btn{
width: 100%;
background-color: #fb285d;
border: none;
color: white;
font-size: 16px;
height: 40px;
}
.plus-minus{
background-color: #fff8e7;
border: 0.5px solid #c69861;
color: #d3ad7f;
width: fit-content;
transition: background-color 0.3s ease, color 0.3s ease,
border-color 0.3s ease;
}
</style>
<style>
/* Circle styles */
.circle {
height: 24px;
width: 24px;
border-radius: 24px;
background-color: black;
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999999;
/* Stays on top of all elements */
}
</style>
<style>
.social-icons a {
text-decoration: none;
color: #333; /* Default color for icons */
font-size: 26px;
transition: color 0.2s ease-in-out; /* Faster and sharper transition */
}
.social-icons a:hover .fa-linkedin {
color: #0A66C2; /* Brighter LinkedIn blue */
}
.social-icons a:hover .fa-facebook {
color: #1877F2; /* Brighter Facebook blue */
}
.social-icons a:hover .fa-x-twitter {
color: #1DA1F2; /* Bright X (Twitter) blue */
}
.social-icons a:hover .fa-instagram {
color: #E4405F; /* Brighter Instagram pink */
}
.social-icons a:hover .fa-pinterest {
color: #E60023; /* Brighter Pinterest red */
}
</style>
</head>
<body>
<!-- preloader -->
<div id="preloader">
<div class="wrapper">
<div class="box-wrap">
<div class="box one"></div>
<div class="box two"></div>
<div class="box three"></div>
<div class="box four"></div>
<div class="box five"></div>
<div class="box six"></div>
</div>
</div>
</div>
<!-- Circles -->
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<button id="backToTop" style="font-size: 30px; font-weight: bold;">⇡</button>
<!-- Header Starts Here -->
<header class="header">
<a href="#" class="logo">
<img src="https://purepng.com/public/uploads/large/purepng.com-ice-creamice-creamcreamfrozensweet-1411527617895aiuhx.png"
alt="Logo">
</a>
<!-- Toggle Button (Hamburger) -->
<div class="menu-btn" id="menu-btn">
<span class="fas fa-bars"></span>
</div>
<h1 class="site-title">ArcticDelights</h1>
<nav class="navbar">
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#menu">Menu</a>
<a href="offers.html">Offers</a>
<a href="#review-section">Review</a>
<a href="blog.html">Blogs</a>
<a href="contact.html">Contact Us</a>
<a href="privacy.html">Privacy Policy</a>
<a href="#" id="my-order-btn">My Orders</a>
</nav>
<div class="icons">
<div class = "fas fa-heart" id = "wishlist-btn"></div>
<div class="fas fa-search" id="search-btn"></div>
<a href="/cart.html">
<div class="fas fa-shopping-cart" id="cart-btn">
<span id="cart-count">(0)</span></div>
</a>
</div>
<div class="theme-switch-wrapper">
<label class="theme-switch" for="checkbox">
<input type="checkbox" id="checkbox">
<div class="slider"></div>
</label>
<span id="mode-label">Light Mode</span>
</div>
<div class="search-form">
<input type="search" id="search-box" placeholder="Search...">
<label for="search-box" class="fas fa-search"></label>
</div>
<div class="wishlist-container">
<ul id="wishlistItems"></ul>
<button class="clear-from-wishlist-btn" onclick="clearWishlist()">Clear Wishlist</button>
</div>
<!-- <div class="cart-items-container">
<div class="cart">
<ul id="cartItems">
Cart items will be displayed here
</ul>
<h3>
<div id="total">Total:$0.00
</div>
</h3>
</div>
</div> -->
<div class="my-order-container">
<h2>My Order</h2>
<div id="order-details">
<!-- Order details will be displayed here -->
</div>
<div class="order-actions">
<button onclick="trackOrder()">Track Order</button>
<button onclick="editOrder()">Edit Order</button>
</div>
</div>
<div class="icons login-signup-collection">
<!--
<button style="max-height: 40px;" id="login-btn" class="auth-btn">Login</button>
<p style="padding-right: 10px;"> </p>
<button style="max-height: 40px;" id="signup-btn" class="auth-btn">SignUp</button> -->
<button style="max-height: 40px;" id="login-btn" class="auth-btn"><a href="./login/login.html">Login</a></button>
<button style="max-height: 40px;" id="login-btn" class="auth-btn"><a href="./signup/signup.html">signUp</a></button>
</div>
</header>
<!-- Header Ends Here -->
<!-- preloader styling js -->
<script src="preloader.js"></script>
<!-- Home Section Starts Here -->
<br><br><br><br><br><br><section class="home" id="home" data-aos="fade-up"
data-aos-anchor-placement="top-bottom">
<div class="content">
<h3>Taste the sweetness with every bite</h3>
<p>Amazing ice creams delivered straight to you! Enjoy our fresh and chilled delights, made with love.</p>
<button class="animated-button"><a href="#menu"><span>Get yours now!</span></a></button>
</div>
</section>
<!-- Home Section Ends Here -->
<!-- Pop-up for Discount and Sign up Starts here -->
<div id="popup" class="popup">
<div class="popup-content">
<div class="popup-left">
<img src="OFFER1.png" alt="Discount Image">
</div>
<div class="popup-right">
<span class="close-btn">×</span>
<h2>Scoop Up the Savings!</h2>
<p>Get 20% off on your first order when you Sign up.</p>
<form id="emailForm">
<input type="name" id="name" placeholder="Enter your Name">
<input type="email" id="email" placeholder="Enter your Email" required>
<input type="password" id="password" placeholder="Enter your Password" required>
<button type="submit" class="signup-btn">SIGN UP</button>
</form>
<a href="#" class="no-thanks">No thanks</a>
<p class="terms">By signing up, you agree to our <a href="#">Terms of Service</a> and <a href="#">Privacy Policy</a>.</p>
</div>
</div>
</div>
<script>
// Handle form submission for the pop-up sign-up form
document.getElementById('emailForm').addEventListener('submit', function(event) {
event.preventDefault(); // Prevent default form submission
// Perform any sign-up logic here, such as email validation or server requests
// Redirect to profile.html after sign-up
window.location.href = 'profile.html'; // Redirect user to the profile page
});
</script>
<!-- Pop-up for Discount and Sign up Ends here -->
<!-- Toast notification container -->
<div id="toast" class="toast-notification"></div>
<!-- Script for pop up discount Starts Here -->
<script>
// Get the toggle button, the navbar (menu), and all the navbar links
const toggleBtn = document.querySelector('#menu-btn');
const navbar = document.querySelector('.navbar');
const navbarLinks = document.querySelectorAll('.navbar a');
// Function to toggle the navbar
toggleBtn.addEventListener('click', () => {
navbar.classList.toggle('active');
});
// Function to close the navbar when a link inside it is clicked
navbarLinks.forEach(link => {
link.addEventListener('click', () => {
navbar.classList.remove('active');
});
});
// Function to close the navbar when clicking outside it
document.addEventListener('click', function (event) {
if (!navbar.contains(event.target) && !toggleBtn.contains(event.target)) {
navbar.classList.remove('active');
}
});
// Show the pop-up automatically when the page loads
window.onload = function() {
document.getElementById('popup').style.display = 'flex';
};
<!-- CSS for toast notification -->
<style>
.toast-notification {
visibility: hidden;
min-width: 250px;
margin-left: -125px;
background-color: #333;
color: #fff;
text-align: center;
border-radius: 2px;
padding: 16px;
position: fixed;
z-index: 1;
left: 50%;
bottom: 30px;
font-size: 17px;
}
.toast-notification.show {
visibility: visible;
-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein {
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
}
@keyframes fadein {
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
}
@-webkit-keyframes fadeout {
from {bottom: 30px; opacity: 1;}
to {bottom: 0; opacity: 0;}
}
@keyframes fadeout {
from {bottom: 30px; opacity: 1;}
to {bottom: 0; opacity: 0;}
}
</style>
<!-- Script for pop up discount -->
<script>
// Show the pop-up automatically when the page loads
window.onload = function() {
document.getElementById('popup').style.display = 'flex';
};
// Close the pop-up when the user clicks the close button
document.querySelector('.close-btn').addEventListener('click', function() {
document.getElementById('popup').style.display = 'none';
});
// Function to show toast notification
function showToast(message) {
var toast = document.getElementById("toast");
toast.className = "toast-notification show";
toast.textContent = message;
setTimeout(function(){ toast.className = toast.className.replace("show", ""); }, 3000);
}
// Handle form submission
document.getElementById('emailForm').addEventListener('submit', function(event) {
event.preventDefault();
const email = document.getElementById('email').value;
if (email) {
showToast(`Thank you! A 20% discount code has been sent to ${email}`);
document.getElementById('popup').style.display = 'none';
}
});
// Handle "No thanks" link
document.querySelector('.no-thanks').addEventListener('click', function(event) {
event.preventDefault();
document.getElementById('popup').style.display = 'none';
});
</script>
<!-- Script for pop up discount ends Here -->
<!-- About Section Starts Here -->
<!-- About Section Starts Here -->
<section class="about" id="about">
<h1 class="heading" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200" data-aos-anchor-placement="top-bottom">
<span style="color: orangered;">about</span> us
</h1>
<div class="row" style="display: flex; align-items: center; justify-content: center;">
<div class="image" style="margin-right: 30px;">
<img src="ice cream.jpg" alt="ice cream" style="width: 500px; height: auto;" data-aos="fade-right" data-aos-duration="1200" data-aos-delay="200" data-aos-anchor-placement="top-bottom">
</div>
<div class="content" style="text-align: left;" data-aos-anchor-placement="top-bottom">
<h3 data-aos="fade-left" data-aos-duration="1200" data-aos-delay="200">What Makes Our Ice Cream Special?</h3>
<p data-aos="fade-left" data-aos-duration="1200" data-aos-delay="200">
At Arctic Delights, we believe that every scoop of ice cream should be a masterpiece. We handpick the finest, sustainably sourced ingredients to craft flavors that not only cool you down but also take your taste buds on an unforgettable journey. Whether you crave something classic or adventurous, we offer a wide range of flavors designed to surprise and delight.
</p>
<p data-aos="fade-left" data-aos-duration="1200" data-aos-delay="200">
Customize your perfect treat with our signature toppings, sauces, and add-ons to create a unique dessert experience tailored just for you. At Arctic Delights, we’re not just about ice cream—we’re about crafting moments of joy in every bite!
</p>
<!-- Hidden section to reveal on button click -->
<div id="moreContent" style="display: none;" data-aos="fade-up" data-aos-anchor-placement="top-bottom">
<p>
Our ice creams are made using traditional methods, ensuring each batch is churned to perfection. From locally sourced dairy to organic fruits, nuts, and chocolates, we are committed to sustainability and exceptional taste. We also offer dairy-free and vegan options to cater to every lifestyle and preference.
</p>
<p>
Whether you're enjoying a scoop in-store or ordering our handcrafted pints to your home, Arctic Delights promises the best quality and an unforgettable experience with every bite.
</p>
</div>
<a href="#" class="btn" id="learnMoreBtn" style="display: inline-block; padding: 15px 30px; font-size: 18px; color: #FFFFFF; background-color: #002855; border: 2px solid #FF00FF; border-radius: 10px; text-decoration: none; margin-top: 20px;">
Learn More <i class="fas fa-arrow-right"></i>
</a>
</div>
</div>
</section>
<!-- Login Modal -->
<div id="login-modal" class="modal login-container">
<div class="login-card">
<div class="login-image">
<img src="https://static.vecteezy.com/system/resources/thumbnails/044/570/761/small_2x/assortment-of-colorful-ice-cream-scoops-in-waffle-cones-with-fresh-fruits-on-a-transparent-background-png.png" alt="Ice Cream" />
</div>
<div class="modal-content login-form">
<span class="close-btn" id="close-login">×</span>
<h2>Login to Your Account</h2>
<form>
<h3>Email :-</h3>
<br>
<input type="email" placeholder="Email" required>
<h3>Password :-</h3>
<br>
<input type="password" placeholder="Password" required class="inputFields">
<button type="submit">Login</button>
<p>Don't have an account? <a href="#sign-modal">Sign up</a></p>
</form>
</div>
</div>
</div>
<!-- Signup Modal -->
<div id="signup-modal" class="modal">
<div class="modal-content">
<span class="close-btn" id="close-signup">×</span>
<h2>Sign Up</h2>
<form id="signup-form">
<input type="text" placeholder="Full Name" required>
<input type="email" placeholder="Email" required>
<input type="password" class="pass-btn" placeholder="Password" required>
<button type="submit" class="sign-btn">Sign Up</button>
</form>
</div>
</div>
<script>
document.getElementById('signup-form').addEventListener('submit', function(event) {
event.preventDefault(); // Prevent default form submission
// Perform validation or backend signup request here
// If signup is successful, redirect to profile.html
window.location.href = 'profile.html'; // Redirect to profile page
});
</script>
<!-- About Section Ends Here -->
<!-- Menu Section Starts Here -->
<section class="menu" id="menu">
<h1 data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom" id="menu-title">here's, what we have in store for you!</h1>
<input type="text" id="flavor-filter" placeholder="Search Your flavor...">
<br>
<div class="filter-box">
<h3 id="filter-head">Filter Ice Creams</h3>
<!-- Price filter dropdown -->
<select id="price-filter" style="height: 50px; padding: 4px; font-size: 14px; border-radius: 4px; border: 1px solid #ccc;">
<option value="all">All Prices</option>
<option value="under-15">Under $15</option>
<option value="15-20">$15 - $20</option>
<option value="over-20">Over $20</option>
</select>
<!-- Allergy filter form -->
<form id="allergy-form" style="display: flex; align-items: center; gap: 12px; margin-bottom: 15px;">
<label for="allergy-input" style="font-size: 14px; font-weight: 500; color: #333; margin-right: 8px;">
Allergy (if any)
</label>
<input type="text" id="allergy-input" placeholder="e.g., no nuts, no dairy" style="padding: 4px 10px; font-size: 14px; width: 140px; border: 1px solid #ccc; border-radius: 4px;" />
</form>
<button id="apply-filter">Apply Filter</button>
<button id="remove-filter">Remove Filter</button> <!-- New Remove Filter Button -->
</div>
<div class="box-container">
<div class="my_style2 box" data-aos="fade-right" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://plus.unsplash.com/premium_photo-1678198786405-28e947bb8a12" alt="">
<h3 id="pro-name">Nutty Butterscotch</h3>
<div class="flip">A delightful blend of crunchy nuts and rich butterscotch, creating a sweet and savory treat that melts in your mouth!</div>
</div>
<div class="price"> $15.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Nutty Butterscotch', 15.99,'https://plus.unsplash.com/premium_photo-1678198786405-28e947bb8a12')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Nutty Butterscotch')">-</button>
<span id="itemQuantity-Nutty Butterscotch">1</span>
<button class="plus-minus" onclick="increaseQuantity('Nutty Butterscotch')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Nutty Butterscoth', 15.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='nut_butter.html';">Read more</button>
<style>
.my_style3:hover {
background: linear-gradient(90deg, orange, yellow);
color: white !important;
}
</style>
</div>
<div class="box" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://images.unsplash.com/photo-1488900128323-21503983a07e" alt="">
<h3 id="pro-name">Berry Pops</h3>
<div class="flip">Refreshing frozen treats bursting with the vibrant flavors of mixed berries, perfect for a cool and fruity indulgence!</div>
</div>
<div class="price"> $18.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Berry Pops', 18.99,'https://images.unsplash.com/photo-1488900128323-21503983a07e')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Berry Pops')">-</button>
<span class ="text" id="itemQuantity-Berry Pops">1</span>
<button class="plus-minus" onclick="increaseQuantity('Berry Pops')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Berry Pops', 18.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='berry_pops.html';">Read more</button>
</div>
<div class="box" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://images.unsplash.com/photo-1633933037611-f26e54366832" alt="">
<h3 id="pro-name">Cherry Sherbet Pops</h3>
<div class="flip">Creamy, fruity popsicles crafted with luscious cherry sherbet, delivering a sweet and tangy burst of summer in every bite!</div>
</div>
<div class="price"> $18.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Cherry Sherbet Pops', 18.99,'https://images.unsplash.com/photo-1633933037611-f26e54366832')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Cherry Sherbet Pops')">-</button>
<span id="itemQuantity-Cherry Sherbet Pops">1</span>
<button class="plus-minus" onclick="increaseQuantity('Cherry Sherbet Pops')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Cherry Sherbet Pops', 18.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='cherry_pops.html';">Read more</button>
</div>
<div class="box" data-aos="fade-left" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://images.unsplash.com/photo-1570197788417-0e82375c9371" alt="">
<h3 id="pro-name">Dripping Vanilla</h3>
<div class="flip">A luscious vanilla treat that oozes creamy goodness, delivering a rich and indulgent flavor experience with every delightful drop!</div>
</div>
<div class="price"> $15.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Dripping Vannila', 15.99,'https://images.unsplash.com/photo-1570197788417-0e82375c9371')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Dripping Vannila')">-</button>
<span id="itemQuantity-Dripping Vannila">1</span>
<button class="plus-minus" onclick="increaseQuantity('Dripping Vannila')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Dripping Vannila', 15.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='drip_vanilla.html';">Read more</button>
</div>
<div class="box" data-aos="fade-right" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://images.unsplash.com/photo-1532678465554-94846274c297" alt="">
<h3 id="pro-name">Very Berry Strawberry</h3>
<div class="flip">A delightful fusion of fresh strawberries and a medley of berries, creating a vibrant and sweet explosion of flavor in every bite!</div>
</div>
<div class="price"> $16.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Very Berry Strawberry', 16.99,'https://images.unsplash.com/photo-1532678465554-94846274c297')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Very Berry Strawberry')">-</button>
<span id="itemQuantity-Very Berry Strawberry">1</span>
<button class="plus-minus" onclick="increaseQuantity('Very Berry Strawberry')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Very Berry Strawberry', 16.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='very_straw.html';">Read more</button>
</div>
<div class="box" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://images.unsplash.com/photo-1705103654898-d663145f5f50" alt="">
<h3 id="pro-name">Rainbow Classic Cone</h3>
<div class="flip">A colorful twist on a timeless favorite, featuring layers of vibrant, fruity flavors swirled into a creamy cone, making every lick a joyful, nostalgic experience!</div>
</div>
<div class="price"> $18.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Rainbow Classic Cone', 18.99,'https://images.unsplash.com/photo-1705103654898-d663145f5f50')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Rainbow Classic Cone')">-</button>
<span id="itemQuantity-Rainbow Classic Cone">1</span>
<button class="plus-minus" onclick="increaseQuantity('Rainbow Classic Cone')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Rainbow Classic Cone', 18.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='rain_classic.html';">Read more</button>
</div>
<div class="box" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://images.unsplash.com/photo-1559340160-146586a4f9b6" alt="">
<h3 id="pro-name">Orange Pops</h3>
<div class="flip">Refreshing frozen delights bursting with zesty orange flavor, offering a sunny, sweet, and tangy treat that's perfect for cooling off on a hot day!</div>
</div>
<div class="price"> $12.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Orange Pops', 12.99,'https://images.unsplash.com/photo-1559340160-146586a4f9b6')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Orange Pops')">-</button>
<span id="itemQuantity-Orange Pops">1</span>
<button class="plus-minus" onclick="increaseQuantity('Orange Pops')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Orange Pops', 12.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='orange_pops.html';">Read more</button>
</div>
<div class="box" data-aos="fade-left" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://images.unsplash.com/photo-1594305178909-03ab72b8205e" alt="">
<h3 id="pro-name">Choco-Hazel Pops</h3>
<div class="flip">Indulgent frozen treats infused with rich chocolate and crunchy hazelnuts, creating a decadent and nutty flavor experience that melts delightfully in every bite!</div>
</div>
<div class="price"> $18.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Choco-Hazel Pops', 18.99,'https://images.unsplash.com/photo-1594305178909-03ab72b8205e')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Choco-Hazel Pops')">-</button>
<span id="itemQuantity-Choco-Hazel Pops">1</span>
<button class="plus-minus" onclick="increaseQuantity('Choco-Hazel Pops')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Choco-Hazel Pops', 18.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='choco_hazel.html';">Read more</button>
</div>
<div class="box" data-aos="fade-right" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<br>
<img src="https://images.unsplash.com/photo-1499638472904-ea5c6178a300" alt="">
<h3 id="pro-name">Very Very Peachy</h3>
<div class="flip">A refreshing and juicy delight packed with the sweet, sunny flavor of ripe peaches, delivering a taste of summer in every delicious bite!</div>
</div>
<div class="price"> $15.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Very Very Peachy',15.99,'https://images.unsplash.com/photo-1499638472904-ea5c6178a300')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Very Very Peachy')">-</button>
<span id="itemQuantity-Very Very Peachy">1</span>
<button class="plus-minus" onclick="increaseQuantity('Very Very Peachy')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Very Very Peachy', 15.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='very_peachy.html';">Read more</button>
</div>
<div class="box" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://images.unsplash.com/photo-1559340160-146586a4f9b6" alt="">
<h3 id="pro-name">Orange Pops</h3>
<div class="flip">Refreshing frozen delights bursting with zesty orange flavor, offering a sunny, sweet, and tangy treat that's perfect for cooling off on a hot day!</div>
</div>
<div class="price"> $12.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Orange Pops', 12.99,'https://images.unsplash.com/photo-1559340160-146586a4f9b6')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Orange Pops')">-</button>
<span id="itemQuantity-Orange Pops">1</span>
<button class="plus-minus" onclick="increaseQuantity('Orange Pops')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Orange Pops', 12.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='orange_pops1.html';">Read more</button>
</div>
<div class="box" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://images.unsplash.com/photo-1594305178909-03ab72b8205e" alt="">
<h3 id="pro-name">Choco-Hazel Pops</h3>
<div class="flip">Indulgent frozen treats infused with rich chocolate and crunchy hazelnuts, creating a decadent and nutty flavor experience that melts delightfully in every bite!</div>
</div>
<div class="price"> $18.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Choco-Hazel Pops', 18.99,'https://images.unsplash.com/photo-1594305178909-03ab72b8205e')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Choco-Hazel Pops')">-</button>
<span id="itemQuantity-Choco-Hazel Pops">1</span>
<button class="plus-minus" onclick="increaseQuantity('Choco-Hazel Pops')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Choco-Hazel Pops', 18.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='choco_hazel.html';">Read more</button>
</div>
<div class="box" data-aos="fade-left" data-aos-duration="1200" data-aos-delay="200"
data-aos-anchor-placement="top-bottom">
<div class="picture">
<img src="https://images.unsplash.com/photo-1499638472904-ea5c6178a300" alt="">
<h3 id="pro-name">Very Very Peachy</h3>
<div class="price"> $16.99 <span>20.99</span></div>
<div class="flip">A refreshing and juicy delight packed with the sweet, sunny flavor of ripe peaches, delivering a taste of summer in every delicious bite!</div>
</div>
<div class="price"> $15.99 <span>20.99</span></div>
<button id="inbox" onclick="addToCart('Very Very Peachy',15.99,'https://images.unsplash.com/photo-1499638472904-ea5c6178a300')">Add to Cart</button><br>
<div class="noofitems">
<button class="plus-minus" onclick="decreaseQuantity('Very Very Peachy')">-</button>
<span id="itemQuantity-Very Very Peachy">1</span>
<button class="plus-minus" onclick="increaseQuantity('Very Very Peachy')">+</button>
</div>
<button class="my_style3" id="inbox" onclick="addToWishlist('Very Very Peachy', 15.99)">Add to wishlist</button>
<button class="my_style3" id="inbox" onclick="window.location.href='very_peachy2.html';">Read more</button>
</div>
<div class="notification-tooltip" id="notification-tooltip">
<span class="tooltip-icon">✅</span>
<span>Added to Cart!</span>
</div>
</div>
</section>
<!-- JavaScript Functionality -->
<script>
// Sample product data
const products = [
{ name: 'Nutty Butterscotch', price: 15.99, allergies: ['nuts'], elementId: 'itemQuantity-Nutty Butterscotch' },
// Add more product objects here
];
document.getElementById('allergy-form').addEventListener('submit', function (event) {
event.preventDefault();
const allergyInfo = document.getElementById('allergy-input').value.trim().toLowerCase();
if (allergyInfo) {