File size: 9,261 Bytes
fa881a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Product Detail - DMart Style</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #222; }
  #render-target {
    position: relative;
    overflow: hidden;
    width: 1080px;
    height: 2400px;
    background: #ffffff;
  }

  /* Top bars */
  .status-bar {
    height: 140px;
    background: #0b7a3b;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 40px;
    font-weight: 600;
    font-size: 38px;
    letter-spacing: 1px;
  }
  .status-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .app-bar {
    height: 120px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 32px;
    border-bottom: 1px solid #e6e6e6;
  }
  .app-bar .spacer { flex: 1; }
  .icon-btn {
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .icon {
    width: 56px;
    height: 56px;
    fill: #2f7d45;
  }
  .icon.gray { fill: #5f6368; }
  .back {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
  }

  /* Product image placeholder */
  .image-area {
    padding: 24px 40px 0;
  }
  .img-ph {
    width: 100%;
    height: 520px;
    background: #E0E0E0;
    border: 1px solid #BDBDBD;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #757575;
    font-size: 40px;
    letter-spacing: 0.2px;
  }
  .dots {
    display: flex;
    gap: 18px;
    padding: 24px 0 8px 0;
    justify-content: center;
    align-items: center;
  }
  .dot {
    width: 16px;
    height: 16px;
    background: #d0d0d0;
    border-radius: 50%;
  }
  .dot.active { background: #2f7d45; }

  /* Offer and price */
  .price-offer {
    display: flex;
    padding: 24px 40px;
    align-items: flex-start;
  }
  .offer {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #ff8a00;
    font-size: 44px;
    font-weight: 700;
  }
  .offer .badge {
    width: 48px;
    height: 48px;
  }
  .price-side {
    margin-left: auto;
    text-align: right;
  }
  .price-side .brand-price {
    font-size: 48px;
    color: #2f7d45;
    font-weight: 800;
  }
  .price-side .mrp {
    color: #9E9E9E;
    font-size: 34px;
    text-decoration: line-through;
    margin-top: 8px;
  }
  .price-side .tax {
    color: #9E9E9E;
    font-size: 30px;
    margin-top: 10px;
  }

  /* Variant */
  .section {
    padding: 24px 40px;
  }
  .section-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 22px;
  }
  .variant-btn {
    width: 260px;
    height: 110px;
    border: 4px solid #2f7d45;
    color: #2f7d45;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
  }
  .per-unit {
    color: #9E9E9E;
    font-size: 32px;
    margin-top: 16px;
  }

  /* Tabs */
  .tabs {
    display: flex;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    margin-top: 28px;
  }
  .tab {
    padding: 32px 40px;
    font-size: 42px;
    font-weight: 800;
    color: #424242;
    position: relative;
  }
  .tab.active {
    color: #2f7d45;
  }
  .tab.active::after {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: -2px;
    height: 8px;
    background: #2f7d45;
    border-radius: 8px;
  }

  /* Description content */
  .content {
    padding: 32px 40px 280px;
    line-height: 1.6;
  }
  .h3 {
    font-size: 44px;
    font-weight: 800;
    margin: 26px 0 8px;
  }
  .p {
    font-size: 38px;
    color: #333;
    margin: 4px 0 12px;
  }

  /* Bottom add-to-cart bar */
  .bottom-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 90px;
    height: 170px;
    background: #ffffff;
    border-top: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
  }
  .cta {
    width: 100%;
    height: 120px;
    background: #2f7d45;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 44px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    letter-spacing: 1px;
  }
  .cta .cart {
    width: 56px;
    height: 56px;
    fill: #ffffff;
  }

  /* Gesture pill */
  .gesture {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    width: 260px;
    height: 14px;
    background: #cfcfcf;
    border-radius: 14px;
  }
</style>
</head>
<body>
<div id="render-target">
  <!-- Status bar -->
  <div class="status-bar">
    10:13
    <div class="status-right">
      <!-- tiny placeholders for status icons -->
      <svg width="42" height="42" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="rgba(255,255,255,0.85)"/></svg>
      <svg width="42" height="42" viewBox="0 0 24 24"><rect x="4" y="6" width="16" height="12" rx="2" fill="rgba(255,255,255,0.85)"/></svg>
      <svg width="42" height="42" viewBox="0 0 24 24"><path d="M3 18h18v2H3zM5 14h14v2H5zM7 10h10v2H7zM9 6h6v2H9z" fill="rgba(255,255,255,0.85)"/></svg>
      <svg width="42" height="42" viewBox="0 0 24 24"><path d="M18 7V3H6v4H3v14h18V7h-3zM8 5h8v2H8V5z" fill="rgba(255,255,255,0.85)"/></svg>
      <svg width="42" height="42" viewBox="0 0 24 24"><path d="M3 12l18-9-9 18-2-7z" fill="rgba(255,255,255,0.85)"/></svg>
      <svg width="42" height="42" viewBox="0 0 24 24"><path d="M18 7h-2V5a4 4 0 10-8 0v2H6a2 2 0 00-2 2v9a2 2 0 002 2h12a2 2 0 002-2V9a2 2 0 00-2-2zm-8-2a2 2 0 114 0v2h-4V5z" fill="rgba(255,255,255,0.85)"/></svg>
    </div>
  </div>

  <!-- App bar -->
  <div class="app-bar">
    <div class="back">
      <svg class="icon gray" viewBox="0 0 24 24"><path d="M15.5 5l-7 7 7 7" stroke="#5f6368" stroke-width="2.4" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
    </div>
    <div class="spacer"></div>
    <div class="icon-btn">
      <svg class="icon" viewBox="0 0 24 24"><path d="M21 21l-4.3-4.3M10.5 18a7.5 7.5 0 110-15 7.5 7.5 0 010 15z"/></svg>
    </div>
    <div class="icon-btn">
      <svg class="icon" viewBox="0 0 24 24"><path d="M7 7h14l-2 10H7L5 3H2" stroke="#2f7d45" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/><circle cx="9" cy="21" r="1.6" fill="#2f7d45"/><circle cx="17" cy="21" r="1.6" fill="#2f7d45"/></svg>
    </div>
    <div class="icon-btn">
      <svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4 20a8 8 0 0116 0" /></svg>
    </div>
  </div>

  <!-- Product hero image -->
  <div class="image-area">
    <div class="img-ph">[IMG: Toblerone Milk Chocolate]</div>
    <div class="dots">
      <div class="dot active"></div>
      <div class="dot"></div>
      <div class="dot"></div>
    </div>
  </div>

  <!-- Offer and price -->
  <div class="price-offer">
    <div class="offer">
      <svg class="badge" viewBox="0 0 24 24">
        <path d="M12 2l2.1 3.9L18 7l-3 3 .7 4-3.7-2-3.7 2 .7-4-3-3 3.9-1.1L12 2z" fill="#ff8a00"/>
      </svg>
      ₹ 30.00 OFF
    </div>
    <div class="price-side">
      <div class="brand-price">DMart ₹ 245.00</div>
      <div class="mrp">MRP ₹ 275.00</div>
      <div class="tax">(MRP inclusive of all taxes)</div>
    </div>
  </div>

  <!-- Variant -->
  <div class="section">
    <div class="section-title">Variant</div>
    <div class="variant-btn">100 gm</div>
    <div class="per-unit">(₹ 2.45 / 1 gm)</div>
  </div>

  <!-- Tabs -->
  <div class="tabs">
    <div class="tab active">Description</div>
    <div class="tab">Disclaimer</div>
    <div class="tab">Country Of Origin</div>
  </div>

  <!-- Content -->
  <div class="content">
    <div class="h3">Overview</div>
    <div class="p">
      Toblerone Milk Chocolate is a classic Toblerone milk chocolate in the distinctive beige packaging is a combination of the finest Swiss milk chocolate with honey and almond nougat. Toblerone milk chocolate is available as a plate, mini, bundle and bar. This iconic triangular chocolate from Switzerland. It is an ideal treat for sharing and snacking while travelling or at home.
    </div>

    <div class="h3">Ingredients</div>
    <div class="p">
      Sugar, Whole Milk Powder, Cocoa Butter, Cocoa Mass, Honey, Milk Fat, Almonds, Emulsifier (Soya Lecithin), Egg White, Flavouring (Vanillin), Milk Chocolate, and Milk Solids.
    </div>

    <div class="h3">Disclaimer</div>
    <div class="p">
      - Allergen advice: Contains milk, tree nuts (almonds), soy and egg
    </div>
  </div>

  <!-- Bottom Add to Cart -->
  <div class="bottom-bar">
    <button class="cta">
      <svg class="cart" viewBox="0 0 24 24"><path d="M7 7h14l-2 10H7L5 3H2" stroke="#fff" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/><circle cx="9" cy="21" r="1.6" fill="#fff"/><circle cx="17" cy="21" r="1.6" fill="#fff"/></svg>
      ADD TO CART
    </button>
  </div>

  <div class="gesture"></div>
</div>
</body>
</html>