File size: 48,026 Bytes
786cca8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Amazon Product Page</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">
    <style>
        .product-gallery {
            display: grid;
            grid-template-columns: 80px 1fr;
            gap: 15px;
        }
        .thumbnail-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .thumbnail {
            border: 1px solid #ddd;
            cursor: pointer;
            transition: all 0.3s;
        }
        .thumbnail:hover, .thumbnail.active {
            border-color: #e77600;
            box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
        }
        .main-image {
            position: relative;
        }
        .zoom-lens {
            position: absolute;
            border: 1px solid #d4d4d4;
            background-color: rgba(255, 255, 255, 0.5);
            display: none;
        }
        .zoom-result {
            position: absolute;
            left: 105%;
            width: 400px;
            height: 400px;
            border: 1px solid #d4d4d4;
            background-repeat: no-repeat;
            display: none;
            z-index: 100;
        }
        .delivery-option {
            border-left: 3px solid #e77600;
            padding-left: 10px;
        }
        .color-option {
            border: 1px solid #ddd;
            padding: 2px;
            cursor: pointer;
        }
        .color-option.selected {
            border-color: #e77600;
            box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
        }
        .progress-bar {
            height: 4px;
            background: linear-gradient(to right, #ffa41c 80%, #ddd 80%);
        }
        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
    </style>
</head>
<body class="bg-gray-100">
    <!-- Header -->
    <header class="bg-gray-900 text-white">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between">
            <div class="flex items-center">
                <div class="mr-4">
                    <a href="#" class="text-2xl font-bold text-white">Amazon</a>
                </div>
                <div class="hidden md:flex items-center">
                    <i class="fas fa-map-marker-alt mr-1"></i>
                    <div>
                        <div class="text-xs text-gray-300">Deliver to</div>
                        <div class="text-sm font-bold">United States</div>
                    </div>
                </div>
            </div>
            
            <div class="flex-1 mx-4 hidden md:block">
                <div class="relative">
                    <select class="h-10 rounded-l-md border-r border-gray-300 bg-gray-100 text-black px-2 text-sm">
                        <option>All</option>
                        <option>Electronics</option>
                        <option>Books</option>
                        <option>Home</option>
                    </select>
                    <input type="text" class="h-10 w-full px-4 text-black" placeholder="Search Amazon">
                    <button class="absolute right-0 top-0 h-10 px-4 bg-yellow-400 rounded-r-md hover:bg-yellow-500">
                        <i class="fas fa-search"></i>
                    </button>
                </div>
            </div>
            
            <div class="flex items-center">
                <div class="hidden md:block mx-2">
                    <div class="text-xs">Hello, Sign in</div>
                    <div class="text-sm font-bold">Account & Lists</div>
                </div>
                <div class="hidden md:block mx-2">
                    <div class="text-xs">Returns</div>
                    <div class="text-sm font-bold">& Orders</div>
                </div>
                <div class="mx-2 flex items-center">
                    <i class="fas fa-shopping-cart text-2xl"></i>
                    <span class="ml-1 text-sm font-bold">Cart</span>
                </div>
            </div>
        </div>
        
        <div class="bg-gray-800 py-2 px-4 flex items-center text-sm overflow-x-auto">
            <a href="#" class="flex items-center mr-6 whitespace-nowrap">
                <i class="fas fa-bars mr-1"></i>
                <span>All</span>
            </a>
            <a href="#" class="mr-6 whitespace-nowrap">Today's Deals</a>
            <a href="#" class="mr-6 whitespace-nowrap">Customer Service</a>
            <a href="#" class="mr-6 whitespace-nowrap">Registry</a>
            <a href="#" class="mr-6 whitespace-nowrap">Gift Cards</a>
            <a href="#" class="whitespace-nowrap">Sell</a>
        </div>
    </header>

    <!-- Breadcrumb -->
    <div class="bg-gray-200 py-2 px-4 text-sm">
        <div class="container mx-auto">
            <a href="#" class="text-blue-600 hover:underline">Electronics</a>
            <span class="mx-1">></span>
            <a href="#" class="text-blue-600 hover:underline">Computers & Accessories</a>
            <span class="mx-1">></span>
            <a href="#" class="text-blue-600 hover:underline">Laptops</a>
        </div>
    </div>

    <!-- Main Content -->
    <main class="container mx-auto px-4 py-6">
        <div class="bg-white p-6 rounded-lg shadow-sm">
            <!-- Product Info Section -->
            <div class="md:flex">
                <!-- Product Gallery -->
                <div class="md:w-2/5 product-gallery">
                    <div class="thumbnail-container">
                        <img src="https://m.media-amazon.com/images/I/71vFKBpKakL._AC_SX679_.jpg" class="thumbnail w-full h-20 object-contain active" alt="Thumbnail 1">
                        <img src="https://m.media-amazon.com/images/I/71WkD5--Q6L._AC_SX679_.jpg" class="thumbnail w-full h-20 object-contain" alt="Thumbnail 2">
                        <img src="https://m.media-amazon.com/images/I/71TPda7cwUL._AC_SX679_.jpg" class="thumbnail w-full h-20 object-contain" alt="Thumbnail 3">
                        <img src="https://m.media-amazon.com/images/I/71yZyrDyqVL._AC_SX679_.jpg" class="thumbnail w-full h-20 object-contain" alt="Thumbnail 4">
                    </div>
                    <div class="main-image relative">
                        <img id="mainImage" src="https://m.media-amazon.com/images/I/71vFKBpKakL._AC_SX679_.jpg" class="w-full h-auto max-h-96 object-contain" alt="Main Product Image">
                        <div class="zoom-lens"></div>
                        <div class="zoom-result"></div>
                    </div>
                </div>
                
                <!-- Product Details -->
                <div class="md:w-3/5 md:pl-8 mt-6 md:mt-0">
                    <h1 class="text-2xl font-medium">Apple MacBook Pro (16-inch, M1 Pro chip with 10‑core CPU and 16‑core GPU, 16GB RAM, 1TB SSD) - Space Gray</h1>
                    <div class="flex items-center mt-2">
                        <div class="flex text-yellow-400">
                            <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="fas fa-star-half-alt"></i>
                        </div>
                        <a href="#reviews" class="text-blue-600 hover:underline ml-2">12,345 ratings</a>
                        <span class="mx-2">|</span>
                        <a href="#qa" class="text-blue-600 hover:underline">1,234 answered questions</a>
                    </div>
                    
                    <div class="mt-4">
                        <div class="text-red-600 text-lg font-medium">$2,399.00</div>
                        <div class="text-sm text-gray-600">$2,499.00 (4% off)</div>
                        <div class="text-sm mt-1">No Import Fees Deposit & $18.98 Shipping to United States</div>
                        <div class="text-green-700 text-sm mt-1">In Stock</div>
                    </div>
                    
                    <div class="mt-4">
                        <div class="font-medium">About this item</div>
                        <ul class="list-disc pl-5 mt-2 space-y-1">
                            <li>Apple M1 Pro or M1 Max chip for a massive leap in CPU, GPU, and machine learning performance</li>
                            <li>Up to 10-core CPU delivers up to 2x faster performance to fly through pro workflows quicker than ever</li>
                            <li>Up to 32-core GPU with up to 4x faster performance for graphics-intensive apps and games</li>
                            <li>16-core Neural Engine for up to 5x faster machine learning performance</li>
                            <li>Longer battery life, up to 21 hours</li>
                        </ul>
                    </div>
                </div>
            </div>
            
            <!-- Purchase Options -->
            <div class="mt-8 border-t pt-6">
                <div class="md:flex">
                    <div class="md:w-2/5">
                        <div class="font-medium mb-2">Color: <span class="font-normal" id="selectedColor">Space Gray</span></div>
                        <div class="flex space-x-2">
                            <div class="color-option selected" data-color="Space Gray" data-image="https://m.media-amazon.com/images/I/71vFKBpKakL._AC_SX679_.jpg">
                                <img src="https://m.media-amazon.com/images/I/71vFKBpKakL._AC_SX45_.jpg" alt="Space Gray" class="w-12 h-12 object-contain">
                            </div>
                            <div class="color-option" data-color="Silver" data-image="https://m.media-amazon.com/images/I/71TPda7cwUL._AC_SX679_.jpg">
                                <img src="https://m.media-amazon.com/images/I/71TPda7cwUL._AC_SX45_.jpg" alt="Silver" class="w-12 h-12 object-contain">
                            </div>
                        </div>
                        
                        <div class="mt-4">
                            <div class="font-medium mb-2">Size: <span class="font-normal">16-inch</span></div>
                            <div class="font-medium mb-2">Configuration: <span class="font-normal">M1 Pro, 16GB RAM, 1TB SSD</span></div>
                        </div>
                    </div>
                    
                    <div class="md:w-3/5 md:pl-8 mt-6 md:mt-0">
                        <div class="border rounded-md p-4">
                            <div class="text-xl font-medium">$2,399.00</div>
                            <div class="text-sm text-gray-600 mt-1">$2,499.00 (4% off)</div>
                            
                            <div class="mt-3 delivery-option">
                                <div class="font-medium">FREE delivery <span class="font-normal">Monday, June 5</span></div>
                                <div class="text-sm">Order within 5 hrs 26 mins</div>
                                <div class="text-sm flex items-center mt-1">
                                    <i class="fas fa-map-marker-alt mr-1"></i>
                                    <span>Deliver to United States</span>
                                </div>
                            </div>
                            
                            <div class="mt-3">
                                <div class="text-green-700 font-medium">In Stock</div>
                                <div class="text-sm mt-1">Sold by Amazon.com and ships from Amazon Fulfillment</div>
                            </div>
                            
                            <div class="mt-4">
                                <select class="w-full p-2 border rounded-md bg-gray-100">
                                    <option>Qty: 1</option>
                                    <option>2</option>
                                    <option>3</option>
                                    <option>4</option>
                                    <option>5</option>
                                </select>
                            </div>
                            
                            <div class="mt-4 space-y-2">
                                <button class="w-full bg-yellow-400 hover:bg-yellow-500 py-2 rounded-full font-medium">
                                    Add to Cart
                                </button>
                                <button class="w-full bg-orange-400 hover:bg-orange-500 py-2 rounded-full font-medium">
                                    Buy Now
                                </button>
                            </div>
                            
                            <div class="mt-3 text-sm">
                                <div class="flex items-center">
                                    <input type="checkbox" id="addGift" class="mr-2">
                                    <label for="addGift">Add a gift receipt for easy returns</label>
                                </div>
                            </div>
                            
                            <div class="mt-3 text-sm flex items-center">
                                <i class="fas fa-lock mr-1"></i>
                                <span>Secure transaction</span>
                            </div>
                        </div>
                        
                        <div class="mt-4 flex items-center text-sm">
                            <span>Add to List</span>
                            <button class="ml-4 text-blue-600 hover:underline">Add to Wish List</button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Additional Info -->
            <div class="mt-8 border-t pt-6">
                <h2 class="text-xl font-medium mb-4">Product information</h2>
                
                <div class="grid md:grid-cols-2 gap-4">
                    <div>
                        <table class="w-full">
                            <tr class="border-b">
                                <td class="py-2 font-medium bg-gray-100">Brand</td>
                                <td class="py-2">Apple</td>
                            </tr>
                            <tr class="border-b">
                                <td class="py-2 font-medium bg-gray-100">Model Name</td>
                                <td class="py-2">MacBook Pro</td>
                            </tr>
                            <tr class="border-b">
                                <td class="py-2 font-medium bg-gray-100">Screen Size</td>
                                <td class="py-2">16 Inches</td>
                            </tr>
                            <tr class="border-b">
                                <td class="py-2 font-medium bg-gray-100">Color</td>
                                <td class="py-2">Space Gray</td>
                            </tr>
                        </table>
                    </div>
                    <div>
                        <table class="w-full">
                            <tr class="border-b">
                                <td class="py-2 font-medium bg-gray-100">Hard Disk Size</td>
                                <td class="py-2">1 TB</td>
                            </tr>
                            <tr class="border-b">
                                <td class="py-2 font-medium bg-gray-100">CPU Model</td>
                                <td class="py-2">Apple M1 Pro</td>
                            </tr>
                            <tr class="border-b">
                                <td class="py-2 font-medium bg-gray-100">RAM Memory</td>
                                <td class="py-2">16 GB</td>
                            </tr>
                            <tr class="border-b">
                                <td class="py-2 font-medium bg-gray-100">Operating System</td>
                                <td class="py-2">Mac OS</td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            
            <!-- Customer Reviews -->
            <div id="reviews" class="mt-8 border-t pt-6">
                <h2 class="text-xl font-medium mb-4">Customer reviews</h2>
                
                <div class="md:flex">
                    <div class="md:w-1/3 text-center">
                        <div class="text-4xl font-light">4.7</div>
                        <div class="flex justify-center text-yellow-400 mt-1">
                            <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="fas fa-star-half-alt"></i>
                        </div>
                        <div class="text-sm text-gray-600 mt-1">12,345 global ratings</div>
                    </div>
                    
                    <div class="md:w-2/3 mt-6 md:mt-0">
                        <div class="space-y-2">
                            <div class="flex items-center">
                                <span class="w-20 text-sm">5 star</span>
                                <div class="flex-1 mx-2">
                                    <div class="progress-bar w-full"></div>
                                </div>
                                <span class="w-10 text-sm text-right">80%</span>
                            </div>
                            <div class="flex items-center">
                                <span class="w-20 text-sm">4 star</span>
                                <div class="flex-1 mx-2">
                                    <div class="progress-bar w-full" style="background: linear-gradient(to right, #ffa41c 15%, #ddd 15%)"></div>
                                </div>
                                <span class="w-10 text-sm text-right">15%</span>
                            </div>
                            <div class="flex items-center">
                                <span class="w-20 text-sm">3 star</span>
                                <div class="flex-1 mx-2">
                                    <div class="progress-bar w-full" style="background: linear-gradient(to right, #ffa41c 3%, #ddd 3%)"></div>
                                </div>
                                <span class="w-10 text-sm text-right">3%</span>
                            </div>
                            <div class="flex items-center">
                                <span class="w-20 text-sm">2 star</span>
                                <div class="flex-1 mx-2">
                                    <div class="progress-bar w-full" style="background: linear-gradient(to right, #ffa41c 1%, #ddd 1%)"></div>
                                </div>
                                <span class="w-10 text-sm text-right">1%</span>
                            </div>
                            <div class="flex items-center">
                                <span class="w-20 text-sm">1 star</span>
                                <div class="flex-1 mx-2">
                                    <div class="progress-bar w-full" style="background: linear-gradient(to right, #ffa41c 1%, #ddd 1%)"></div>
                                </div>
                                <span class="w-10 text-sm text-right">1%</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="mt-6">
                    <h3 class="font-medium">Review this product</h3>
                    <p class="text-sm mt-1">Share your thoughts with other customers</p>
                    <button class="mt-2 bg-gray-200 hover:bg-gray-300 px-4 py-1 rounded-full text-sm font-medium">
                        Write a customer review
                    </button>
                </div>
                
                <div class="mt-6">
                    <h3 class="font-medium">Top reviews from the United States</h3>
                    
                    <div class="mt-4 space-y-6">
                        <!-- Review 1 -->
                        <div>
                            <div class="flex items-center">
                                <div class="w-10 h-10 rounded-full bg-gray-300 flex items-center justify-center">
                                    <span class="text-lg">J</span>
                                </div>
                                <div class="ml-3">
                                    <div class="font-medium">John D.</div>
                                    <div class="flex text-yellow-400 text-sm">
                                        <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="fas fa-star"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="mt-2">
                                <div class="font-medium">Amazing performance!</div>
                                <p class="mt-1 text-sm">This MacBook Pro is a beast! The M1 Pro chip handles everything I throw at it with ease. The battery life is incredible, and the display is stunning. Worth every penny.</p>
                                <div class="text-xs text-gray-500 mt-2">Reviewed in the United States on May 15, 2023</div>
                                <div class="mt-2 text-sm">
                                    <span class="font-medium">Verified Purchase</span>
                                </div>
                            </div>
                        </div>
                        
                        <!-- Review 2 -->
                        <div>
                            <div class="flex items-center">
                                <div class="w-10 h-10 rounded-full bg-gray-300 flex items-center justify-center">
                                    <span class="text-lg">S</span>
                                </div>
                                <div class="ml-3">
                                    <div class="font-medium">Sarah M.</div>
                                    <div class="flex text-yellow-400 text-sm">
                                        <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="fas fa-star-half-alt"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="mt-2">
                                <div class="font-medium">Great but expensive</div>
                                <p class="mt-1 text-sm">The performance is outstanding and the build quality is excellent as expected from Apple. My only complaint is the price - it's quite steep, but you get what you pay for.</p>
                                <div class="text-xs text-gray-500 mt-2">Reviewed in the United States on April 28, 2023</div>
                                <div class="mt-2 text-sm">
                                    <span class="font-medium">Verified Purchase</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="mt-6 text-center">
                        <button class="text-blue-600 hover:underline">See all reviews</button>
                    </div>
                </div>
            </div>
            
            <!-- Frequently Bought Together -->
            <div class="mt-8 border-t pt-6">
                <h2 class="text-xl font-medium mb-4">Frequently bought together</h2>
                
                <div class="md:flex items-start">
                    <div class="flex">
                        <div class="w-24 h-24 bg-white border rounded flex items-center justify-center">
                            <img src="https://m.media-amazon.com/images/I/71vFKBpKakL._AC_SX45_.jpg" alt="MacBook Pro" class="w-20 h-20 object-contain">
                        </div>
                        <div class="mx-2 text-2xl flex items-center">+</div>
                        <div class="w-24 h-24 bg-white border rounded flex items-center justify-center">
                            <img src="https://m.media-amazon.com/images/I/71WkD5--Q6L._AC_SX45_.jpg" alt="USB-C Adapter" class="w-20 h-20 object-contain">
                        </div>
                        <div class="mx-2 text-2xl flex items-center">+</div>
                        <div class="w-24 h-24 bg-white border rounded flex items-center justify-center">
                            <img src="https://m.media-amazon.com/images/I/71TPda7cwUL._AC_SX45_.jpg" alt="Case" class="w-20 h-20 object-contain">
                        </div>
                    </div>
                    
                    <div class="md:ml-6 mt-4 md:mt-0">
                        <div class="text-lg font-medium">Total price: <span class="text-red-600">$2,498.98</span></div>
                        <div class="mt-2">
                            <button class="bg-yellow-400 hover:bg-yellow-500 px-4 py-1 rounded-full text-sm font-medium">
                                Add all three to Cart
                            </button>
                        </div>
                        <div class="mt-2 text-sm">
                            <div class="flex items-center">
                                <input type="checkbox" id="addAll" class="mr-2" checked>
                                <label for="addAll">This item: Apple MacBook Pro (16-inch, M1 Pro) - $2,399.00</label>
                            </div>
                            <div class="flex items-center mt-1">
                                <input type="checkbox" id="addAdapter" class="mr-2" checked>
                                <label for="addAdapter">USB-C to USB Adapter - $19.99</label>
                            </div>
                            <div class="flex items-center mt-1">
                                <input type="checkbox" id="addCase" class="mr-2" checked>
                                <label for="addCase">MacBook Pro 16" Case - $79.99</label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Product Q&A -->
            <div id="qa" class="mt-8 border-t pt-6">
                <h2 class="text-xl font-medium mb-4">Customer questions & answers</h2>
                
                <div class="mb-4">
                    <div class="relative">
                        <input type="text" placeholder="Search questions" class="w-full p-2 border rounded-md pl-10">
                        <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
                    </div>
                </div>
                
                <div class="space-y-4">
                    <!-- Question 1 -->
                    <div>
                        <div class="font-medium">Does this model have the Touch Bar?</div>
                        <div class="text-sm mt-1">Yes, the 16-inch MacBook Pro features the Touch Bar with integrated Touch ID sensor.</div>
                        <div class="text-xs text-gray-500 mt-2">Answered by Amazon Customer · 3 months ago</div>
                        <div class="mt-2 text-sm">
                            <span class="text-blue-600 hover:underline cursor-pointer">5 people found this helpful</span>
                            <span class="mx-2">·</span>
                            <span class="text-blue-600 hover:underline cursor-pointer">Report</span>
                        </div>
                    </div>
                    
                    <!-- Question 2 -->
                    <div>
                        <div class="font-medium">Is the RAM upgradable?</div>
                        <div class="text-sm mt-1">No, the RAM is soldered to the logic board and cannot be upgraded after purchase. Make sure to choose the right configuration when ordering.</div>
                        <div class="text-xs text-gray-500 mt-2">Answered by Apple Support · 4 months ago</div>
                        <div class="mt-2 text-sm">
                            <span class="text-blue-600 hover:underline cursor-pointer">12 people found this helpful</span>
                            <span class="mx-2">·</span>
                            <span class="text-blue-600 hover:underline cursor-pointer">Report</span>
                        </div>
                    </div>
                </div>
                
                <div class="mt-6">
                    <button class="text-blue-600 hover:underline">See all questions</button>
                </div>
                
                <div class="mt-6">
                    <button class="bg-gray-200 hover:bg-gray-300 px-4 py-2 rounded-md text-sm font-medium">
                        Ask a question
                    </button>
                </div>
            </div>
            
            <!-- Product Comparison -->
            <div class="mt-8 border-t pt-6">
                <h2 class="text-xl font-medium mb-4">Compare with similar items</h2>
                
                <div class="overflow-x-auto">
                    <table class="w-full">
                        <thead>
                            <tr class="border-b">
                                <th class="text-left py-2">Product</th>
                                <th class="text-left py-2">Price</th>
                                <th class="text-left py-2">Processor</th>
                                <th class="text-left py-2">RAM</th>
                                <th class="text-left py-2">Storage</th>
                                <th class="text-left py-2">Rating</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="border-b hover:bg-gray-50">
                                <td class="py-3">
                                    <div class="flex items-center">
                                        <img src="https://m.media-amazon.com/images/I/71vFKBpKakL._AC_SX45_.jpg" alt="MacBook Pro" class="w-10 h-10 object-contain mr-2">
                                        <span>MacBook Pro 16" M1 Pro</span>
                                    </div>
                                </td>
                                <td class="py-3">$2,399.00</td>
                                <td class="py-3">M1 Pro 10-core</td>
                                <td class="py-3">16GB</td>
                                <td class="py-3">1TB SSD</td>
                                <td class="py-3">
                                    <div class="flex text-yellow-400 text-sm">
                                        <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="fas fa-star-half-alt"></i>
                                    </div>
                                </td>
                            </tr>
                            <tr class="border-b hover:bg-gray-50">
                                <td class="py-3">
                                    <div class="flex items-center">
                                        <img src="https://m.media-amazon.com/images/I/61lYIKPieDL._AC_SX45_.jpg" alt="MacBook Air" class="w-10 h-10 object-contain mr-2">
                                        <span>MacBook Air M2</span>
                                    </div>
                                </td>
                                <td class="py-3">$1,199.00</td>
                                <td class="py-3">M2 8-core</td>
                                <td class="py-3">8GB</td>
                                <td class="py-3">256GB SSD</td>
                                <td class="py-3">
                                    <div class="flex text-yellow-400 text-sm">
                                        <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="fas fa-star"></i>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            
            <!-- Product Description -->
            <div class="mt-8 border-t pt-6">
                <h2 class="text-xl font-medium mb-4">From the manufacturer</h2>
                
                <div class="mt-4">
                    <img src="https://m.media-amazon.com/images/I/71yZyrDyqVL._AC_SX679_.jpg" alt="MacBook Pro Features" class="w-full">
                </div>
                
                <div class="mt-6">
                    <h3 class="font-medium">Supercharged for pros</h3>
                    <p class="mt-2">The most powerful MacBook Pro ever is here. With the blazing-fast M1 Pro or M1 Max chip — the first Apple silicon designed for pros — you get groundbreaking performance and amazing battery life. Add to that a stunning Liquid Retina XDR display, the best camera and audio ever in a Mac notebook, and all the ports you need. The first notebook of its kind, this MacBook Pro is a beast.</p>
                </div>
                
                <div class="mt-6 grid md:grid-cols-2 gap-6">
                    <div>
                        <h3 class="font-medium">M1 Pro or M1 Max chip</h3>
                        <p class="mt-2">The M1 Pro and M1 Max scale the amazing benefits of Apple silicon to new heights — and for the first time, they bring a system on a chip (SoC) architecture to a pro notebook. Both have more CPU cores, more GPU cores, and more unified memory than M1. Along with a powerful Neural Engine for supercharged machine learning and upgraded media engines with ProRes support, M1 Pro and M1 Max allow pros to push their creativity even further.</p>
                    </div>
                    <div>
                        <h3 class="font-medium">Liquid Retina XDR display</h3>
                        <p class="mt-2">The best display ever in a Mac notebook. The 16-inch Liquid Retina XDR display features extreme dynamic range, a million-to-one contrast ratio, and breathtaking brightness. It supports 1 billion colors, wide color gamut P3, and features pro reference modes for doing your best work on the go.</p>
                    </div>
                </div>
            </div>
            
            <!-- Product Specifications -->
            <div class="mt-8 border-t pt-6">
                <h2 class="text-xl font-medium mb-4">Technical Details</h2>
                
                <div class="accordion">
                    <div class="border-b py-3">
                        <div class="flex justify-between items-center cursor-pointer accordion-header">
                            <h3 class="font-medium">Display</h3>
                            <i class="fas fa-chevron-down transition-transform"></i>
                        </div>
                        <div class="accordion-content">
                            <table class="w-full mt-2">
                                <tr>
                                    <td class="py-1 font-medium w-1/3">Screen Size</td>
                                    <td class="py-1">16 Inches</td>
                                </tr>
                                <tr>
                                    <td class="py-1 font-medium">Display Resolution Maximum</td>
                                    <td class="py-1">3456 x 2234</td>
                                </tr>
                                <tr>
                                    <td class="py-1 font-medium">Display Technology</td>
                                    <td class="py-1">Liquid Retina XDR</td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    
                    <div class="border-b py-3">
                        <div class="flex justify-between items-center cursor-pointer accordion-header">
                            <h3 class="font-medium">Processor</h3>
                            <i class="fas fa-chevron-down transition-transform"></i>
                        </div>
                        <div class="accordion-content">
                            <table class="w-full mt-2">
                                <tr>
                                    <td class="py-1 font-medium w-1/3">CPU Model</td>
                                    <td class="py-1">Apple M1 Pro</td>
                                </tr>
                                <tr>
                                    <td class="py-1 font-medium">CPU Speed</td>
                                    <td class="py-1">3.2 GHz (10-core)</td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    
                    <div class="border-b py-3">
                        <div class="flex justify-between items-center cursor-pointer accordion-header">
                            <h3 class="font-medium">Memory</h3>
                            <i class="fas fa-chevron-down transition-transform"></i>
                        </div>
                        <div class="accordion-content">
                            <table class="w-full mt-2">
                                <tr>
                                    <td class="py-1 font-medium w-1/3">RAM Memory</td>
                                    <td class="py-1">16 GB</td>
                                </tr>
                                <tr>
                                    <td class="py-1 font-medium">Memory Technology</td>
                                    <td class="py-1">Unified Memory</td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- Footer -->
    <footer class="bg-gray-200 mt-10">
        <div class="container mx-auto px-4 py-8">
            <div class="text-center">
                <button class="text-sm bg-gray-300 hover:bg-gray-400 px-4 py-2 rounded">
                    Back to top
                </button>
            </div>
            
            <div class="mt-8 grid grid-cols-2 md:grid-cols-4 gap-8">
                <div>
                    <h3 class="font-bold">Get to Know Us</h3>
                    <ul class="mt-4 space-y-2 text-sm">
                        <li><a href="#" class="hover:underline">Careers</a></li>
                        <li><a href="#" class="hover:underline">Blog</a></li>
                        <li><a href="#" class="hover:underline">About Amazon</a></li>
                        <li><a href="#" class="hover:underline">Investor Relations</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="font-bold">Make Money with Us</h3>
                    <ul class="mt-4 space-y-2 text-sm">
                        <li><a href="#" class="hover:underline">Sell products on Amazon</a></li>
                        <li><a href="#" class="hover:underline">Sell on Amazon Business</a></li>
                        <li><a href="#" class="hover:underline">Become an Affiliate</a></li>
                        <li><a href="#" class="hover:underline">Advertise Your Products</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="font-bold">Amazon Payment Products</h3>
                    <ul class="mt-4 space-y-2 text-sm">
                        <li><a href="#" class="hover:underline">Amazon Business Card</a></li>
                        <li><a href="#" class="hover:underline">Shop with Points</a></li>
                        <li><a href="#" class="hover:underline">Reload Your Balance</a></li>
                        <li><a href="#" class="hover:underline">Amazon Currency Converter</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="font-bold">Let Us Help You</h3>
                    <ul class="mt-4 space-y-2 text-sm">
                        <li><a href="#" class="hover:underline">Amazon and COVID-19</a></li>
                        <li><a href="#" class="hover:underline">Your Account</a></li>
                        <li><a href="#" class="hover:underline">Your Orders</a></li>
                        <li><a href="#" class="hover:underline">Shipping Rates & Policies</a></li>
                    </ul>
                </div>
            </div>
            
            <div class="mt-8 border-t pt-6">
                <div class="flex justify-center">
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/Amazon_logo.svg/2560px-Amazon_logo.svg.png" alt="Amazon Logo" class="h-6">
                </div>
                <div class="mt-4 text-center text-sm">
                    <span>© 1996-2023, Amazon.com, Inc. or its affiliates</span>
                </div>
            </div>
        </div>
    </footer>

    <script>
        // Thumbnail click functionality
        document.querySelectorAll('.thumbnail').forEach(thumb => {
            thumb.addEventListener('click', function() {
                // Remove active class from all thumbnails
                document.querySelectorAll('.thumbnail').forEach(t => t.classList.remove('active'));
                
                // Add active class to clicked thumbnail
                this.classList.add('active');
                
                // Update main image
                const mainImage = document.getElementById('mainImage');
                mainImage.src = this.src;
            });
        });
        
        // Color selection functionality
        document.querySelectorAll('.color-option').forEach(option => {
            option.addEventListener('click', function() {
                // Remove selected class from all color options
                document.querySelectorAll('.color-option').forEach(o => o.classList.remove('selected'));
                
                // Add selected class to clicked option
                this.classList.add('selected');
                
                // Update selected color text
                document.getElementById('selectedColor').textContent = this.dataset.color;
                
                // Update main image
                const mainImage = document.getElementById('mainImage');
                mainImage.src = this.dataset.image;
                
                // Update thumbnails
                document.querySelectorAll('.thumbnail').forEach((thumb, index) => {
                    if (index === 0) {
                        thumb.src = this.dataset.image;
                    }
                });
            });
        });
        
        // Image zoom functionality
        const mainImage = document.getElementById('mainImage');
        const lens = document.querySelector('.zoom-lens');
        const result = document.querySelector('.zoom-result');
        
        if (mainImage && lens && result) {
            mainImage.addEventListener('mousemove', function(e) {
                if (!result.style.backgroundImage) {
                    result.style.backgroundImage = `url('${this.src}')`;
                }
                
                // Calculate the position of the zoom lens
                const pos = getCursorPos(e);
                let x = pos.x - (lens.offsetWidth / 2);
                let y = pos.y - (lens.offsetHeight / 2);
                
                // Prevent the lens from being positioned outside the image
                if (x > this.width - lens.offsetWidth) x = this.width - lens.offsetWidth;
                if (x < 0) x = 0;
                if (y > this.height - lens.offsetHeight) y = this.height - lens.offsetHeight;
                if (y < 0) y = 0;
                
                // Set the position of the zoom lens
                lens.style.left = x + 'px';
                lens.style.top = y + 'px';
                
                // Display the zoom lens and result
                lens.style.display = 'block';
                result.style.display = 'block';
                
                // Calculate the zoom ratio
                const cx = result.offsetWidth / lens.offsetWidth;
                const cy = result.offsetHeight / lens.offsetHeight;
                
                // Set the background position of the zoom result
                result.style.backgroundPosition = `-${x * cx}px -${y * cy}px`;
                result.style.backgroundSize = `${this.width * cx}px ${this.height * cy}px`;
            });
            
            mainImage.addEventListener('mouseout', function() {
                lens.style.display = 'none';
                result.style.display = 'none';
            });
            
            function getCursorPos(e) {
                const a = mainImage.getBoundingClientRect();
                return {
                    x: e.pageX - a.left - window.pageXOffset,
                    y: e.pageY - a.top - window.pageYOffset
                };
            }
        }
        
        // Accordion functionality
        document.querySelectorAll('.accordion-header').forEach(header => {
            header.addEventListener('click', function() {
                const content = this.nextElementSibling;
                const icon = this.querySelector('i');
                
                if (content.style.maxHeight) {
                    content.style.maxHeight = null;
                    icon.style.transform = 'rotate(0deg)';
                } else {
                    content.style.maxHeight = content.scrollHeight + 'px';
                    icon.style.transform = 'rotate(180deg)';
                }
            });
        });
    </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://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=Cyrano2/amazon-detail" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>