File size: 11,992 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 | <html>
<head>
<meta charset="utf-8">
<title>Flipkart Cart UI 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: #ffffff;
}
/* Status bar */
.status-bar {
height: 72px;
display: flex; align-items: center; justify-content: space-between;
padding: 0 32px; color: #333; font-size: 30px;
}
.status-icons { display: flex; gap: 22px; align-items: center; color: #555; }
.status-dot { width: 18px; height: 18px; background:#888; border-radius: 3px; }
/* Header */
.page-title { font-size: 46px; font-weight: 700; color: #111; padding: 10px 32px 0; }
/* Tabs */
.tabs { display: flex; gap: 60px; padding: 24px 32px 0; align-items: flex-end; }
.tab { font-size: 34px; font-weight: 700; color: #7a7a7a; padding-bottom: 16px; }
.tab.active { color: #3366ff; position: relative; }
.tab.active::after {
content: ""; position: absolute; left: 0; right: 0; bottom: 0;
height: 8px; background: #3366ff; border-radius: 4px;
}
/* Address row */
.address-row {
display: flex; justify-content: space-between; align-items: center;
padding: 22px 32px; border-top: 1px solid #eee; border-bottom: 1px solid #eee;
font-size: 32px;
}
.address-row .hint { color: #4a4a4a; }
.blue-btn {
color: #3366ff; border: 2px solid #3366ff; border-radius: 14px;
padding: 16px 24px; font-weight: 700; background: #eef3ff;
}
/* Product card */
.card {
padding: 24px 32px; border-bottom: 1px solid #e9e9e9;
}
.product {
display: grid; grid-template-columns: 200px 1fr; gap: 24px;
}
.img-ph {
width: 200px; height: 200px; background: #E0E0E0;
border: 1px solid #BDBDBD; display: flex; justify-content: center; align-items: center;
color: #757575; font-size: 26px; border-radius: 10px;
}
.p-title { font-size: 40px; font-weight: 700; color: #111; line-height: 1.2; }
.p-sub { font-size: 28px; color: #666; margin-top: 6px; }
.rating-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.stars { display: flex; gap: 4px; }
.stars svg { width: 30px; height: 30px; fill: #2E7D32; }
.rating-count { color: #666; font-size: 28px; }
.price-row { display: flex; align-items: baseline; gap: 18px; margin-top: 20px; }
.discount { color: #2E7D32; font-size: 36px; font-weight: 800; }
.old-price { color: #999; font-size: 30px; text-decoration: line-through; }
.new-price { font-size: 44px; font-weight: 800; color: #111; }
.offers { color: #2E7D32; font-size: 30px; margin-top: 16px; }
.stock { color: #d32f2f; font-size: 30px; margin-top: 16px; }
.delivery { color: #666; font-size: 30px; margin-top: 12px; }
.action-row {
display: flex; gap: 28px; margin-top: 26px;
border-top: 1px solid #eee;
padding-top: 22px;
}
.action-btn {
display: flex; align-items: center; gap: 12px;
color: #333; font-size: 32px; font-weight: 700;
padding: 18px 20px; border: 1px solid #eee; border-radius: 14px; background: #fafafa;
}
.action-btn svg { width: 34px; height: 34px; fill: #777; }
/* Digital Suraksha section */
.suraksha-header {
display: flex; align-items: center; justify-content: space-between;
padding: 26px 32px; font-size: 36px; font-weight: 800; color: #222;
}
.suraksha-card {
margin: 0 32px; border: 1px solid #e5e5e5; border-radius: 16px; padding: 24px; background: #fff;
}
.suraksha-top {
display: grid; grid-template-columns: 120px 1fr 160px; gap: 20px; align-items: center;
}
.logo-ph {
width: 120px; height: 120px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; border-radius: 10px;
font-size: 24px;
}
.suraksha-title { font-size: 34px; font-weight: 800; color: #111; }
.duration { font-size: 28px; color: #555; }
.offer-price { text-align: right; }
.off { color: #2E7D32; font-size: 34px; font-weight: 800; }
.cut { color: #999; text-decoration: line-through; font-size: 30px; margin-right: 8px; }
.new { font-size: 36px; font-weight: 800; color: #111; }
.suraksha-desc {
margin-top: 18px; font-size: 30px; color: #333; line-height: 1.4;
}
.add-btn {
margin-top: 20px; width: 280px; padding: 18px; background: #2874f0; color: #fff; font-weight: 800;
border-radius: 12px; text-align: center; font-size: 32px;
}
/* Bottom order bar */
.order-bar {
position: absolute; left: 0; right: 0; bottom: 180px;
display: flex; align-items: center; justify-content: space-between;
padding: 24px 32px; background: #fff3cd; border-top: 1px solid #e7d79c;
}
.order-left { display: flex; align-items: baseline; gap: 18px; }
.total-price { font-size: 46px; font-weight: 800; color: #111; }
.view-link { font-size: 30px; color: #2874f0; text-decoration: underline; }
.order-btn {
background: #ffc107; color: #111; font-weight: 800; font-size: 36px;
padding: 22px 40px; border-radius: 16px; border: 2px solid #f0b400;
}
/* Bottom navigation */
.bottom-nav {
position: absolute; left: 0; right: 0; bottom: 0;
height: 120px; background: #fff; border-top: 1px solid #ddd;
display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center;
font-size: 26px; color: #555;
}
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.nav-item svg { width: 40px; height: 40px; fill: #6b6b6b; }
/* Floating elements */
.blue-bubble {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 300px; background: #2874f0; color: #fff; padding: 26px 40px;
border-radius: 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); font-size: 34px; font-weight: 800;
display: flex; align-items: center; gap: 22px;
}
.bubble-arrow {
position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent;
border-top: 20px solid #2874f0;
}
.bubble-close {
width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.25);
display: flex; align-items: center; justify-content: center; font-weight: 900;
}
.cart-fab {
position: absolute; right: 28px; bottom: 160px;
width: 96px; height: 96px; background: #2874f0; border-radius: 20px; display: flex;
align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.cart-fab svg { width: 48px; height: 48px; fill: #fff; }
.badge {
position: absolute; right: -6px; top: -6px; width: 40px; height: 40px; background: #ff3d3d;
color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800;
font-size: 26px; border: 3px solid #fff;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>9:26</div>
<div class="status-icons">
<div class="status-dot"></div>
<div class="status-dot"></div>
</div>
</div>
<!-- Title -->
<div class="page-title">My Cart</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab active">Flipkart (1)</div>
<div class="tab">Grocery</div>
</div>
<!-- Address row -->
<div class="address-row">
<div class="hint">From Saved Addresses</div>
<div class="blue-btn">Enter Delivery Pincode</div>
</div>
<!-- Product card -->
<div class="card">
<div class="product">
<div class="img-ph">[IMG: Product thumbnails]</div>
<div>
<div class="p-title">Knorr Sweet Corn Chicken Soup PA...</div>
<div class="p-sub">Pack of 4, 168 g</div>
<div class="rating-row">
<div class="stars">
<svg viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.8 1.2 6.9L12 18.8 5.8 21l1.2-6.9-5-4.8 6.9-1z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.8 1.2 6.9L12 18.8 5.8 21l1.2-6.9-5-4.8 6.9-1z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.8 1.2 6.9L12 18.8 5.8 21l1.2-6.9-5-4.8 6.9-1z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.8 1.2 6.9L12 18.8 5.8 21l1.2-6.9-5-4.8 6.9-1z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 2l3.1 6.3 6.9 1-5 4.8 1.2 6.9L12 18.8 5.8 21l1.2-6.9-5-4.8 6.9-1z"/></svg>
</div>
<div class="rating-count">(1,866)</div>
</div>
<div class="price-row">
<div class="discount">17% off</div>
<div class="old-price">₹399</div>
<div class="new-price">₹329</div>
</div>
<div class="offers">2 offers applied • 1 offer available</div>
<div class="stock">Only 5 left</div>
<div class="delivery">Delivery by Wed Dec 13 | ₹55</div>
<div class="action-row">
<div class="action-btn">
<svg viewBox="0 0 24 24"><path d="M3 6h18v2H3zm2 3h14l-1 11H6z"/></svg>
<div>Remove</div>
</div>
<div class="action-btn">
<svg viewBox="0 0 24 24"><path d="M6 2h12v20l-6-4-6 4z"/></svg>
<div>Save for later</div>
</div>
<div class="action-btn">
<svg viewBox="0 0 24 24"><path d="M13 3h-2v7H4v2h7v7h2v-7h7v-2h-7z"/></svg>
<div>Buy this now</div>
</div>
</div>
</div>
</div>
</div>
<!-- Digital Suraksha -->
<div class="suraksha-header">
<div>Digital Suraksha for Rs 1000...</div>
<svg viewBox="0 0 24 24" width="40" height="40"><path d="M7 10l5 5 5-5z" fill="#777"/></svg>
</div>
<div class="suraksha-card">
<div class="suraksha-top">
<div class="logo-ph">[IMG: Bajaj Allianz]</div>
<div>
<div class="suraksha-title">Digital Suraksha for Rs 10000 by...</div>
<div class="duration">1 Month</div>
</div>
<div class="offer-price">
<div class="off">50% off</div>
<div><span class="cut">₹40</span><span class="new">₹20</span></div>
</div>
</div>
<div class="suraksha-desc">
Get your financial losses covered for online transaction frauds on all bank accounts,
credit/debit cards, mobile wallets. Covers scam calls, OTP SMS frauds, UPI, netbanking,
Cyber Attacks, Sim-swapping, Phishing, Spoofing and more.
</div>
<div class="add-btn">Add</div>
</div>
<!-- Order bar -->
<div class="order-bar">
<div class="order-left">
<div class="total-price">₹384</div>
<div class="view-link">View price details</div>
</div>
<div class="order-btn">Order</div>
</div>
<!-- Blue overlay bubble -->
<div class="blue-bubble">
<div>Explore More on Flipkart</div>
<div class="bubble-close">×</div>
<div class="bubble-arrow"></div>
</div>
<!-- Floating Cart FAB -->
<div class="cart-fab">
<svg viewBox="0 0 24 24"><path d="M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM6 6h15l-1.5 8H8l-2-8zM3 2h3l1 4H4z"/></svg>
<div class="badge">1</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M12 3l9 8h-3v9H6v-9H3z"/></svg>
<div>Home</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M4 4h7v7H4zm9 0h7v7h-7zM4 13h7v7H4zm9 7v-7h7v7z"/></svg>
<div>Categories</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M12 22c4-3 8-6 8-11a8 8 0 10-16 0c0 5 4 8 8 11zm0-9a3 3 0 110-6 3 3 0 010 6z"/></svg>
<div>Notifications</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-4 0-8 2-8 5v3h16v-3c0-3-4-5-8-5z"/></svg>
<div>Account</div>
</div>
</div>
</div>
</body>
</html> |