File size: 14,707 Bytes
5501681
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Cart UI</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #212121; }
  #render-target {
    position: relative;
    width: 1080px;
    height: 2400px;
    overflow: hidden;
    background: #ffffff;
  }
  .status-bar {
    height: 90px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #616161;
    font-size: 32px;
    letter-spacing: 0.5px;
  }
  .status-icons { display: flex; align-items: center; gap: 18px; }
  .dot { width: 10px; height: 10px; background:#757575; border-radius: 50%; display: inline-block; }
  .icon { width: 36px; height: 36px; }
  .page {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 300px; /* leave space for bottom nav + price bar */
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
  }
  .header {
    padding: 40px 40px 10px 40px;
    font-size: 56px;
    font-weight: 700;
  }
  .address-row {
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .address-row .label { font-size: 36px; color: #616161; }
  .address-row .value { font-weight: 700; color: #212121; }
  .btn-change {
    padding: 18px 30px;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    color: #1e88e5;
    font-weight: 700;
    font-size: 34px;
    background: #fff;
  }
  .info-banner {
    margin: 10px 40px 30px 40px;
    padding: 24px;
    background: #e8f1fe;
    border: 2px solid #c6dbff;
    border-radius: 14px;
    color: #335b9a;
    font-size: 32px;
  }
  .divider { height: 18px; background: #f1f3f6; width: 100%; }

  /* Product card */
  .product {
    padding: 30px 40px 20px 40px;
  }
  .deal-pill {
    display: inline-block;
    background: #e8f5e9;
    color: #1b5e20;
    border: 2px solid #c8e6c9;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 30px;
    margin-bottom: 20px;
  }
  .prod-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    align-items: start;
  }
  .img-ph {
    width: 150px; height: 210px;
    background: #E0E0E0; border: 1px solid #BDBDBD;
    display: flex; align-items: center; justify-content: center;
    color: #757575; font-size: 24px; text-align: center; padding: 6px;
  }
  .prod-title { font-size: 44px; font-weight: 700; margin: 0; }
  .prod-sub { font-size: 30px; color: #757575; margin-top: 6px; }
  .rating-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
  .stars { display: inline-flex; gap: 6px; }
  .star { width: 28px; height: 28px; }
  .rating-count { font-size: 28px; color: #616161; }
  .plus-badge { display: inline-flex; align-items: center; gap: 6px; background: #e3f2fd; color: #1976d2; border-radius: 20px; padding: 6px 12px; font-size: 24px; font-weight: 700; }
  .price-row { display: flex; align-items: baseline; gap: 18px; margin-top: 16px; }
  .off { color: #2e7d32; font-size: 40px; font-weight: 800; }
  .mrp { color: #9e9e9e; text-decoration: line-through; font-size: 34px; }
  .price { font-size: 48px; font-weight: 800; }
  .qty-box {
    display: inline-flex; align-items: center; gap: 12px;
    border: 2px solid #e0e0e0; border-radius: 14px; padding: 14px 16px;
    font-size: 34px; color: #424242; background: #fff;
  }
  .qty-row { margin-top: 20px; gap: 26px; display: flex; align-items: center; }
  .offer { color: #2e7d32; font-size: 32px; margin-top: 8px; }
  .delivery { font-size: 30px; color: #616161; margin-top: 16px; }
  .delivery .free { color: #2e7d32; font-weight: 700; }
  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 2px solid #eeeeee;
    margin-top: 26px;
  }
  .action {
    display:flex; align-items: center; justify-content: center;
    gap: 16px; height: 120px; font-size: 32px; color:#424242;
    border-right: 2px solid #eeeeee;
  }
  .action:last-child { border-right: none; }
  .action svg { width: 34px; height: 34px; }

  /* Add-on section */
  .addon-header {
    margin-top: 18px;
    padding: 26px 40px;
    background: #eef5ff;
    border-top: 2px solid #e0e8ff;
    border-bottom: 2px solid #e0e8ff;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 38px; font-weight: 700; color: #37474f;
  }
  .addon-header .left { display: flex; align-items: center; gap: 18px; }
  .box-icon { width: 38px; height: 38px; }
  .addon-card {
    margin: 20px 40px 30px 40px;
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid #eeeeee;
    padding: 26px;
  }
  .addon-row { display: grid; grid-template-columns: 110px 1fr; gap: 22px; }
  .logo-ph {
    width: 110px; height: 110px; background:#E0E0E0; border:1px solid #BDBDBD;
    display:flex; align-items:center; justify-content:center; color:#757575; font-size:22px; text-align:center; padding:6px;
  }
  .addon-title { font-size: 36px; font-weight: 700; }
  .addon-sub { font-size: 28px; color: #757575; margin-top: 6px; }
  .addon-deal { color:#2e7d32; font-weight:800; font-size:32px; margin-top: 16px; }
  .addon-mrp { color:#9e9e9e; text-decoration:line-through; margin: 0 8px; }
  .addon-price { font-size: 34px; font-weight: 800; }

  /* Snackbar */
  .snackbar {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 370px;
    background: #212121;
    color: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 30px;
  }
  .snackbar .undo { color: #ffb300; font-weight: 800; margin-left: 20px; white-space: nowrap; }

  /* Price bar */
  .price-bar {
    position: absolute;
    left: 0; right: 0; bottom: 170px;
    background: #ffffff;
    border-top: 2px solid #e0e0e0;
    height: 140px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 40px;
  }
  .price-left { display: flex; align-items: baseline; gap: 26px; }
  .price-left .mrp { font-size: 34px; }
  .price-final { font-size: 56px; font-weight: 800; }
  .info-circle {
    display:inline-flex; align-items:center; justify-content:center;
    width: 36px; height: 36px; border-radius:50%; border:2px solid #bdbdbd; color:#757575; font-size:24px;
  }
  .place-btn {
    background: #ffc107; color: #212121; font-weight: 800; font-size: 40px;
    border: none; padding: 26px 60px; border-radius: 16px;
    box-shadow: 0 2px 0 rgba(0,0,0,0.06) inset;
  }

  /* Bottom nav */
  .bottom-nav {
    position: absolute; left: 0; right: 0; bottom: 60px;
    height: 110px; background: #ffffff; border-top: 2px solid #e0e0e0;
    display: grid; grid-template-columns: repeat(5, 1fr);
  }
  .nav-item {
    display:flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; font-size: 24px; color: #616161; position: relative;
  }
  .nav-item svg { width: 42px; height: 42px; }
  .nav-item.active { color: #1e88e5; }
  .badge {
    position: absolute; top: 6px; right: 70px;
    background: #e53935; color:#fff; font-size:18px; font-weight:800;
    border-radius: 14px; padding: 2px 8px;
  }

  .gesture {
    position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
    width: 260px; height: 10px; background: #cfcfcf; border-radius: 6px;
  }
</style>
</head>
<body>
<div id="render-target">
  <!-- Status bar -->
  <div class="status-bar">
    <div>10:34</div>
    <div class="status-icons">
      <span class="dot"></span><span class="dot"></span><span class="dot"></span><span class="dot"></span>
      <span class="dot"></span>
      <!-- simple icons -->
      <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#616161" stroke-width="2"><path d="M4 8l8 5 8-5v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8z"/><path d="M4 8l8 5 8-5"/><path d="M4 8l8-5 8 5"/></svg>
      <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#616161" stroke-width="2"><path d="M6 18L18 6M6 6l12 12"/></svg>
      <svg class="icon" viewBox="0 0 24 24" fill="#616161"><path d="M17 4h-3l-1-1h-2l-1 1H7v2h10z"/><path d="M7 8h10l-1 12H8z"/></svg>
    </div>
  </div>

  <div class="page">
    <div class="header">My Cart</div>

    <div class="address-row">
      <div class="label">Deliver to: <span class="value">New Delhi - 110004</span></div>
      <button class="btn-change">Change</button>
    </div>

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

    <div class="divider"></div>

    <div class="product">
      <div class="deal-pill">Hot Deal</div>

      <div class="prod-row">
        <div class="img-ph">[IMG: Book Cover]</div>
        <div>
          <div class="prod-title">Half Girlfriend</div>
          <div class="prod-sub">English, Paperback, Bhagat Chetan</div>

          <div class="rating-row">
            <div class="stars">
              <!-- 4 full stars + half -->
              <svg class="star" viewBox="0 0 24 24" fill="#2e7d32"><path d="M12 17.3l-5.9 3.5 1.6-6.7L2 9.8l6.9-.6L12 2.5l3.1 6.7 6.9.6-4.7 4.3 1.6 6.7z"/></svg>
              <svg class="star" viewBox="0 0 24 24" fill="#2e7d32"><path d="M12 17.3l-5.9 3.5 1.6-6.7L2 9.8l6.9-.6L12 2.5l3.1 6.7 6.9.6-4.7 4.3 1.6 6.7z"/></svg>
              <svg class="star" viewBox="0 0 24 24" fill="#2e7d32"><path d="M12 17.3l-5.9 3.5 1.6-6.7L2 9.8l6.9-.6L12 2.5l3.1 6.7 6.9.6-4.7 4.3 1.6 6.7z"/></svg>
              <svg class="star" viewBox="0 0 24 24" fill="#2e7d32"><path d="M12 17.3l-5.9 3.5 1.6-6.7L2 9.8l6.9-.6L12 2.5l3.1 6.7 6.9.6-4.7 4.3 1.6 6.7z"/></svg>
              <svg class="star" viewBox="0 0 24 24">
                <defs><linearGradient id="half"><stop offset="50%" stop-color="#2e7d32"/><stop offset="50%" stop-color="#e0e0e0"/></linearGradient></defs>
                <path d="M12 17.3l-5.9 3.5 1.6-6.7L2 9.8l6.9-.6L12 2.5l3.1 6.7 6.9.6-4.7 4.3 1.6 6.7z" fill="url(#half)"/>
              </svg>
            </div>
            <div class="rating-count">(60,691)</div>
            <div class="plus-badge">
              <svg width="18" height="18" viewBox="0 0 24 24" fill="#1976d2"><path d="M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"/></svg>
              Plus
            </div>
          </div>

          <div class="qty-row">
            <div class="qty-box">
              <span>Qty:</span>
              <span>1</span>
              <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#616161" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>
            </div>
            <div class="price-row">
              <div class="off">−22%</div>
              <div class="mrp">₹195</div>
              <div class="price">₹152</div>
            </div>
          </div>

          <div class="offer">1 offer available</div>

          <div class="delivery">Delivery in 2 days, Sat | <span class="mrp">₹40</span> <span class="free">FREE Delivery</span></div>
        </div>
      </div>

      <div class="actions">
        <div class="action">
          <svg viewBox="0 0 24 24" fill="none" stroke="#616161" stroke-width="2"><path d="M3 6h18"/><path d="M8 6V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1"/><path d="M19 6l-1 14H6L5 6"/></svg>
          <span>Remove</span>
        </div>
        <div class="action">
          <svg viewBox="0 0 24 24" fill="none" stroke="#616161" stroke-width="2"><path d="M19 21H5V7h14z"/><path d="M12 3v4"/><path d="M9 3h6"/></svg>
          <span>Save for later</span>
        </div>
        <div class="action">
          <svg viewBox="0 0 24 24" fill="#616161"><path d="M11 21h2V9h-2v12zm.5-16l-4-4h9l-4 4z"/></svg>
          <span>Buy this now</span>
        </div>
      </div>
    </div>

    <div class="addon-header">
      <div class="left">
        <svg class="box-icon" viewBox="0 0 24 24" fill="none" stroke="#607d8b" stroke-width="2"><rect x="3" y="7" width="18" height="12" rx="2"/><path d="M7 7V3h10v4"/></svg>
        <span>Digital Suraksha for Rs 1000...</span>
      </div>
      <svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="#607d8b" stroke-width="2"><path d="M6 15l6-6 6 6"/></svg>
    </div>

    <div class="addon-card">
      <div class="addon-row">
        <div class="logo-ph">[IMG: Insurer Logo]</div>
        <div>
          <div class="addon-title">Digital Suraksha for Rs 10000 by...</div>
          <div class="addon-sub">1 Month</div>
          <div class="addon-deal">−50% <span class="addon-mrp">₹40</span> <span class="addon-price">₹20</span></div>
          <div class="addon-sub">Spoofing and more.</div>
        </div>
      </div>
    </div>

  </div>

  <!-- Snackbar -->
  <div class="snackbar">
    <div>Successfully removed Lakshita Rotation Dancing & Spinning Rolling Monkey with Light & Sound Toy for Kids from your cart</div>
    <div class="undo">Undo</div>
  </div>

  <!-- Price bar -->
  <div class="price-bar">
    <div class="price-left">
      <div class="mrp">195</div>
      <div class="price-final">152</div>
      <div class="info-circle">i</div>
    </div>
    <button class="place-btn">Place order</button>
  </div>

  <!-- Bottom navigation -->
  <div class="bottom-nav">
    <div class="nav-item">
      <svg viewBox="0 0 24 24" fill="none" stroke="#616161" stroke-width="2"><path d="M3 11l9-8 9 8v9a2 2 0 0 1-2 2h-4v-7H9v7H5a2 2 0 0 1-2-2z"/></svg>
      <div>Home</div>
    </div>
    <div class="nav-item">
      <svg viewBox="0 0 24 24" fill="none" stroke="#616161" stroke-width="2"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/></svg>
      <div>Categories</div>
    </div>
    <div class="nav-item">
      <svg viewBox="0 0 24 24" fill="none" stroke="#616161" stroke-width="2"><path d="M12 22a4 4 0 0 0 4-4H8a4 4 0 0 0 4 4z"/><path d="M6 8a6 6 0 1 1 12 0v6H6z"/></svg>
      <div>Notifications</div>
    </div>
    <div class="nav-item">
      <svg viewBox="0 0 24 24" fill="none" stroke="#616161" stroke-width="2"><circle cx="12" cy="7" r="4"/><path d="M4 21v-1a7 7 0 0 1 7-7h2a7 7 0 0 1 7 7v1"/></svg>
      <div>Account</div>
    </div>
    <div class="nav-item active">
      <span class="badge">1</span>
      <svg viewBox="0 0 24 24" fill="none" stroke="#1e88e5" stroke-width="2"><path d="M6 6h15l-1.5 9H7.5z"/><path d="M6 6L5 3H2"/><circle cx="9" cy="20" r="1.5" fill="#1e88e5"/><circle cx="18" cy="20" r="1.5" fill="#1e88e5"/></svg>
      <div>Cart</div>
    </div>
  </div>

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