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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Ray-Ban | Meta Wayfarer - Gen 2 | Azul C贸smico</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary-color: #000;
            --secondary-color: #fff;
            --accent-color: #0066cc;
            --text-color: #333;
            --light-gray: #f5f5f5;
            --medium-gray: #e0e0e0;
            --dark-gray: #757575;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-gray);
        }

        /* Header */
        header {
            background-color: var(--secondary-color);
            padding: 1rem 2rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-color);
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--primary-color);
            font-weight: 500;
            transition: var(--transition);
        }

        .nav-links a:hover {
            color: var(--accent-color);
        }

        .header-actions {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }

        .header-actions a {
            color: var(--primary-color);
            text-decoration: none;
            font-size: 1.2rem;
            transition: var(--transition);
        }

        .header-actions a:hover {
            color: var(--accent-color);
        }

        .anycoder-link {
            font-size: 0.8rem;
            color: var(--dark-gray);
            text-decoration: none;
            margin-left: 1rem;
        }

        /* Main Content */
        main {
            max-width: 1400px;
            margin: 2rem auto;
            padding: 0 2rem;
        }

        .product-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-bottom: 4rem;
        }

        /* Product Images */
        .product-images {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .main-image {
            width: 100%;
            height: 500px;
            object-fit: contain;
            background-color: var(--secondary-color);
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .thumbnail-container {
            display: flex;
            gap: 1rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
        }

        .thumbnail {
            width: 80px;
            height: 80px;
            object-fit: contain;
            background-color: var(--secondary-color);
            border-radius: 6px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: var(--transition);
        }

        .thumbnail:hover, .thumbnail.active {
            border-color: var(--accent-color);
        }

        /* Product Info */
        .product-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .product-title {
            font-size: 2rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        .product-subtitle {
            font-size: 1.2rem;
            color: var(--dark-gray);
        }

        .product-price {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        .product-description {
            font-size: 1rem;
            line-height: 1.8;
            color: var(--text-color);
        }

        .color-options {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .color-label {
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .color-swatches {
            display: flex;
            gap: 0.5rem;
        }

        .color-swatch {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid transparent;
            transition: var(--transition);
        }

        .color-swatch:hover, .color-swatch.active {
            transform: scale(1.1);
            border-color: var(--accent-color);
        }

        .size-options {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .size-label {
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .size-buttons {
            display: flex;
            gap: 0.5rem;
        }

        .size-button {
            padding: 0.5rem 1rem;
            border: 1px solid var(--medium-gray);
            background-color: var(--secondary-color);
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
        }

        .size-button:hover, .size-button.active {
            border-color: var(--accent-color);
            color: var(--accent-color);
        }

        .add-to-cart {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            padding: 1rem 2rem;
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            margin-top: 1rem;
        }

        .add-to-cart:hover {
            background-color: var(--accent-color);
        }

        /* Product Features */
        .product-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 4rem 0;
        }

        .feature-card {
            background-color: var(--secondary-color);
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .feature-icon {
            font-size: 2rem;
            color: var(--accent-color);
        }

        .feature-title {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .feature-description {
            color: var(--dark-gray);
        }

        /* Footer */
        footer {
            background-color: var(--primary-color);
            color: var(--secondary-color);
            padding: 3rem 2rem 1rem;
            margin-top: 4rem;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .footer-section h3 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }

        .footer-section ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .footer-section a {
            color: var(--secondary-color);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-section a:hover {
            color: var(--accent-color);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-links a {
            font-size: 1.5rem;
            transition: var(--transition);
        }

        .social-links a:hover {
            color: var(--accent-color);
        }

        .copyright {
            text-align: center;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 1rem;
            }

            .nav-links {
                flex-wrap: wrap;
                gap: 1rem;
            }

            .product-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .main-image {
                height: 350px;
            }

            .thumbnail-container {
                justify-content: center;
            }

            .product-features {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .product-title {
                font-size: 1.5rem;
            }

            .product-price {
                font-size: 1.5rem;
            }

            .header-actions {
                gap: 1rem;
            }
        }
    </style>
</head>
<body>
    <header>
        <div class="header-container">
            <a href="#" class="logo">RAY-BAN</a>
            <nav class="nav-links">
                <a href="#">Men</a>
                <a href="#">Women</a>
                <a href="#">Kids</a>
                <a href="#">Collection</a>
                <a href="#">Meta</a>
            </nav>
            <div class="header-actions">
                <a href="#"><i class="fas fa-search"></i></a>
                <a href="#"><i class="fas fa-user"></i></a>
                <a href="#"><i class="fas fa-heart"></i></a>
                <a href="#"><i class="fas fa-shopping-bag"></i></a>
                <a href="https://huggingface.co/spaces/akhaliq/anycoder" class="anycoder-link">Built with anycoder</a>
            </div>
        </div>
    </header>

    <main>
        <div class="product-container">
            <div class="product-images">
                <img src="https://via.placeholder.com/600x500/0066cc/ffffff?text=Ray-Ban+Meta+Wayfarer" alt="Ray-Ban Meta Wayfarer - Azul C贸smico" class="main-image" id="mainImage">
                <div class="thumbnail-container">
                    <img src="https://via.placeholder.com/80/0066cc/ffffff?text=1" alt="Thumbnail 1" class="thumbnail active" onclick="changeImage(this)">
                    <img src="https://via.placeholder.com/80/0066cc/ffffff?text=2" alt="Thumbnail 2" class="thumbnail" onclick="changeImage(this)">
                    <img src="https://via.placeholder.com/80/0066cc/ffffff?text=3" alt="Thumbnail 3" class="thumbnail" onclick="changeImage(this)">
                    <img src="https://via.placeholder.com/80/0066cc/ffffff?text=4" alt="Thumbnail 4" class="thumbnail" onclick="changeImage(this)">
                </div>
            </div>

            <div class="product-info">
                <h1 class="product-title">Meta Wayfarer - Gen 2</h1>
                <p class="product-subtitle">Azul C贸smico</p>
                <p class="product-price">R$ 2.499,00</p>

                <div class="color-options">
                    <p class="color-label">Color: Azul C贸smico</p>
                    <div class="color-swatches">
                        <div class="color-swatch" style="background-color: #0066cc;" onclick="selectColor(this)"></div>
                        <div class="color-swatch" style="background-color: #000000;" onclick="selectColor(this)"></div>
                        <div class="color-swatch" style="background-color: #8B4513;" onclick="selectColor(this)"></div>
                        <div class="color-swatch" style="background-color: #C0C0C0;" onclick="selectColor(this)"></div>
                    </div>
                </div>

                <div class="size-options">
                    <p class="size-label">Size</p>
                    <div class="size-buttons">
                        <button class="size-button active" onclick="selectSize(this)">50mm</button>
                        <button class="size-button" onclick="selectSize(this)">52mm</button>
                        <button class="size-button" onclick="selectSize(this)">54mm</button>
                    </div>
                </div>

                <button class="add-to-cart">Add to Cart</button>

                <div class="product-description">
                    <p>The Ray-Ban Meta Wayfarer - Gen 2 combines classic style with cutting-edge technology. These smart glasses feature:</p>
                    <ul>
                        <li>12MP ultra-wide camera for high-quality photos and videos</li>
                        <li>Open-ear audio with dual speakers</li>
                        <li>Voice control with Meta AI assistant</li>
                        <li>Polarized lenses for superior sun protection</li>
                        <li>Up to 6 hours of battery life</li>
                    </ul>
                    <p>Experience the perfect blend of iconic design and modern innovation with these smart sunglasses.</p>
                </div>
            </div>
        </div>

        <div class="product-features">
            <div class="feature-card">
                <i class="fas fa-camera feature-icon"></i>
                <h3 class="feature-title">12MP Ultra-Wide Camera</h3>
                <p class="feature-description">Capture high-quality photos and videos with the dual 12MP ultra-wide cameras.</p>
            </div>
            <div class="feature-card">
                <i class="fas fa-microphone feature-icon"></i>
                <h3 class="feature-title">Voice Control</h3>
                <p class="feature-description">Control your glasses with simple voice commands using the Meta AI assistant.</p>
            </div>
            <div class="feature-card">
                <i class="fas fa-headphones feature-icon"></i>
                <h3 class="feature-title">Open-Ear Audio</h3>
                <p class="feature-description">Enjoy rich, immersive sound with the dual speakers that don't block your ears.</p>
            </div>
            <div class="feature-card">
                <i class="fas fa-battery-full feature-icon"></i>
                <h3 class="feature-title">Long Battery Life</h3>
                <p class="feature-description">Get up to 6 hours of battery life on a single charge for all-day use.</p>
            </div>
        </div>
    </main>

    <footer>
        <div class="footer-container">
            <div class="footer-section">
                <h3>Shop</h3>
                <ul>
                    <li><a href="#">Men</a></li>
                    <li><a href="#">Women</a></li>
                    <li><a href="#">Kids</a></li>
                    <li><a href="#">Collection</a></li>
                    <li><a href="#">Meta</a></li>
                </ul>
            </div>
            <div class="footer-section">
                <h3>Support</h3>
                <ul>
                    <li><a href="#">Customer Service</a></li>
                    <li><a href="#">Track Order</a></li>
                    <li><a href="#">Returns & Exchanges</a></li>
                    <li><a href="#">Warranty</a></li>
                    <li><a href="#">FAQ</a></li>
                </ul>
            </div>
            <div class="footer-section">
                <h3>About</h3>
                <ul>
                    <li><a href="#">Our Story</a></li>
                    <li><a href="#">Sustainability</a></li>
                    <li><a href="#">Careers</a></li>
                    <li><a href="#">Press</a></li>
                    <li><a href="#">Blog</a></li>
                </ul>
            </div>
            <div class="footer-section">
                <h3>Connect</h3>
                <div class="social-links">
                    <a href="#"><i class="fab fa-facebook"></i></a>
                    <a href="#"><i class="fab fa-instagram"></i></a>
                    <a href="#"><i class="fab fa-twitter"></i></a>
                    <a href="#"><i class="fab fa-youtube"></i></a>
                </div>
                <p>Sign up for our newsletter to receive exclusive offers and updates.</p>
                <form>
                    <input type="email" placeholder="Your email address">
                    <button type="submit">Subscribe</button>
                </form>
            </div>
        </div>
        <div class="copyright">
            <p>&copy; 2023 Ray-Ban. All rights reserved.</p>
        </div>
    </footer>

    <script>
        // Image thumbnail functionality
        function changeImage(thumbnail) {
            const mainImage = document.getElementById('mainImage');
            const thumbnails = document.querySelectorAll('.thumbnail');

            // Remove active class from all thumbnails
            thumbnails.forEach(thumb => thumb.classList.remove('active'));

            // Add active class to clicked thumbnail
            thumbnail.classList.add('active');

            // Change main image source (in a real app, you would have actual image paths)
            mainImage.src = thumbnail.src.replace('/80/', '/600/');
        }

        // Color selection functionality
        function selectColor(swatch) {
            const swatches = document.querySelectorAll('.color-swatch');

            // Remove active class from all swatches
            swatches.forEach(s => s.classList.remove('active'));

            // Add active class to clicked swatch
            swatch.classList.add('active');

            // In a real app, you would update the product image and details based on color
        }

        // Size selection functionality
        function selectSize(button) {
            const sizeButtons = document.querySelectorAll('.size-button');

            // Remove active class from all size buttons
            sizeButtons.forEach(btn => btn.classList.remove('active'));

            // Add active class to clicked button
            button.classList.add('active');
        }

        // Add to cart functionality
        document.querySelector('.add-to-cart').addEventListener('click', function() {
            alert('Product added to cart!');
            // In a real app, you would add the product to the cart and update the cart count
        });
    </script>
</body>
</html>