File size: 9,217 Bytes
fe6e1a0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Nico Dress - White & Teal Tssxnb</title>
  <!-- Bootstrap CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
  <!-- Custom CSS -->
  <style>
    body {
      font-family: Arial, sans-serif;
      background-color: #f4f4f4;
      padding-top: 100px; /* Offset for fixed navbars */
    }

    header {
      position: fixed;
      top: 0;
      width: 100%;
      background-color: #2980b9;
      color: white;
      padding: 10px 0;
      text-align: center;
      z-index: 1000;
    }

    .top-1-navbar {
      background-color: #2980b9;
      color: white;
      padding: 10px 0;
      text-align: center;
      z-index: 999;
    }

    .top-1-navbar .nav {
      display: flex;
      justify-content: center;
      gap: 20px;
    }

    .top-1-navbar .nav-item {
      cursor: pointer;
      padding: 10px 15px;
      transition: background-color 0.3s ease;
    }

    .top-1-navbar .nav-item:hover {
      background-color: #2574a9;
    }

    .top-2-navbar {
      background-color: #f4f4f1;
      color: rgb(26, 2, 2);
      padding: 10px 0;
      display: flex;
      justify-content: center;
      gap: 20px;
      z-index: 998;
    }

    .top-2-navbar .nav-item {
      cursor: pointer;
      padding: 10px 15px;
      transition: background-color 0.3s ease;
    }

    .top-2-navbar .nav-item:hover {
      background-color: #f08080;
    }

    section {
      background-color: white;
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    h1 {
      font-size: 24px;
      margin-bottom: 10px;
    }

    img.product-image {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      margin-bottom: 20px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }

    ul.size-list {
      list-style: none;
      padding: 0;
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
    }

    ul.size-list li {
      cursor: pointer;
      padding: 10px 15px;
      background-color: #f0f0f0;
      border-radius: 5px;
      transition: background-color 0.3s ease;
    }

    ul.size-list li:hover {
      background-color: #e0e0e0;
    }

    table.size-chart {
      width: 100%;
      margin-top: 20px;
      border-collapse: collapse;
    }

    table.size-chart th,
    table.size-chart td {
      padding: 10px;
      text-align: center;
      border: 1px solid #ddd;
    }

    .variant-images {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }

    .variant-images img {
      max-width: 50px;
      height: auto;
      border-radius: 5px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .variant-images img:hover {
      transform: scale(1.1);
    }

    .exclusive-collection {
      background-color: #f08080;
      color: white;
      padding: 10px;
      border-radius: 5px;
      text-align: center;
      width: fit-content;
      margin-top: 10px;
    }

    footer {
      text-align: center;
      padding: 10px;
      background-color: #f0f0f0;
      margin-top: 20px;
    }
    
  </style>
</head>
<body>

  <header>
    <h1>Nico Dress - White & Teal Tssxnb</h1>
  </header>

  <!-- Top 1 Navbar -->
  <div class="top-1-navbar">
    <div class="container">
      <div class="nav">
        <div class="nav-item">Home</div>
        <div class="nav-item">Women</div>
        <div class="nav-item">Men</div>
        <div class="nav-item">Jewellery</div>
        <div class="nav-item">The Gift Shop</div>
        <div class="nav-item">New Arrivals</div>
        <div class="nav-item">Voyager</div>
        <div class="nav-item">Our Story</div>
      </div>
    </div>
  </div>

  <!-- Top 2 Navbar -->
  <div class="top-2-navbar">
    <div class="container">
      <div class="nav">
        <div class="nav-item">Express Delivery</div>
        <div class="nav-item">India</div>
        <div class="nav-item">Search</div>
        <div class="nav-item">For You</div>
        <div class="nav-item">Sign In</div>
        <div class="nav-item">My Bag</div>
      </div>
    </div>
  </div>

  <div class="container">
    <section>
      <div class="row">
        <div class="col-md-6">
          <!-- Product Image and Variant Images -->
          <img src="1.jpeg" alt="Nico Dress - White & Teal Tssxnb" class="product-image" id="main-product-image">
          <div class="variant-images">
            <img src="1.jpeg" alt="Variant 1" class="variant-image" onclick="changeImage(this)">
            <img src="2.jpeg" alt="Variant 2" class="variant-image" onclick="changeImage(this)">
            <img src="3.jpeg" alt="Variant 3" class="variant-image" onclick="changeImage(this)">
          </div>
          <div class="exclusive-collection">Exclusive Collection: Gray-Black</div>
        </div>
        <div class="col-md-6">
          <!-- Product Details -->
          <p>Material: 100% Organic Cotton</p>
          <p>Color: <span id="product-color">Black</span></p>
          <p>Please select a size</p>
          <ul class="size-list" id="size-list">
            <li onclick="selectSize(this)">XS</li>
            <li onclick="selectSize(this)">S</li>
            <li onclick="selectSize(this)">M</li>
            <li onclick="selectSize(this)">L</li>
            <li onclick="selectSize(this)">XL</li>
            <li onclick="selectSize(this)">2XL</li>
            <li onclick="selectSize(this)">3XL</li>
          </ul>
          <p>Influencer Lock</p>
          <p>Free shipping on orders above ₹ 1,000</p>
          <p>Cash on Delivery (COD) available</p>
          <p>Return within 15 days of order delivery. See T&Cs</p>
          <p><a href="https://global.nicobar.com" target="_blank">Visit global.nicobar.com</a></p>
        </div>
      </div>
    </section>

    <section>
      <!-- Size & Fit Table -->
      <h2>SIZE & FIT <a href="#" onclick="openSizeChart()">[Size Chart]</a></h2>
      <div id="sizeChartModal" class="modal">
        <div class="modal-content">
          <span class="close" onclick="closeSizeChartModal()">&times;</span>
          <h2>SIZE CHART</h2>
          <table class="size-chart">
            <thead>
              <tr>
                <th>Size</th>
                <th>Total Length</th>
                <th>Chest</th>
                <th>Waist</th>
                <th>Shoulder</th>
                <th>Sleeve Length</th>
                <th>Biceps</th>
                <th>Armhole</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td>XS</td>
                <td>54.25</td>
                <td>33</td>
                <td>26</td>
                <td>14.5</td>
                <td>23.5</td>
                <td>12.8</td>
                <td>6.9</td>
              </tr>
              <tr>
                <td>S</td>
                <td>54.75</td>
                <td>35</td>
                <td>28</td>
                <td>15</td>
                <td>23.8</td>
                <td>13.8</td>
                <td>7.4</td>
              </tr>
              <!-- Add more size options as needed -->
            </tbody>
          </table>
        </div>
      </div>
    </section>

    <section>
      <!-- Care Instructions -->
      <h2>CARE INSTRUCTIONS</h2>
      <p>Gentle machine wash cold with similar colors.</p>
      <p>Tumble dry low.</p>
      <p>Warm iron.</p>
      <p>Do not iron directly on the foil print.</p>
      <p>Organic Cotton</p>
      <p>Organic cotton is grown without using pesticides, and from non GMO (genetically modified) seeds.</p>
      <p><a href="#">KNOW MORE</a></p>
    </section>
  </div>

  <footer class="footer">
    <p>Copyright 2024 Nicobar. All rights reserved.</p>
    <p>Terms & Conditions | Privacy Policy</p>
  </footer>

  <!-- Bootstrap JS Bundle (including Popper) -->
  <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.min.js"></script>

  <script>
    // JavaScript for changing product images and selecting sizes
    function changeImage(image) {
      var mainImage = document.getElementById('main-product-image');
      mainImage.src = image.src;
      document.getElementById('product-color').innerText = image.alt; // Update color display
    }

    function selectSize(sizeElement) {
      var sizeList = document.getElementById('size-list').getElementsByTagName('li');
      // Remove active class from all size options
      for (var i = 0; i < sizeList.length; i++) {
        sizeList[i].classList.remove('active');
      }
      // Add active class to the clicked size option
      sizeElement.classList.add('active');
    }

    // Popup functions
    function openSizeChart() {
      var modal = document.getElementById('sizeChartModal');
      modal.style.display = 'block';
    }

    function closeSizeChartModal() {
      var modal = document.getElementById('sizeChartModal');
      modal.style.display = 'none';
    }
  </script>
</body>
</html>