File size: 90,006 Bytes
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b8509b8
 
d235a7a
b8509b8
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b8509b8
 
 
d235a7a
b8509b8
d235a7a
 
 
 
 
 
b8509b8
d235a7a
b8509b8
d235a7a
 
 
 
 
 
 
 
b8509b8
 
 
 
 
 
 
 
 
 
 
 
 
 
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0351bd1
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b8509b8
 
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0351bd1
 
 
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b8509b8
d235a7a
 
 
b8509b8
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b8509b8
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b8509b8
 
 
 
 
 
 
 
 
 
 
 
 
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b8509b8
 
 
 
 
 
 
 
 
 
 
 
 
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0351bd1
d235a7a
 
 
0351bd1
 
 
 
 
 
 
 
 
d235a7a
 
 
 
 
 
 
 
 
 
 
0351bd1
d235a7a
 
 
0351bd1
 
 
 
d235a7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0351bd1
d235a7a
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628

    <!-- Product Page Template -->
    <div id="product-page" class="hidden fixed inset-0 bg-white z-50 overflow-y-auto h-screen w-screen p-0 md:p-4">
        <div class="w-full h-full">
            <div class="bg-black text-white py-4 px-4 sticky top-0 z-30 w-full shadow-lg">
                <div class="container mx-auto flex flex-col md:flex-row justify-between items-center space-y-2 md:space-y-0">
                    <a href="#" class="text-2xl font-bold volt-text tracking-wider">VOLT</a>
                    <div class="w-full md:w-1/3 px-4">
                        <div class="relative">
                            <input type="text" placeholder="Buscar produtos..." class="w-full py-2 px-4 rounded-full bg-gray-800 text-white focus:outline-none focus:ring-2 focus:ring-volt">
                            <button class="absolute right-0 top-0 h-full px-4 text-gray-400 hover:text-volt">
                                <i class="fas fa-search"></i>
                            </button>
                        </div>
                    </div>
                    <div class="flex space-x-4 text-sm justify-center">
                        <a href="#" class="hover:text-volt transition">Novidades</a>
                        <a href="#" class="hover:text-volt transition">Oversized</a>
                        <a href="#" class="hover:text-volt transition">Masculino</a>
                        <a href="#" class="hover:text-volt transition">Feminino</a>
                    </div>
                </div>
            </div>
            <button onclick="closeProductPage()" class="fixed top-4 right-4 text-2xl hover:text-volt transition z-50 bg-black bg-opacity-70 rounded-full p-2">
                <i class="fas fa-times"></i>
            </button>
            
            <div class="flex flex-col md:flex-row gap-4 md:gap-8 pt-16 pb-20 md:pb-0 h-[calc(100%-80px)] overflow-y-auto">
                <!-- Left Column - Product Images -->
                <div class="w-full md:w-1/2 px-4 md:px-0">
                    <div class="mb-4 rounded-lg overflow-hidden">
                        <img id="product-main-image" src="" alt="Product Image" class="w-full h-auto object-cover">
                    </div>
                    <div class="grid grid-cols-4 gap-2">
                        <div class="cursor-pointer border border-gray-200 rounded hover:border-volt">
                            <img src="" alt="Thumbnail" class="w-full h-20 object-cover">
                        </div>
                        <div class="cursor-pointer border border-gray-200 rounded hover:border-volt">
                            <img src="" alt="Thumbnail" class="w-full h-20 object-cover">
                        </div>
                        <div class="cursor-pointer border border-gray-200 rounded hover:border-volt">
                            <img src="" alt="Thumbnail" class="w-full h-20 object-cover">
                        </div>
                        <div class="cursor-pointer border border-gray-200 rounded hover:border-volt">
                            <img src="" alt="Thumbnail" class="w-full h-20 object-cover">
                        </div>
                    </div>

                    <!-- Product Description -->
                    <div class="mt-8 w-full">
                        <div class="bg-gray-50 p-6 rounded-lg mb-8 w-full">
                            <h3 class="font-bold mb-6 text-3xl text-black">DESCRIÇÃO DO PRODUTO</h3>
                            <p id="product-description" class="text-gray-700 text-lg mb-6 w-full leading-relaxed"></p>
                        </div>
                    </div>
                </div>
                
                <!-- Right Column - Product Info -->
                <div class="w-full md:w-1/2 px-4 md:px-0 sticky bottom-0 bg-white pt-4 pb-4 md:pb-0 md:static md:bg-transparent">
                    <div id="quantity-warning" class="hidden bg-red-100 text-red-800 font-bold text-sm py-2 px-4 w-full text-center fixed top-0 left-0 z-50">
                        <div class="container mx-auto flex justify-between items-center">
                            <p>Para pedidos acima de 100 unidades, entre em contato via <a href="https://wa.me/551140040040" class="font-bold underline hover:text-gray-200 transition">WhatsApp</a></p>
                            <button onclick="closeQuantityWarning()" class="ml-4">
                                <i class="fas fa-times"></i>
                            </button>
                        </div>
                        <div id="warning-timer" class="h-1 bg-red-500 w-full absolute bottom-0 left-0"></div>
                    </div>
                    <h1 id="product-title" class="text-3xl font-bold mb-2"></h1>
                    <div class="mb-4">
                        <div class="flex text-gray-300 mr-2">
                            <i class="far fa-star"></i>
                            <i class="far fa-star"></i>
                            <i class="far fa-star"></i>
                            <i class="far fa-star"></i>
                            <i class="far fa-star"></i>
                        </div>
                        <span class="text-gray-600">(Seja o primeiro a avaliar)</span>
                    </div>
                    
                    <div class="mb-6">
                        <span id="product-price" class="text-2xl font-bold"></span>
                        <span class="text-gray-500 line-through ml-2">R$ 159,90</span>
                        <span class="ml-2 bg-volt text-white text-sm px-2 py-1 rounded">20% OFF</span>
                    </div>
                    <div class="mb-4">
                        <div class="flex items-center">
                            <i class="fas fa-bolt text-volt mr-2"></i>
                            <div class="voltage-meter" style="max-width: 300px;">
                                <div class="voltage-fill high" style="width: 100%">
                                    <div class="lightning"></div>
                                </div>
                            </div>
                        </div>
                        <p class="text-xs text-gray-500 mt-1">MEDIDOR DE VOLTAGEM: 100% (MAIS VENDIDO)</p>
                    </div>
                    ,
                    <div class="mb-6">
                        <h3 class="font-bold mb-2">CORES</h3>
                        <div class="flex space-x-4">
                            <button class="color-option w-10 h-10 rounded-full bg-black border-2 border-gray-300 hover:scale-110 transition-transform duration-200" data-color="black"></button>
                            <button class="color-option w-10 h-10 rounded-full bg-gray-400 border-2 border-gray-300 hover:scale-110 transition-transform duration-200" data-color="gray"></button>
                            <button class="color-option w-10 h-10 rounded-full bg-white border-2 border-gray-300 hover:scale-110 transition-transform duration-200" data-color="white"></button>
                        </div>
                    </div>
                    
                    <div class="mb-6">
                        <h3 class="font-bold mb-2">TAMANHOS</h3>
                        <div class="flex flex-wrap gap-2">
                            <button class="size-option px-4 py-2 border border-gray-300 hover:border-volt hover:text-volt rounded transition-all duration-200" data-size="P">P</button>
                            <button class="size-option px-4 py-2 border border-gray-300 hover:border-volt hover:text-volt rounded transition-all duration-200" data-size="M">M</button>
                            <button class="size-option px-4 py-2 border border-gray-300 hover:border-volt hover:text-volt rounded transition-all duration-200" data-size="G">G</button>
                            <button class="size-option px-4 py-2 border border-gray-300 hover:border-volt hover:text-volt rounded transition-all duration-200" data-size="GG">GG</button>
                        </div>
                    </div>
                    
                    <div class="mb-6">
                        <div class="flex flex-col space-y-4 md:flex-row md:items-center md:space-y-0 md:space-x-4 mb-4">
                            <div class="flex items-center justify-center">
                                <button id="decrease-qty" class="bg-gray-200 px-3 py-1 rounded-l hover:bg-gray-300 transition">-</button>
                                <input type="number" id="quantity" min="1" max="100" value="1" class="w-16 text-center border-t border-b border-gray-300 px-2 py-1">
                                <button id="increase-qty" class="bg-gray-200 px-3 py-1 rounded-r hover:bg-gray-300 transition">+</button>
                            </div>
                            <button onclick="handleBuyClick(event)" class="bg-volt hover:bg-voltlight text-white font-bold py-3 px-6 rounded-full transition w-full md:w-auto">COMPRAR</button>
                            <button onclick="handleAddToCartClick(event)" class="bg-gray-800 hover:bg-gray-700 text-white font-bold py-3 px-6 rounded-full transition w-full md:w-auto">ADICIONAR AO CARRINHO</button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Product Info Bottom Section -->
            <div class="w-full mt-8">
                <div class="border-t border-gray-200 pt-8 pb-8 w-full">
                    <div class="bg-gray-50 p-6 rounded-lg mb-8 w-full">
                        <h3 class="font-bold mb-6 text-3xl text-black">SEGURANÇA E PAGAMENTO</h3>
                        <ul class="text-gray-700 list-disc pl-5 w-full space-y-3 text-lg">
                            <li><span class="font-semibold">Pagamentos:</span> Processados com criptografia SSL de 256-bit</li>
                            <li><span class="font-semibold">Dados:</span> Suas informações são protegidas e nunca compartilhadas</li>
                            <li><span class="font-semibold">Garantia:</span> Compra segura com reembolso em até 7 dias</li>
                        </ul>
                    </div>
                    
                    <div class="bg-gray-50 p-6 rounded-lg mb-8 w-full">
                        <h3 class="font-bold mb-6 text-3xl text-black">DETALHES TÉCNICOS</h3>
                        <ul class="text-gray-700 list-disc pl-5 w-full space-y-3 text-lg">
                            <li><span class="font-semibold">Modelagem:</span> Oversized com caimento perfeito</li>
                            <li><span class="font-semibold">Tecido:</span> 100% algodão penteado de alta qualidade</li>
                            <li><span class="font-semibold">Estampa:</span> Digital de alta definição e durabilidade</li>
                            <li><span class="font-semibold">Costura:</span> Reforçada para maior resistência</li>
                            <li><span class="font-semibold">Lavagem:</span> Pode ser lavada na máquina sem desbotar</li>
                            <li><span class="font-semibold">Origem:</span> Produzido no Brasil com materiais premium</li>
                        </ul>
                    </div>
                    
                    <div class="bg-gray-50 p-6 rounded-lg mb-8 w-full">
                        <h3 class="font-bold mb-6 text-3xl text-black">AVALIAÇÕES DOS CLIENTES</h3>
                        <div class="flex items-center mb-6">
                            <div class="flex text-yellow-400 text-2xl mr-4">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                            </div>
                            <span class="text-gray-700 text-lg">0/5.0 (<span id="review-count">0</span> avaliações)</span>
                        </div>
                    </div>
                </div>

                <!-- Customer Reviews Section -->
                <div class="border-t border-gray-200 pt-12 mt-8">
                    <div class="bg-gray-50 p-6 rounded-lg">
                        <h3 class="font-bold mb-6 text-3xl text-black">AVALIAÇÕES DOS CLIENTES</h3>
                        <div class="flex items-center mb-6">
                            <div class="flex text-yellow-400 text-2xl mr-4">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="far fa-star"></i>
                            </div>
                            <span class="text-gray-700 text-lg">0/5.0 (<span id="review-count">0</span> avaliações)</span>
                        </div>
                            
                            <!-- Review Form (hidden by default) -->
                            <div id="review-form" class="hidden bg-gray-50 p-6 rounded-lg mb-6">
                                <div id="login-prompt" class="mb-4 p-4 bg-yellow-50 border-l-4 border-yellow-400">
                                    <p class="text-yellow-700">Você precisa estar logado para avaliar.</p>
                                    <div class="flex space-x-2 mt-2">
                                        <button class="px-3 py-1 bg-blue-500 text-white rounded hover:bg-blue-600">Google</button>
                                        <button class="px-3 py-1 bg-indigo-600 text-white rounded hover:bg-indigo-700">Facebook</button>
                                        <button class="px-3 py-1 bg-purple-500 text-white rounded hover:bg-purple-600">Discord</button>
                                    </div>
                                </div>
                                <h4 class="font-bold mb-4">ESCREVA SUA AVALIAÇÃO</h4>
                                <form id="submit-review">
                                    <div class="mb-4">
                                        <label class="block font-medium mb-2">Sua avaliação *</label>
                                        <div class="flex text-yellow-400 text-2xl mb-2" id="star-rating">
                                            <i class="far fa-star cursor-pointer hover:scale-110 transition" data-rating="1"></i>
                                            <i class="far fa-star cursor-pointer hover:scale-110 transition" data-rating="2"></i>
                                            <i class="far fa-star cursor-pointer hover:scale-110 transition" data-rating="3"></i>
                                            <i class="far fa-star cursor-pointer hover:scale-110 transition" data-rating="4"></i>
                                            <i class="far fa-star cursor-pointer hover:scale-110 transition" data-rating="5"></i>
                                        </div>
                                        <input type="hidden" id="rating-value" name="rating" required>
                                    </div>
                                    <div class="mb-4">
                                        <label for="review-title" class="block font-medium mb-2">Título *</label>
                                        <input type="text" id="review-title" name="title" class="w-full px-4 py-2 border border-gray-300 rounded focus:ring-volt focus:border-volt" required>
                                    </div>
                                    <div class="mb-4">
                                        <label for="review-text" class="block font-medium mb-2">Comentário *</label>
                                        <textarea id="review-text" name="review" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded focus:ring-volt focus:border-volt" required></textarea>
                                    </div>
                                    <div class="mb-4">
                                        <label class="block font-medium mb-2">Fotos (opcional)</label>
                                        <div class="flex items-center space-x-2">
                                            <label for="review-photos" class="cursor-pointer border border-dashed border-gray-300 rounded p-4 text-center hover:bg-gray-100 transition">
                                                <i class="fas fa-camera text-gray-400 text-xl mb-2"></i>
                                                <p class="text-sm">Adicionar fotos</p>
                                                <input type="file" id="review-photos" name="photos" class="hidden" multiple accept="image/*">
                                            </label>
                                            <div id="photo-preview" class="flex space-x-2"></div>
                                        </div>
                                    </div>
                                    <div class="flex justify-end space-x-4">
                                        <button type="button" onclick="document.getElementById('review-form').classList.add('hidden'); document.getElementById('review-button').classList.remove('hidden')" class="px-4 py-2 border border-gray-300 rounded hover:bg-gray-100 transition">Cancelar</button>
                                        <button type="submit" class="px-4 py-2 bg-volt hover:bg-voltlight text-white rounded transition">Enviar Avaliação</button>
                                    </div>
                                </form>
                            </div>
                            
                            <button id="review-button" onclick="document.getElementById('review-form').classList.remove('hidden'); this.classList.add('hidden')" class="bg-volt hover:bg-voltlight text-white font-bold py-2 px-4 rounded transition">
                                <i class="fas fa-pen mr-2"></i>ESCREVER AVALIAÇÃO
                            </button>
                        </div>
                        
                        <!-- Review List -->
                        <div class="space-y-6">
                            <!-- Reviews List -->
                            <div class="space-y-6">
                                <div id="no-reviews-message" class="bg-white p-6 rounded-lg shadow-sm text-center">
                                    <i class="far fa-comment-dots text-4xl text-gray-300 mb-4"></i>
                                    <p class="text-gray-500">Este produto ainda não possui avaliações. Seja o primeiro a compartilhar sua opinião!</p>
                                </div>
                            </div>
                            
                            <!-- Load More Button -->
                            <div class="text-center mt-4 hidden">
                                <button id="load-more-reviews" class="text-volt hover:text-voltlight font-medium">
                                    <i class="fas fa-chevron-down mr-1"></i>CARREGAR MAIS AVALIAÇÕES
                                </button>
                            </div>
                        </div>
                    </div>

                    <script>
                        // Star rating interaction
                        const stars = document.querySelectorAll('#star-rating i');
                        stars.forEach(star => {
                            star.addEventListener('click', function() {
                                const rating = parseInt(this.getAttribute('data-rating'));
                                document.getElementById('rating-value').value = rating;
                                
                                stars.forEach((s, index) => {
                                    if (index < rating) {
                                        s.classList.remove('far');
                                        s.classList.add('fas');
                                    } else {
                                        s.classList.remove('fas');
                                        s.classList.add('far');
                                    }
                                });
                            });
                        });

                        // Photo upload preview
                        document.getElementById('review-photos').addEventListener('change', function(e) {
                            const preview = document.getElementById('photo-preview');
                            preview.innerHTML = '';
                            
                            if (this.files) {
                                Array.from(this.files).forEach(file => {
                                    const reader = new FileReader();
                                    reader.onload = function(e) {
                                        const img = document.createElement('img');
                                        img.src = e.target.result;
                                        img.className = 'w-20 h-20 object-cover rounded border border-gray-200';
                                        preview.appendChild(img);
                                    }
                                    reader.readAsDataURL(file);
                                });
                            }
                        });

                        // Check login status before showing review form
                        function checkLoginBeforeReview() {
                            // In a real app, check actual login status
                            const isLoggedIn = false; // Change to true when user logs in
                            
                            if (!isLoggedIn) {
                                document.getElementById('review-form').classList.remove('hidden');
                                document.getElementById('login-prompt').classList.remove('hidden');
                            } else {
                                document.getElementById('review-form').classList.toggle('hidden');
                                document.getElementById('login-prompt').classList.add('hidden');
                            }
                        }

                        // Form submission
                        document.getElementById('submit-review').addEventListener('submit', function(e) {
                            e.preventDefault();
                            // Verify user is logged in
                            const isLoggedIn = false; // Change to true when user logs in
                            
                            if (!isLoggedIn) {
                                alert('Por favor, faça login para enviar uma avaliação.');
                                return;
                            }
                            
                            // Create new review element
                            const reviewsContainer = document.querySelector('.space-y-6');
                            const newReview = document.createElement('div');
                            newReview.className = 'bg-white p-6 rounded-lg shadow-sm';
                            newReview.innerHTML = `
                                <div class="flex justify-between items-start mb-4">
                                    <div>
                                        <h4 class="font-bold">Você</h4>
                                        <div class="flex text-yellow-400 text-sm mt-1" id="new-review-stars"></div>
                                    </div>
                                    <span class="text-gray-500 text-sm">${new Date().toLocaleDateString()}</span>
                                </div>
                                <h5 class="font-medium mb-2">${document.getElementById('review-title').value}</h5>
                                <p class="text-gray-700">${document.getElementById('review-text').value}</p>
                            `;
                            
                            // Add stars to new review
                            const rating = parseInt(document.getElementById('rating-value').value);
                            const starsContainer = newReview.querySelector('#new-review-stars');
                            for (let i = 1; i <= 5; i++) {
                                const star = document.createElement('i');
                                star.className = i <= rating ? 'fas fa-star' : 'far fa-star';
                                starsContainer.appendChild(star);
                            }
                            
                            // Add new review to top of list
                            reviewsContainer.prepend(newReview);
                            
                            // Update review count and hide "no reviews" message
                            const countElement = document.getElementById('review-count');
                            const newCount = parseInt(countElement.textContent) + 1;
                            countElement.textContent = newCount;
                            
                            // Hide "no reviews" message if it's the first review
                            if (newCount === 1) {
                                document.getElementById('no-reviews-message').classList.add('hidden');
                            }
                            
                            // Reset form
                            this.reset();
                            document.getElementById('photo-preview').innerHTML = '';
                            document.getElementById('review-form').classList.add('hidden');
                            
                            document.getElementById('review-button').classList.remove('hidden');
                            alert('Avaliação publicada com sucesso! Obrigado por seu feedback.');
                        });

                        // Load more reviews button
                        document.getElementById('load-more-reviews').addEventListener('click', function() {
                            // In a real app, this would fetch more reviews from the server
                            console.log('Loading more reviews...');
                        });
                    </script>
                </div>
            </div>
            
            <!-- Related Products (moved below reviews) -->
            <div class="px-4 py-8 bg-gray-50 mt-12">
                <h2 class="text-2xl font-bold mb-8 electric-line">PRODUTOS RELACIONADOS</h2>
                <div class="grid grid-cols-2 md:grid-cols-4 gap-6">
                    <!-- Related product cards would go here -->
                </div>
            </div>
        </div>
    </div>

<!DOCTYPE html>
<html lang="pt-BR">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>VOLT - Camisas Oversized Premium</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        volt: '#bc13fe',
                        voltlight: '#d46afd',
                        voltdark: '#8a00b5',
                    },
                    fontFamily: {
                        sans: ['Inter', 'sans-serif'],
                    },
                    animation: {
                        'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
                    }
                }
            }
        }
    </script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
        
        body {
            font-family: 'Inter', sans-serif;
        }
        
        .volt-text {
            color: #bc13fe;
            text-shadow: 0 0 8px rgba(188, 19, 254, 0.6);
        }
        
        .volt-border {
            border-color: #bc13fe;
            box-shadow: 0 0 12px rgba(188, 19, 254, 0.4);
        }
        
        .volt-bg {
            background-color: #bc13fe;
            box-shadow: 0 0 12px rgba(188, 19, 254, 0.4);
        }
        
        .hover-effect:hover {
            transform: translateY(-2px);
            transition: all 0.3s ease;
        }

        .sticky-nav-active {
            position: fixed;
            width: 100%;
            top: 0;
            animation: slideDown 0.3s ease-out;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
            }
            to {
                transform: translateY(0);
            }
        }
        
        .electric-line {
            position: relative;
            overflow: hidden;
        }
        
        .electric-line::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #bc13fe, transparent);
            animation: electric 3s linear infinite;
        }
        
        @keyframes electric {
            0% {
                transform: translateX(-100%);
                opacity: 0;
            }
            20% {
                opacity: 1;
            }
            100% {
                transform: translateX(100%);
                opacity: 0;
            }
        }
        
        #mobile-menu {
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }
        
        @media (max-width: 1023px) {
            body.menu-open {
                overflow: hidden;
                height: 100vh;
            }
        }
        
        #mobile-menu-button {
            box-shadow: 0 0 10px rgba(188, 19, 254, 0.5);
        }
        
        .product-card:hover .product-image {
            transform: scale(1.03);
            transition: transform 0.3s ease;
        }

        .voltage-meter {
            width: 100%;
            height: 6px;
            background: white;
            border: 1px solid black;
            border-radius: 3px;
            margin-top: 8px;
            overflow: hidden;
            position: relative;
        }

        .voltage-fill {
            height: 100%;
            width: 100%;
            position: relative;
            transition: width 0.5s ease, background 0.5s ease;
        }

        .voltage-fill.low {
            background: white;
        }
        
        .voltage-fill.low ~ .fa-bolt {
            color: white;
        }

        .voltage-fill.medium {
            background: #00f0ff;
            box-shadow: 0 0 10px #00f0ff;
            animation: electric-pulse 2s infinite;
        }
        
        .voltage-fill.medium ~ .fa-bolt {
            color: #00f0ff;
            animation: electric-pulse 2s infinite;
        }

        .voltage-fill.high {
            background: #bc13fe;
            box-shadow: 0 0 15px #bc13fe;
            animation: electric-storm 1.5s infinite;
        }
        
        .voltage-fill.high ~ .fa-bolt {
            color: #bc13fe;
            animation: electric-storm 1.5s infinite;
        }

        /* Selected color option */
        .selected-color {
            border-color: #bc13fe !important;
            box-shadow: 0 0 0 2px #bc13fe !important;
            transform: scale(1.1) !important;
        }

        /* Selected size option */
        .selected-size {
            background-color: #bc13fe !important;
            color: white !important;
            border-color: #bc13fe !important;
            transform: scale(1.05) !important;
            box-shadow: 0 0 0 2px #bc13fe;
        }

        @keyframes electric-pulse {
            0% { box-shadow: 0 0 5px #00f0ff; }
            50% { box-shadow: 0 0 15px #00f0ff; }
            100% { box-shadow: 0 0 5px #00f0ff; }
        }

        @keyframes electric-storm {
            0% { box-shadow: 0 0 10px #bc13fe; }
            25% { box-shadow: 0 0 20px #bc13fe, 0 0 30px rgba(188, 19, 254, 0.5); }
            50% { box-shadow: 0 0 15px #bc13fe; }
            75% { box-shadow: 0 0 25px #bc13fe, 0 0 35px rgba(188, 19, 254, 0.5); }
            100% { box-shadow: 0 0 10px #bc13fe; }
        }

        .lightning {
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
            top: 0;
            left: -100%;
            animation: lightning 3s infinite;
            opacity: 0;
        }

        @keyframes lightning {
            0% { left: -100%; opacity: 0; }
            10% { opacity: 0.8; }
            20% { left: 100%; opacity: 0; }
            100% { left: 100%; opacity: 0; }
        }

        .high .lightning {
            animation: lightning 1s infinite;
        }
        
        #product-page {
            background-color: rgba(255, 255, 255, 0.98);
            z-index: 1000;
        }
        
        #cart-sidebar {
            scrollbar-width: thin;
            scrollbar-color: #bc13fe #f3f4f6;
        }
        
        #cart-sidebar::-webkit-scrollbar {
            width: 6px;
        }
        
        #cart-sidebar::-webkit-scrollbar-track {
            background: #f3f4f6;
        }
        
        #cart-sidebar::-webkit-scrollbar-thumb {
            background-color: #bc13fe;
            border-radius: 3px;
        }
        
        @media (min-width: 768px) {
            #product-page {
                padding: 3rem;
            }
        }
    </style>
</head>
<body class="bg-white text-gray-900">
    <!-- Top Bar -->
    <div class="bg-black text-white text-sm py-2 px-4">
        <div class="container mx-auto flex justify-between items-center">
            <div class="flex items-center space-x-4">
                <button id="mobile-menu-button" class="lg:hidden mr-2 bg-black p-2 rounded-full focus:outline-none">
                    <div class="w-6 h-6 relative">
                        <span class="block absolute h-0.5 w-6 bg-volt transform transition duration-300 ease-in-out" id="bar1"></span>
                        <span class="block absolute h-0.5 w-6 bg-volt transform transition duration-300 ease-in-out mt-2" id="bar2"></span>
                        <span class="block absolute h-0.5 w-6 bg-volt transform transition duration-300 ease-in-out mt-4" id="bar3"></span>
                    </div>
                </button>
                <a href="#" class="hover:text-volt transition">Ajuda</a>
                <a href="#" class="hover:text-volt transition">Entregas</a>
            </div>
            <div class="flex space-x-4">
                <a href="#" class="hover:text-volt transition"><i class="fas fa-store mr-1"></i> Lojas</a>
                <a href="#" class="hover:text-volt transition"><i class="fas fa-phone mr-1"></i> Contato</a>
            </div>
        </div>
    </div>
    
    <!-- Header -->
    <header class="py-6 px-4 border-b border-gray-200">
        <div class="container mx-auto flex flex-col md:flex-row items-center justify-between">
            <div class="flex items-center mb-4 md:mb-0">
                <a href="#" class="text-3xl font-bold volt-text">VOLT</a>
                <span class="ml-2 text-xs bg-black text-white px-2 py-1 rounded">BRASIL</span>
            </div>
            
            <div class="w-full md:w-auto flex-1 md:px-8">
                <div class="relative">
                    <input type="text" placeholder="Buscar produtos..." class="w-full py-2 px-4 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-volt focus:border-transparent">
                    <button class="absolute right-0 top-0 h-full px-4 text-gray-500 hover:text-volt">
                        <i class="fas fa-search"></i>
                    </button>
                </div>
            </div>
            
            <div class="flex items-center space-x-6 mt-4 md:mt-0">
                <a href="#" class="hover:text-volt transition"><i class="far fa-user text-xl"></i></a>
                <a href="#" onclick="openCart(event)" class="hover:text-volt transition relative">
                    <i class="fas fa-shopping-bag text-xl"></i>
                    <span id="cart-count" class="absolute -top-2 -right-2 bg-volt text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">0</span>
                </a>
            </div>
        </div>
    </header>
    

    <!-- Mobile Menu -->
    <div id="mobile-menu" class="hidden fixed inset-0 bg-black bg-opacity-80 z-40 pt-20 px-6">
        <button onclick="closeMobileMenu()" class="absolute top-6 right-6 text-volt text-2xl">
            <i class="fas fa-times"></i>
        </button>
        <div class="flex flex-col items-center mb-8 mt-8">
            <img src="https://via.placeholder.com/80" alt="Profile" class="rounded-full w-20 h-20 mb-2 border-2 border-volt">
            <span class="text-white font-medium">Olá, Cliente</span>
        </div>
        <nav class="flex flex-col space-y-4 text-white">
            <a href="#" class="py-2 border-b border-gray-700 hover:text-volt transition"><i class="fas fa-user mr-2"></i> Minha Conta</a>
            <a href="#" class="py-2 border-b border-gray-700 hover:text-volt transition"><i class="fas fa-box mr-2"></i> Meus Pedidos</a>
            <a href="#" class="py-2 border-b border-gray-700 hover:text-volt transition"><i class="fas fa-heart mr-2"></i> Favoritos</a>
            <a href="#" class="py-2 border-b border-gray-700 hover:text-volt transition"><i class="fas fa-question-circle mr-2"></i> Ajuda</a>
            <a href="#" class="py-2 border-b border-gray-700 hover:text-volt transition"><i class="fas fa-cog mr-2"></i> Configurações</a>
            <a href="#" class="py-2 text-volt hover:text-voltlight transition"><i class="fas fa-sign-out-alt mr-2"></i> Sair</a>
        </nav>
    </div>

    <!-- Navigation -->
    <nav class="bg-white py-4 px-4 border-b border-gray-200 sticky top-0 z-30" id="main-nav">
        <div class="container mx-auto">
            <div class="overflow-x-auto whitespace-nowrap py-2">
                <ul class="inline-flex space-x-1 md:space-x-6">
                    <li><a href="#" class="px-3 py-2 font-medium hover:text-volt transition">Novidades</a></li>
                    <li><a href="#" class="px-3 py-2 font-medium hover:text-volt transition">Oversized</a></li>
                    <li><a href="#" class="px-3 py-2 font-medium hover:text-volt transition">Masculino</a></li>
                    <li><a href="#" class="px-3 py-2 font-medium hover:text-volt transition">Feminino</a></li>
                    <li><a href="#" class="px-3 py-2 font-medium hover:text-volt transition">Outlet</a></li>
                    <li><a href="#" class="px-3 py-2 font-medium hover:text-volt transition">Basics</a></li>
                    <li><a href="#" class="px-3 py-2 font-medium hover:text-volt transition">Acessórios</a></li>
                </ul>
            </div>
        </div>
    </nav>
    
    <!-- Hero Banner -->
    <div class="relative bg-black text-white pt-20">
        <div class="absolute inset-0 bg-gradient-to-r from-black to-transparent z-10"></div>
        <img src="https://images.unsplash.com/photo-1527719327859-c6ce80353573?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80" alt="VOLT Collection" class="w-full h-auto object-cover opacity-90">
        <div class="absolute inset-0 flex items-center z-20">
            <div class="container mx-auto px-6">
                <h1 class="text-4xl md:text-6xl font-bold mb-4">COLEÇÃO <span class="volt-text">ELÉTRICA</span></h1>
                <p class="text-xl md:text-2xl mb-8 max-w-lg">Camisas oversized que carregam sua personalidade com alta voltagem.</p>
                <a href="#" class="inline-block bg-volt hover:bg-voltlight text-white font-bold py-3 px-8 rounded-full transition hover-effect" onclick="openProductPageFromHero(event, this)">COMPRE AGORA</a>
            </div>
        </div>
    </div>
    
    <!-- Featured Categories -->
    <div class="py-12 bg-gray-50">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12 electric-line">CATEGORIAS EM DESTAQUE</h2>
            <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
                <a href="#" class="group relative overflow-hidden rounded-lg hover-effect">
                    <img src="https://images.unsplash.com/photo-1591047139829-d91aecb6caea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=736&q=80" alt="Camisetas Oversized" class="w-full h-64 object-cover group-hover:opacity-90 transition">
                    <div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center">
                        <h3 class="text-white text-xl font-bold">CAMISETAS OVERSIZED</h3>
                    </div>
                </a>
                <a href="#" class="group relative overflow-hidden rounded-lg hover-effect">
                    <img src="https://images.unsplash.com/photo-1529374255404-311a2a4f1fd9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=776&q=80" alt="Moletons" class="w-full h-64 object-cover group-hover:opacity-90 transition">
                    <div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center">
                        <h3 class="text-white text-xl font-bold">MOLETONS</h3>
                    </div>
                </a>
                <a href="#" class="group relative overflow-hidden rounded-lg hover-effect">
                    <img src="https://images.unsplash.com/photo-1551232864-3f0890e580d9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" alt="Shorts" class="w-full h-64 object-cover group-hover:opacity-90 transition">
                    <div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center">
                        <h3 class="text-white text-xl font-bold">SHORTS</h3>
                    </div>
                </a>
                <a href="#" class="group relative overflow-hidden rounded-lg hover-effect">
                    <img src="https://images.unsplash.com/photo-1594631252845-29fc4cc8cde9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" alt="Acessórios" class="w-full h-64 object-cover group-hover:opacity-90 transition">
                    <div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center">
                        <h3 class="text-white text-xl font-bold">ACESSÓRIOS</h3>
                    </div>
                </a>
            </div>
        </div>
    </div>
    
    <!-- New Arrivals -->
    <div class="py-12">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12 electric-line">LANÇAMENTOS</h2>
            <div class="grid grid-cols-2 md:grid-cols-4 gap-6">
                <!-- Product 1 -->
                <div class="product-card group">
                    <div class="relative overflow-hidden rounded-lg mb-4">
                        <img src="https://images.unsplash.com/photo-1529374255404-311a2a4f1fd9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=776&q=80" alt="Camiseta VOLT" class="w-full h-80 object-cover product-image transition cursor-pointer" onclick="showBuyButton(this)">
                        <div class="absolute top-4 right-4">
                        </div>
                        <div class="absolute bottom-0 left-0 right-0 bg-black bg-opacity-70 text-white p-3 opacity-0 transition buy-button-container">
                            <a href="#" class="block text-center py-2 bg-volt hover:bg-voltlight rounded font-medium transition" onclick="openProductPageFromCard(event, this)">COMPRAR</a>
                        </div>
                    </div>
                    <h3 class="font-medium">CAMISETA OVERSIZED VOLT</h3>
                    <div class="flex justify-between items-center mt-1">
                        <span class="text-gray-600">Preto</span>
                        <span class="font-bold">R$ 129,90</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-bolt text-volt mr-2"></i>
                        <div class="voltage-meter">
                            <div class="voltage-fill high" style="width: 100%">
                                <div class="lightning"></div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Product 2 -->
                <div class="product-card group">
                    <div class="relative overflow-hidden rounded-lg mb-4">
                        <img src="https://images.unsplash.com/photo-1576566588028-4147f3842f27?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=764&q=80" alt="Moletom VOLT" class="w-full h-80 object-cover product-image transition cursor-pointer" onclick="showBuyButton(this)">
                        <div class="absolute bottom-0 left-0 right-0 bg-black bg-opacity-70 text-white p-3 opacity-0 transition buy-button-container">
                            <a href="#" class="block text-center py-2 bg-volt hover:bg-voltlight rounded font-medium transition" onclick="openProductPageFromCard(event, this)">COMPRAR</a>
                        </div>
                    </div>
                    <h3 class="font-medium">MOLETON OVERSIZED VOLT</h3>
                    <div class="flex justify-between items-center mt-1">
                        <span class="text-gray-600">Cinza</span>
                        <span class="font-bold">R$ 199,90</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-bolt text-volt mr-2"></i>
                        <div class="voltage-meter">
                            <div class="voltage-fill medium" style="width: 75%">
                                <div class="lightning"></div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Product 3 -->
                <div class="product-card group">
                    <div class="relative overflow-hidden rounded-lg mb-4">
                        <img src="https://images.unsplash.com/photo-1591047139829-d91aecb6caea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=736&q=80" alt="Camiseta VOLT" class="w-full h-80 object-cover product-image transition">
                        <div class="absolute bottom-0 left-0 right-0 bg-black bg-opacity-70 text-white p-3 opacity-0 group-hover:opacity-100 transition">
                            <a href="#" class="block text-center py-2 bg-volt hover:bg-voltlight rounded font-medium transition">COMPRAR</a>
                        </div>
                    </div>
                    <h3 class="font-medium">CAMISETA OVERSIZED VOLT</h3>
                    <div class="flex justify-between items-center mt-1">
                        <span class="text-gray-600">Branco</span>
                        <span class="font-bold">R$ 129,90</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-bolt text-volt mr-2"></i>
                        <div class="voltage-meter">
                            <div class="voltage-fill high" style="width: 100%">
                                <div class="lightning"></div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Product 4 -->
                <div class="product-card group">
                    <div class="relative overflow-hidden rounded-lg mb-4">
                        <img src="https://images.unsplash.com/photo-1576566588028-4147f3842f27?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=764&q=80" alt="Camiseta VOLT" class="w-full h-80 object-cover product-image transition">
                        <div class="absolute bottom-0 left-0 right-0 bg-black bg-opacity-70 text-white p-3 opacity-0 group-hover:opacity-100 transition">
                            <a href="#" class="block text-center py-2 bg-volt hover:bg-voltlight rounded font-medium transition">COMPRAR</a>
                        </div>
                    </div>
                    <h3 class="font-medium">CAMISETA OVERSIZED VOLT</h3>
                    <div class="flex justify-between items-center mt-1">
                        <span class="text-gray-600">Azul</span>
                        <span class="font-bold">R$ 139,90</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-bolt text-volt mr-2"></i>
                        <div class="voltage-meter">
                            <div class="voltage-fill medium" style="width: 75%">
                                <div class="lightning"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="text-center mt-10">
                <a href="#" class="inline-block border-2 border-black hover:bg-black hover:text-white font-bold py-3 px-8 rounded-full transition">VER TODOS</a>
            </div>
        </div>
    </div>
    
    <!-- Banner -->
    <div class="py-12 bg-gray-100">
        <div class="container mx-auto px-4">
            <div class="bg-white rounded-lg overflow-hidden shadow-lg">
                <div class="md:flex">
                    <div class="md:w-1/2 p-8 md:p-12 flex flex-col justify-center">
                        <h2 class="text-3xl font-bold mb-4">SEJA UM <span class="volt-text">MEMBRO VOLT</span></h2>
                        <p class="text-gray-600 mb-6">Cadastre-se e ganhe 10% OFF na primeira compra, além de receber ofertas exclusivas e acesso antecipado a novos lançamentos.</p>
                        <div class="flex max-w-md">
                            <input type="email" placeholder="Seu e-mail" class="flex-1 py-2 px-4 border border-gray-300 rounded-l-lg focus:outline-none focus:ring-2 focus:ring-volt focus:border-transparent">
                            <button class="bg-volt hover:bg-voltlight text-white font-bold py-2 px-4 rounded-r-lg transition text-sm">CADASTRAR</button>
                        </div>
                    </div>
                    <div class="md:w-1/2">
                        <img src="https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1469&q=80" alt="Membro VOLT" class="w-full h-full object-cover">
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Instagram -->
    <div class="py-12">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row items-center justify-between mb-8">
                <h2 class="text-3xl font-bold electric-line">SIGA A <span class="volt-text">@VOLTBRASIL</span></h2>
                <a href="#" class="mt-4 md:mt-0 inline-flex items-center text-black hover:text-volt font-medium">
                    <i class="fab fa-instagram text-2xl mr-2"></i> VER MAIS NO INSTAGRAM
                </a>
            </div>
            
            <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
                <a href="#" class="group relative overflow-hidden rounded-lg hover-effect">
                    <img src="https://images.unsplash.com/photo-1527719327859-c6ce80353573?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80" alt="Instagram 1" class="w-full h-64 object-cover group-hover:opacity-90 transition">
                    <div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-30 flex items-center justify-center transition">
                        <i class="fab fa-instagram text-white text-3xl opacity-0 group-hover:opacity-100 transition"></i>
                    </div>
                </a>
                <a href="#" class="group relative overflow-hidden rounded-lg hover-effect">
                    <img src="https://images.unsplash.com/photo-1576566588028-4147f3842f27?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=764&q=80" alt="Instagram 2" class="w-full h-64 object-cover group-hover:opacity-90 transition">
                    <div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-30 flex items-center justify-center transition">
                        <i class="fab fa-instagram text-white text-3xl opacity-0 group-hover:opacity-100 transition"></i>
                    </div>
                </a>
                <a href="#" class="group relative overflow-hidden rounded-lg hover-effect">
                    <img src="https://images.unsplash.com/photo-1591047139829-d91aecb6caea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=736&q=80" alt="Instagram 3" class="w-full h-64 object-cover group-hover:opacity-90 transition">
                    <div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-30 flex items-center justify-center transition">
                        <i class="fab fa-instagram text-white text-3xl opacity-0 group-hover:opacity-100 transition"></i>
                    </div>
                </a>
                <a href="#" class="group relative overflow-hidden rounded-lg hover-effect">
                    <img src="https://images.unsplash.com/photo-1551232864-3f0890e580d9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" alt="Instagram 4" class="w-full h-64 object-cover group-hover:opacity-90 transition">
                    <div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-30 flex items-center justify-center transition">
                        <i class="fab fa-instagram text-white text-3xl opacity-0 group-hover:opacity-100 transition"></i>
                    </div>
                </a>
            </div>
        </div>
    </div>
    
    <!-- Footer -->
    <footer class="bg-black text-white pt-12 pb-6">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
                <div>
                    <h3 class="text-xl font-bold mb-4 volt-text">VOLT</h3>
                    <p class="mb-4">Camisas oversized premium com estilo único e conforto inigualável.</p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-white hover:text-volt transition"><i class="fab fa-facebook-f"></i></a>
                        <a href="#" class="text-white hover:text-volt transition"><i class="fab fa-instagram"></i></a>
                        <a href="#" class="text-white hover:text-volt transition"><i class="fab fa-twitter"></i></a>
                        <a href="#" class="text-white hover:text-volt transition"><i class="fab fa-youtube"></i></a>
                    </div>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">INSTITUCIONAL</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="hover:text-volt transition">Sobre a VOLT</a></li>
                        <li><a href="#" class="hover:text-volt transition">Trabalhe Conosco</a></li>
                        <li><a href="#" class="hover:text-volt transition">Política de Privacidade</a></li>
                        <li><a href="#" class="hover:text-volt transition">Termos e Condições</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">AJUDA</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="hover:text-volt transition">Dúvidas Frequentes</a></li>
                        <li><a href="#" class="hover:text-volt transition">Trocas e Devoluções</a></li>
                        <li><a href="#" class="hover:text-volt transition">Entregas</a></li>
                        <li><a href="#" class="hover:text-volt transition">Meus Pedidos</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-lg font-bold mb-4">CONTATO</h3>
                    <ul class="space-y-2">
                        <li><i class="fas fa-phone-alt mr-2"></i> (11) 4004-0040</li>
                        <li><i class="fas fa-envelope mr-2"></i> contato@voltbrasil.com.br</li>
                        <li><i class="fas fa-map-marker-alt mr-2"></i> São Paulo - SP</li>
                        <li class="mt-4">
                            <div class="flex max-w-xs">
                                <input type="email" placeholder="Seu e-mail" class="flex-1 py-1 px-3 bg-gray-800 text-white rounded-l focus:outline-none text-sm">
                                <button class="bg-volt hover:bg-voltlight text-white py-1 px-3 rounded-r transition text-sm">
                                    <i class="fas fa-paper-plane"></i>
                                </button>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
            
            <div class="border-t border-gray-800 pt-6">
                <div class="flex flex-col md:flex-row justify-between items-center">
                    <p class="text-gray-400 mb-4 md:mb-0">© 2023 VOLT Brasil. Todos os direitos reservados.</p>
                    <div class="flex space-x-4">
                        <img src="https://via.placeholder.com/40x25" alt="Visa" class="h-6">
                        <img src="https://via.placeholder.com/40x25" alt="Mastercard" class="h-6">
                        <img src="https://via.placeholder.com/40x25" alt="American Express" class="h-6">
                        <img src="https://via.placeholder.com/40x25" alt="Pix" class="h-6">
                    </div>
                </div>
            </div>
        </div>
    </footer>
    
    <!-- Shopping Cart Sidebar -->
    <div id="cart-sidebar" class="fixed top-0 right-0 h-full w-0 bg-white shadow-xl z-50 overflow-y-auto transition-all duration-300">
        <div class="p-6">
            <div class="flex justify-between items-center mb-6">
                <h2 class="text-2xl font-bold">SEU CARRINHO</h2>
                <button onclick="closeCart()" class="text-gray-500 hover:text-gray-700">
                    <i class="fas fa-times text-2xl"></i>
                </button>
            </div>
            
            <div id="cart-items" class="space-y-4">
                <!-- Cart items will be added here dynamically -->
                <div id="empty-cart-message" class="text-center py-12">
                    <i class="fas fa-shopping-cart text-4xl text-gray-300 mb-4"></i>
                    <p class="text-gray-500">Seu carrinho está vazio</p>
                </div>
            </div>
            
            <div id="cart-summary" class="border-t border-gray-200 pt-4 mt-6 hidden">
                <div class="flex justify-between mb-2">
                    <span>Subtotal</span>
                    <span id="cart-subtotal">R$ 0,00</span>
                </div>
                <div class="flex justify-between mb-4">
                    <span>Frete</span>
                    <span>Grátis</span>
                </div>
                <div class="flex justify-between font-bold text-lg">
                    <span>Total</span>
                    <span id="cart-total">R$ 0,00</span>
                </div>
                <button id="checkout-button" class="w-full bg-volt hover:bg-voltlight text-white font-bold py-3 px-4 rounded-full mt-6 transition">
                    FINALIZAR COMPRA
                </button>
            </div>
        </div>
    </div>
    
    <!-- WhatsApp Float -->
    <a href="#" class="fixed bottom-6 right-6 bg-green-500 text-white rounded-full p-4 shadow-lg hover:bg-green-600 transition">
        <i class="fab fa-whatsapp text-2xl"></i>
    </a>
    
    <!-- Notification Toast -->
    <div id="notification-toast" class="fixed bottom-4 left-1/2 transform -translate-x-1/2 bg-gray-600 text-white px-6 py-3 rounded-lg shadow-lg opacity-0 transition-opacity duration-300 z-50">
        <p id="notification-message" class="text-center"></p>
    </div>

    <script>
        // Sticky navigation handler
        window.addEventListener('scroll', function() {
            const nav = document.getElementById('main-nav');
            const navHeight = nav.offsetHeight;
            
            if (window.pageYOffset > navHeight) {
                nav.classList.add('sticky-nav-active');
                document.body.style.paddingTop = navHeight + 'px';
            } else {
                nav.classList.remove('sticky-nav-active');
                document.body.style.paddingTop = '0';
            }
        });

        // Mobile menu functions
        const mobileMenuButton = document.getElementById('mobile-menu-button');
        const mobileMenu = document.getElementById('mobile-menu');
        const bars = [
            document.getElementById('bar1'),
            document.getElementById('bar2'),
            document.getElementById('bar3')
        ];

        let menuOpen = false;

        function closeMobileMenu() {
            menuOpen = false;
            mobileMenu.classList.add('hidden');
            document.body.style.overflow = 'auto';
            bars[0].style.transform = '';
            bars[0].style.width = '';
            bars[1].style.opacity = '';
            bars[2].style.transform = '';
            bars[2].style.width = '';
        }
        
        mobileMenuButton.addEventListener('click', () => {
            menuOpen = !menuOpen;
            
            if (menuOpen) {
                mobileMenu.classList.remove('hidden');
                document.body.style.overflow = 'hidden';
                bars[0].style.transform = 'rotate(45deg) translate(6px, 6px)';
                bars[0].style.width = '24px';
                bars[1].style.opacity = '0';
                bars[2].style.transform = 'rotate(-45deg) translate(6px, -6px)';
                bars[2].style.width = '24px';
            } else {
                mobileMenu.classList.add('hidden');
                document.body.style.overflow = 'auto';
                bars[0].style.transform = '';
                bars[0].style.width = '';
                bars[1].style.opacity = '';
                bars[2].style.transform = '';
                bars[2].style.width = '';
            }
        });

        function openProductPage(product) {
            document.getElementById('product-page').classList.remove('hidden');
            document.body.style.overflow = 'hidden';
            
            // Populate product data
            document.getElementById('product-title').textContent = product.title;
            document.getElementById('product-price').textContent = product.price;
            document.getElementById('product-description').textContent = product.description;
            document.getElementById('product-main-image').src = product.image;
            
            // Initialize selection controls
            initializeQuantityControls();
        }
        
        function closeProductPage() {
            document.getElementById('product-page').classList.add('hidden');
            document.body.style.overflow = 'auto';
        }

        function closeQuantityWarning() {
            document.getElementById('quantity-warning').classList.add('hidden');
        }

        function showQuantityWarning() {
            const warningDiv = document.getElementById('quantity-warning');
            warningDiv.classList.remove('hidden');
            
            // Auto-hide after 5 seconds
            setTimeout(() => {
                warningDiv.classList.add('hidden');
            }, 5000);
        }
        
        // Product voltage data (simulated) - all set to high voltage (100%)
        const productVoltage = {
            'CAMISETA OVERSIZED VOLT': 100,
            'MOLETON OVERSIZED VOLT': 75,
            'CAMISETA OVERSIZED VOLT': 50,
            'CAMISETA OVERSIZED VOLT': 75
        };

        // Update voltage meters
        function updateVoltageMeters() {
            document.querySelectorAll('.product-card').forEach(card => {
                const title = card.querySelector('h3').textContent;
                const voltage = productVoltage[title] || 0;
                const meter = card.querySelector('.voltage-fill');
                
                meter.style.width = `${voltage}%`;
                meter.className = 'voltage-fill';
                const boltIcon = card.querySelector('.fa-bolt');
                
                if (voltage === 0) {
                    meter.classList.add('low');
                    boltIcon.classList.add('low');
                } else if (voltage < 75) {
                    meter.classList.add('medium');
                    boltIcon.classList.add('medium');
                } else {
                    meter.classList.add('high');
                    boltIcon.classList.add('high');
                }
            });
        }

        // Shopping cart functionality
        let cart = [];
        
        function openCart(e) {
            e.preventDefault();
            document.getElementById('cart-sidebar').style.width = '85%';
            document.body.style.overflow = 'hidden';
        }
        
        function closeCart() {
            document.getElementById('cart-sidebar').style.width = '0';
            document.body.style.overflow = 'auto';
        }
        
        function showNotification(message, color = 'gray') {
            const toast = document.getElementById('notification-toast');
            const messageEl = document.getElementById('notification-message');
            messageEl.textContent = message;
            toast.style.backgroundColor = color === 'gray' ? '#4B5563' : '#374151';
            toast.classList.remove('opacity-0');
            toast.classList.add('opacity-100');
            
            setTimeout(() => {
                toast.classList.remove('opacity-100');
                toast.classList.add('opacity-0');
            }, 3000);
        }
        
        function addToCart(product, color, size, quantity) {
            // Check if color and size are selected
            if (!color || !size) {
                let message = '';
                if (!color && !size) {
                    message = 'Por favor, selecione a cor e o tamanho';
                } else if (!color) {
                    message = 'Por favor, selecione a cor';
                } else {
                    message = 'Por favor, selecione o tamanho';
                }
                showNotification(message, 'gray');
                return false;
            }
            
            // Add item to cart
            const price = parseFloat(product.price.replace('R$ ', '').replace(',', '.'));
            const total = price * quantity;
            
            const cartItem = {
                id: Date.now(),
                product: product.title,
                image: product.image,
                price: price,
                color: color,
                size: size,
                quantity: quantity,
                total: total
            };
            
            cart.push(cartItem);
            updateCartDisplay();
            showNotification('Item adicionado ao carrinho!');
            return true;
        }
        
        function updateCartDisplay() {
            const cartItemsEl = document.getElementById('cart-items');
            const emptyCartEl = document.getElementById('empty-cart-message');
            const cartSummaryEl = document.getElementById('cart-summary');
            const cartCountEl = document.getElementById('cart-count');
            
            if (cart.length === 0) {
                emptyCartEl.classList.remove('hidden');
                cartSummaryEl.classList.add('hidden');
                cartCountEl.textContent = '0';
                return;
            }
            
            emptyCartEl.classList.add('hidden');
            cartSummaryEl.classList.remove('hidden');
            cartCountEl.textContent = cart.length.toString();
            
            // Clear existing items
            cartItemsEl.innerHTML = '';
            
            let subtotal = 0;
            
            // Add each cart item
            cart.forEach(item => {
                subtotal += item.total;
                
                const itemEl = document.createElement('div');
                itemEl.className = 'flex border-b border-gray-200 pb-4';
                itemEl.innerHTML = `
                    <div class="w-24 h-24 bg-gray-100 rounded-lg overflow-hidden mr-4">
                        <img src="${item.image}" alt="${item.product}" class="w-full h-full object-cover">
                    </div>
                    <div class="flex-1">
                        <h3 class="font-medium">${item.product}</h3>
                        <p class="text-sm text-gray-500">${item.color} / ${item.size}</p>
                        <div class="flex justify-between items-center mt-2">
                            <div class="flex items-center">
                                <button onclick="updateQuantity(${item.id}, -1)" class="bg-gray-200 px-2 py-1 rounded-l">-</button>
                                <span class="px-2">${item.quantity}</span>
                                <button onclick="updateQuantity(${item.id}, 1)" class="bg-gray-200 px-2 py-1 rounded-r">+</button>
                            </div>
                            <span class="font-medium">R$ ${item.total.toFixed(2).replace('.', ',')}</span>
                        </div>
                    </div>
                    <button onclick="removeFromCart(${item.id})" class="ml-4 text-gray-400 hover:text-red-500">
                        <i class="fas fa-trash"></i>
                    </button>
                `;
                cartItemsEl.appendChild(itemEl);
            });
            
            // Update totals
            document.getElementById('cart-subtotal').textContent = `R$ ${subtotal.toFixed(2).replace('.', ',')}`;
            document.getElementById('cart-total').textContent = `R$ ${subtotal.toFixed(2).replace('.', ',')}`;
        }
        
        function updateQuantity(itemId, change) {
            const itemIndex = cart.findIndex(item => item.id === itemId);
            if (itemIndex === -1) return;
            
            const newQuantity = cart[itemIndex].quantity + change;
            if (newQuantity < 1) return;
            
            cart[itemIndex].quantity = newQuantity;
            cart[itemIndex].total = cart[itemIndex].price * newQuantity;
            updateCartDisplay();
        }
        
        function removeFromCart(itemId) {
            cart = cart.filter(item => item.id !== itemId);
            updateCartDisplay();
        }
        
        function handleBuyClick(e) {
            e.preventDefault();
            const color = document.querySelector('.color-option.selected')?.dataset.color;
            const size = document.querySelector('.size-option.selected')?.dataset.size;
            const quantity = parseInt(document.getElementById('quantity').value);
            
            const product = {
                title: document.getElementById('product-title').textContent,
                price: document.getElementById('product-price').textContent,
                image: document.getElementById('product-main-image').src
            };
            
            if (!color || !size) {
                let message = '';
                if (!color && !size) {
                    message = 'Por favor, selecione a cor e o tamanho';
                } else if (!color) {
                    message = 'Por favor, selecione a cor';
                } else {
                    message = 'Por favor, selecione o tamanho';
                }
                showNotification(message, 'gray');
                return;
            }
            
            if (addToCart(product, color, size, quantity)) {
                openCart(e);
            }
        }
        
        function handleAddToCartClick(e) {
            e.preventDefault();
            const color = document.querySelector('.color-option.selected')?.dataset.color;
            const size = document.querySelector('.size-option.selected')?.dataset.size;
            const quantity = parseInt(document.getElementById('quantity').value);
            
            const product = {
                title: document.getElementById('product-title').textContent,
                price: document.getElementById('product-price').textContent,
                image: document.getElementById('product-main-image').src
            };
            
            if (!color || !size) {
                let message = '';
                if (!color && !size) {
                    message = 'Por favor, selecione a cor e o tamanho';
                } else if (!color) {
                    message = 'Por favor, selecione a cor';
                } else {
                    message = 'Por favor, selecione o tamanho';
                }
                showNotification(message, 'gray');
                return;
            }
            
            addToCart(product, color, size, quantity);
        }
        
        // Initialize voltage meters
        updateVoltageMeters();

        // Show buy button when clicking product image
        function showBuyButton(imgElement) {
            const container = imgElement.closest('.relative');
            const buyButton = container.querySelector('.buy-button-container');
            buyButton.classList.toggle('opacity-0');
            buyButton.classList.toggle('opacity-100');
        }

        // Open product page from hero banner
        function openProductPageFromHero(event, button) {
            event.preventDefault();
            const product = {
                title: "CAMISETA OVERSIZED VOLT",
                price: "R$ 129,90",
                description: 'Camiseta oversized premium com estampa exclusiva VOLT. Modelagem confortável e moderna, perfeita para looks despojados.',
                image: "https://images.unsplash.com/photo-1529374255404-311a2a4f1fd9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=776&q=80"
            };
            openProductPage(product);
        }

        // Open product page from buy button
        function openProductPageFromCard(event, button) {
            event.preventDefault();
            event.stopPropagation();
            const productCard = button.closest('.product-card');
            const product = {
                title: productCard.querySelector('h3').textContent,
                price: productCard.querySelector('.font-bold:last-child').textContent,
                description: 'Camiseta oversized premium com estampa exclusiva VOLT. Modelagem confortável e moderna, perfeita para looks despojados.',
                image: productCard.querySelector('.product-image').src
            };
            openProductPage(product);
            initializeQuantityControls();
        }

        // Initialize product selection controls
        function initializeQuantityControls() {
            // Color selection
            const colorOptions = document.querySelectorAll('.color-option');
            colorOptions.forEach(option => {
                option.addEventListener('click', function() {
                    // Remove selected class from all color options
                    colorOptions.forEach(opt => {
                        opt.classList.remove('selected-color');
                    });
                    // Add selected class to clicked option
                    this.classList.add('selected-color');
                    // Store selected color
                    document.getElementById('product-page').dataset.selectedColor = this.dataset.color;
                });
            });

            // Set default selected color if none selected
            if (!document.getElementById('product-page').dataset.selectedColor) {
                document.getElementById('product-page').dataset.selectedColor = 'black';
                document.querySelector('.color-option[data-color="black"]').classList.add('selected-color');
            } else {
                const selectedColor = document.getElementById('product-page').dataset.selectedColor;
                document.querySelector(`.color-option[data-color="${selectedColor}"]`).classList.add('selected-color');
            }

            // Size selection
            const sizeOptions = document.querySelectorAll('.size-option');
            sizeOptions.forEach(option => {
                option.addEventListener('click', function() {
                    // Remove selected class from all size options
                    sizeOptions.forEach(opt => {
                        opt.classList.remove('selected-size');
                    });
                    // Add selected class to clicked option
                    this.classList.add('selected-size');
                    // Store selected size
                    document.getElementById('product-page').dataset.selectedSize = this.dataset.size;
                });
            });

            // Initialize selected size (default to M if none selected)
            const selectedSize = document.getElementById('product-page').dataset.selectedSize || 'M';
            document.querySelector(`.size-option[data-size="${selectedSize}"]`).classList.add('selected-size');

            const decreaseBtn = document.getElementById('decrease-qty');
            const increaseBtn = document.getElementById('increase-qty');
            const quantityInput = document.getElementById('quantity');
            const warningDiv = document.getElementById('quantity-warning');
            
            // Button controls
            decreaseBtn.addEventListener('click', () => {
                let quantity = parseInt(quantityInput.value);
                if (isNaN(quantity)) quantity = 1;
                if (quantity > 1) {
                    quantityInput.value = quantity - 1;
                }
            });
            
            increaseBtn.addEventListener('click', () => {
                let quantity = parseInt(quantityInput.value);
                if (isNaN(quantity)) quantity = 0;
                if (quantity < 100) {
                    quantityInput.value = quantity + 1;
                    // Show warning when reaching 100
                    if (quantity + 1 === 100) {
                        showQuantityWarning();
                    }
                } else {
                    showQuantityWarning();
                }
            });
            
            // Input validation
            quantityInput.addEventListener('input', () => {
                let quantity = parseInt(quantityInput.value);
                
                if (isNaN(quantity)) {
                    quantityInput.value = 1;
                    return;
                }
                
                if (quantity > 100) {
                    quantityInput.value = 100;
                    showQuantityWarning();
                } else if (quantity < 1) {
                    quantityInput.value = 1;
                }
                
                // Show warning if quantity is exactly 100
                if (quantity === 100) {
                    showQuantityWarning();
                }
            });

            // Also validate on blur in case user typed invalid value
            quantityInput.addEventListener('blur', () => {
                let quantity = parseInt(quantityInput.value);
                if (isNaN(quantity) || quantity < 1) {
                    quantityInput.value = 1;
                } else if (quantity > 100) {
                    quantityInput.value = 100;
                    showQuantityWarning();
                }
            });
            
            let warningTimer;
            
            function showQuantityWarning() {
                // Clear any existing timer
                if (warningTimer) {
                    clearInterval(warningTimer);
                }
                
                warningDiv.classList.remove('hidden');
                let timeLeft = 7;
                const timer = document.getElementById('warning-timer');
                timer.style.width = '100%';
                
                warningTimer = setInterval(() => {
                    timeLeft -= 0.1;
                    timer.style.width = `${(timeLeft / 7) * 100}%`;
                    
                    if (timeLeft <= 0) {
                        clearInterval(warningTimer);
                        warningDiv.classList.add('hidden');
                    }
                }, 100);
            }
        }

        // Add click handlers to all "COMPRAR" buttons
        document.querySelectorAll('.product-card a[href="#"]').forEach(button => {
            button.addEventListener('click', function(e) {
                e.preventDefault();
                const productCard = this.closest('.product-card');
                const product = {
                    title: productCard.querySelector('h3').textContent,
                    price: productCard.querySelector('.font-bold:last-child').textContent,
                    description: 'Camiseta oversized premium com estampa exclusiva VOLT. Modelagem confortável e moderna, perfeita para looks despojados.',
                    image: productCard.querySelector('.product-image').src
                };
                openProductPage(product);
                // Initialize quantity controls
                const decreaseBtn = document.getElementById('decrease-qty');
                const increaseBtn = document.getElementById('increase-qty');
                const quantityInput = document.getElementById('quantity');
                const warningDiv = document.getElementById('quantity-warning');
                
                // Button controls
                decreaseBtn.addEventListener('click', () => {
                    let quantity = parseInt(quantityInput.value);
                    if (quantity > 1) {
                        quantityInput.value = quantity - 1;
                    }
                });
                
                increaseBtn.addEventListener('click', () => {
                    let quantity = parseInt(quantityInput.value);
                    if (quantity < 100) {
                        quantityInput.value = quantity + 1;
                        // Show warning when reaching 100
                        if (quantity + 1 === 100) {
                            showQuantityWarning();
                        }
                    } else {
                        showQuantityWarning();
                    }
                });
                
                // Input validation
                quantityInput.addEventListener('input', () => {
                    let quantity = parseInt(quantityInput.value);
                    
                    if (isNaN(quantity)) {
                        return; // Allow empty input
                    }
                    
                    if (quantity > 100) {
                        quantityInput.value = 100;
                        showQuantityWarning();
                    } else if (quantity < 1) {
                        quantityInput.value = 1;
                    }
                    
                    // Show warning if quantity is exactly 100
                    if (quantity === 100) {
                        showQuantityWarning();
                    }
                });
                
                let warningTimer;
                
                function showQuantityWarning() {
                    // Clear any existing timer
                    if (warningTimer) {
                        clearInterval(warningTimer);
                    }
                    
                    warningDiv.classList.remove('hidden');
                    let timeLeft = 7;
                    const timer = document.getElementById('warning-timer');
                    timer.style.width = '100%';
                    
                    warningTimer = setInterval(() => {
                        timeLeft -= 0.1;
                        timer.style.width = `${(timeLeft / 7) * 100}%`;
                        
                        if (timeLeft <= 0) {
                            clearInterval(warningTimer);
                            warningDiv.classList.add('hidden');
                        }
                    }, 100);
                }
            });
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://deepsite.hf.co/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=Paolo2000p/volt" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p><p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://deepsite.hf.co/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=Antoli121/good" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p><p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://deepsite.hf.co/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=Alex3566m/volts" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p><p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://deepsite.hf.co/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=Juanelgod5/volt-1" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p><p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://deepsite.hf.co/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=Matheusopro/g" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p><p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Proplayer555/Volt-2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>