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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>My Cart - Mock</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
  #render-target {
    width: 1080px;
    height: 2400px;
    position: relative;
    overflow: hidden;
    background: #fafafa;
    color: #222;
  }

  /* Status bar */
  .statusbar {
    height: 120px;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 36px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 40px;
    color: #444;
  }
  .statusbar .left { flex: 1; }
  .statusbar .right {
    display: flex;
    align-items: center;
    gap: 26px;
  }
  .dot { width: 10px; height: 10px; background: #777; border-radius: 50%; display: inline-block; margin: 0 14px; }

  /* Page content */
  .page {
    position: absolute;
    left: 0;
    right: 0;
    top: 120px;
    bottom: 300px; /* space for checkout + nav */
    overflow-y: auto;
    padding: 36px 36px 160px;
  }
  h1 {
    font-size: 64px;
    margin: 24px 0 36px;
    font-weight: 700;
  }

  .deliver-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 20px;
  }
  .deliver-text {
    font-size: 38px;
    color: #333;
  }
  .deliver-text b { font-weight: 700; }
  .change-btn {
    padding: 18px 30px;
    background: #ffffff;
    border: 2px solid #d8dbe0;
    color: #1976d2;
    border-radius: 16px;
    font-weight: 700;
    font-size: 34px;
  }
  .info-box {
    margin: 18px 0 28px;
    padding: 26px 28px;
    background: #e9f3ff;
    border: 2px solid #c9ddff;
    border-radius: 16px;
    color: #2a5ea3;
    font-size: 34px;
  }

  .cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    padding: 26px;
    margin-bottom: 24px;
  }
  .img-wrap {
    position: relative;
  }
  .free-tag {
    position: absolute;
    top: -14px;
    left: -6px;
    background: #eaf7ea;
    color: #1f7a1f;
    border: 2px solid #c9e9c9;
    padding: 6px 16px;
    font-size: 28px;
    border-radius: 8px;
    font-weight: 700;
  }
  .img-ph {
    width: 220px; height: 220px;
    background: #E0E0E0;
    border: 1px solid #BDBDBD;
    display: flex; justify-content: center; align-items: center;
    color: #757575; text-align: center; font-size: 28px; padding: 10px;
  }

  .item-body .title {
    font-size: 40px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .muted { color: #6b6b6b; font-size: 32px; margin-bottom: 10px; }
  .rating-row {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 32px;
    margin: 8px 0 10px;
  }
  .stars { color: #1f8a3a; font-size: 34px; letter-spacing: 2px; }
  .count { color: #555; }
  .plus-badge {
    padding: 6px 10px;
    border: 1px solid #cbd7ff;
    color: #2a5ea3;
    background: #eef3ff;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 700;
  }

  .price-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin: 8px 0 10px;
  }
  .discount { color: #1a9a4a; font-weight: 700; font-size: 40px; }
  .mrp { color: #888; text-decoration: line-through; font-size: 34px; }
  .price { font-size: 48px; font-weight: 800; color: #111; }
  .offer { color: #1a9a4a; font-size: 30px; margin: 6px 0; }

  .qty-row {
    margin-top: 16px;
    display: flex;
    gap: 18px;
    align-items: center;
  }
  .qty-box {
    border: 2px solid #dcdcdc;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 34px;
    color: #333;
    width: 170px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .ship-info { color: #5a5a5a; font-size: 30px; }
  .ship-info .free { color: #1a9a4a; font-weight: 700; }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 12px 0 26px;
    gap: 2px;
  }
  .actions .act {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    padding: 26px;
    text-align: center;
    font-size: 34px;
    color: #444;
    border-radius: 14px;
  }

  /* Checkout bar (above bottom nav) */
  .checkout-bar {
    position: absolute;
    left: 0; right: 0; bottom: 160px;
    height: 170px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px;
    gap: 24px;
  }
  .totals {
    display: flex; flex-direction: column;
    line-height: 1.1;
  }
  .old-price { color: #9a9a9a; text-decoration: line-through; font-size: 30px; }
  .total { font-size: 64px; font-weight: 800; }
  .place-btn {
    background: #ffcc00;
    color: #242424;
    border: none;
    border-radius: 18px;
    font-size: 42px;
    font-weight: 800;
    padding: 28px 60px;
  }

  /* Bottom navigation */
  .bottom-nav {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 160px;
    background: #ffffff;
    border-top: 1px solid #e6e6e6;
    display: flex;
  }
  .tab {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 28px; color: #666; gap: 8px;
  }
  .tab.active { color: #1976d2; font-weight: 700; }
  .icon { width: 48px; height: 48px; }
  .badge {
    position: absolute;
    top: 18px;
    right: 120px;
    background: #e53935;
    color: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 24px;
    font-weight: 700;
  }

  /* Gesture bar */
  .gesture {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px; height: 10px;
    background: #cfcfcf;
    border-radius: 8px;
  }

  /* Modal overlay */
  .overlay {
    position: absolute; left: 0; right: 0; top: 120px; bottom: 0;
    background: rgba(0,0,0,0.45);
  }
  .modal {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 920px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    overflow: hidden;
  }
  .modal .content {
    padding: 40px;
  }
  .modal h2 {
    margin: 0 0 16px;
    font-size: 48px;
  }
  .modal p { margin: 0; font-size: 36px; color: #454545; }
  .modal .actions-row {
    display: flex;
    border-top: 1px solid #e6e6e6;
  }
  .modal .btn {
    flex: 1;
    text-align: center;
    padding: 30px 0;
    font-size: 40px;
    font-weight: 700;
    cursor: default;
  }
  .modal .btn + .btn { border-left: 1px solid #e6e6e6; }
  .btn.cancel { color: #666; background: #fff; }
  .btn.remove { color: #1976d2; background: #fff; }
</style>
</head>
<body>
<div id="render-target">

  <!-- Status Bar -->
  <div class="statusbar">
    <div class="left">10:34</div>
    <div class="right">
      <!-- Dummy small dots similar to app notifications -->
      <span class="dot"></span><span class="dot"></span><span class="dot"></span><span class="dot"></span>
      <span class="dot"></span>
      <!-- Mute icon -->
      <svg class="icon" viewBox="0 0 24 24">
        <path d="M3 9v6h4l5 5V4L7 9H3z" fill="#666"></path>
        <path d="M16 9.35v5.3M19 8l-6 6" stroke="#666" stroke-width="2" fill="none"></path>
      </svg>
      <!-- WiFi -->
      <svg class="icon" viewBox="0 0 24 24">
        <path d="M2 8c5-5 15-5 20 0" stroke="#666" stroke-width="2" fill="none"/>
        <path d="M5 11c3-3 11-3 14 0" stroke="#666" stroke-width="2" fill="none"/>
        <path d="M8 14c2-2 6-2 8 0" stroke="#666" stroke-width="2" fill="none"/>
        <circle cx="12" cy="18" r="2" fill="#666"/>
      </svg>
      <!-- Battery -->
      <svg class="icon" viewBox="0 0 28 24">
        <rect x="1" y="6" width="22" height="12" rx="2" ry="2" fill="none" stroke="#666" stroke-width="2"/>
        <rect x="3" y="8" width="14" height="8" fill="#666"/>
        <rect x="23" y="10" width="3" height="4" fill="#666"/>
      </svg>
    </div>
  </div>

  <!-- Page -->
  <div class="page">
    <h1>My Cart</h1>

    <div class="deliver-row">
      <div class="deliver-text">Deliver to: <b>New Delhi - 110004</b></div>
      <button class="change-btn">Change</button>
    </div>

    <div class="info-box">2,00,000+ orders from New Delhi in the last 30 days</div>

    <!-- Cart Item 1 -->
    <div class="cart-item">
      <div class="img-wrap">
        <div class="free-tag">FREE Delivery</div>
        <div class="img-ph">[IMG: Toy Photo]</div>
      </div>
      <div class="item-body">
        <div class="title">Lakshita Rotation Dancing & Spinnin..</div>
        <div class="muted">Blue</div>
        <div class="rating-row">
          <div class="stars">β˜…β˜…β˜…β˜…β˜†</div>
          <div class="count">(59)</div>
          <div class="plus-badge">Plus F-ASSURED</div>
        </div>
        <div class="price-row">
          <div class="discount">βˆ’70%</div>
          <div class="mrp">β‚Ή999</div>
          <div class="price">β‚Ή299</div>
        </div>
        <div class="offer">1 Offer Available</div>

        <div class="qty-row">
          <div class="qty-box">Qty: 1 <span>β–Ύ</span></div>
          <div class="ship-info">Delivery in 2 days, Sat | <span class="free">FREE Delivery</span></div>
        </div>
      </div>
    </div>

    <!-- Actions for item 1 -->
    <div class="actions">
      <div class="act">πŸ—‘ Remove</div>
      <div class="act">⬇ Save for later</div>
      <div class="act">⚑ Buy this now</div>
    </div>

    <!-- Cart Item 2 -->
    <div class="cart-item">
      <div class="img-wrap">
        <div class="free-tag" style="top:-12px;">Hot Deal</div>
        <div class="img-ph">[IMG: Book Cover]</div>
      </div>
      <div class="item-body">
        <div class="title">Half Girlfriend</div>
        <div class="muted">English, Paperback, Bhagat Chetan</div>
        <div class="rating-row">
          <div class="stars">β˜…β˜…β˜…β˜…β˜†</div>
          <div class="count">(60,691)</div>
          <div class="plus-badge">Plus F-ASSURED</div>
        </div>
        <div class="price-row">
          <div class="discount">βˆ’22%</div>
          <div class="mrp">β‚Ή195</div>
          <div class="price">β‚Ή152</div>
        </div>
        <div class="offer">1 Offer Available</div>

        <div class="qty-row">
          <div class="qty-box">Qty: 1 <span>β–Ύ</span></div>
          <div class="ship-info">Delivery in 2 days, Sat | <span class="free">FREE Delivery</span></div>
        </div>
      </div>
    </div>

    <!-- Actions for item 2 -->
    <div class="actions" style="margin-bottom: 36px;">
      <div class="act">πŸ—‘ Remove</div>
      <div class="act">⬇ Save for later</div>
      <div class="act">⚑ Buy this now</div>
    </div>

  </div>

  <!-- Checkout Bar -->
  <div class="checkout-bar">
    <div class="totals">
      <div class="old-price">1,194</div>
      <div class="total">451</div>
    </div>
    <button class="place-btn">Place order</button>
  </div>

  <!-- Bottom Navigation -->
  <div class="bottom-nav">
    <div class="tab">
      <svg class="icon" viewBox="0 0 24 24">
        <path d="M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1v-9z" fill="#666"/>
      </svg>
      <div>Home</div>
    </div>
    <div class="tab">
      <svg class="icon" viewBox="0 0 24 24">
        <rect x="3" y="3" width="7" height="7" fill="#666"/>
        <rect x="14" y="3" width="7" height="7" fill="#666"/>
        <rect x="3" y="14" width="7" height="7" fill="#666"/>
        <rect x="14" y="14" width="7" height="7" fill="#666"/>
      </svg>
      <div>Categories</div>
    </div>
    <div class="tab">
      <svg class="icon" viewBox="0 0 24 24">
        <path d="M12 2a6 6 0 0 0-6 6c0 7-3 7-3 9a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3c0-2-3-2-3-9a6 6 0 0 0-6-6z" fill="#666"/>
      </svg>
      <div>Notifications</div>
    </div>
    <div class="tab">
      <svg class="icon" viewBox="0 0 24 24">
        <circle cx="12" cy="8" r="4" fill="#666"/>
        <path d="M4 22c0-4 4-7 8-7s8 3 8 7" fill="#666"/>
      </svg>
      <div>Account</div>
    </div>
    <div class="tab active" style="position: relative;">
      <svg class="icon" viewBox="0 0 24 24">
        <path d="M7 4h14l-2 10H9L7 4z" fill="#1976d2"/>
        <circle cx="10" cy="20" r="2" fill="#1976d2"/>
        <circle cx="18" cy="20" r="2" fill="#1976d2"/>
      </svg>
      <div>Cart</div>
      <div class="badge">2</div>
    </div>
  </div>

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

  <!-- Overlay Modal -->
  <div class="overlay">
    <div class="modal">
      <div class="content">
        <h2>Remove Item</h2>
        <p>Are you sure you want to remove this item?</p>
      </div>
      <div class="actions-row">
        <div class="btn cancel">Cancel</div>
        <div class="btn remove">Remove</div>
      </div>
    </div>
  </div>

</div>
</body>
</html>