File size: 12,673 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Cart UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; color:#212121; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff;
}
/* Scrollable content area */
.screen {
position: absolute; inset: 0; overflow-y: auto; padding-bottom: 240px;
}
.statusbar {
height: 90px; padding: 0 36px; display:flex; align-items:center; justify-content: space-between; color:#333;
font-size: 34px;
}
.status-icons { display:flex; gap:22px; align-items:center; opacity:0.8; }
.dot { width:10px; height:10px; background:#666; border-radius:50%; display:inline-block; margin-left:8px; }
.divider { height: 14px; background: #efefef; width:100%; }
.section { padding: 36px; }
h1.title { font-size: 64px; font-weight: 600; margin: 24px 0 8px; }
.address-row {
display:flex; align-items:center; justify-content: space-between; margin-top: 12px;
font-size: 38px;
}
.address-row b { font-weight:700; }
.btn-outline {
padding: 20px 32px; border: 2px solid #dadada; border-radius: 16px; color:#1976d2; font-weight:600; background:#fff; font-size:36px;
}
.info-banner {
margin-top: 24px; padding: 26px 28px; border:1px solid #c9daf5; background:#eaf3ff; color:#3b5ea8; border-radius: 14px;
font-size: 34px;
}
/* Product item */
.item {
padding: 28px 36px;
background:#fff;
}
.item-row { display:flex; gap:28px; }
.thumb {
width: 210px; height: 210px; background:#E0E0E0; border:1px solid #BDBDBD; border-radius: 8px;
display:flex; align-items:center; justify-content:center; color:#757575; font-size:28px; position: relative;
}
.pill {
position:absolute; top:-18px; left:0;
background:#e8f5e9; color:#1b5e20; border-radius:10px; padding:10px 16px; font-size:30px; font-weight:700;
}
.pill.hot { background:#e8f5e9; color:#1b5e20; }
.details { flex:1; min-width:0; }
.name { font-size:44px; font-weight:600; color:#222; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.variant { color:#777; font-size:32px; margin-top:6px; }
.rating-row { display:flex; align-items:center; gap:14px; margin:12px 0; }
.stars { display:flex; gap:6px; }
.stars svg { width:36px; height:36px; }
.plus { color:#1976d2; font-weight:700; font-size:32px; opacity:0.9; }
.price-row { display:flex; align-items:baseline; gap:18px; margin:10px 0 6px; }
.off { color:#1b5e20; font-weight:700; font-size:46px; }
.mrp { color:#777; text-decoration: line-through; font-size:36px; }
.sale { font-size:54px; font-weight:800; }
.offer { color:#1b5e20; font-weight:700; font-size:34px; margin-top: 6px; }
.delivery { color:#555; font-size:34px; margin-top: 14px; }
.delivery .free { color:#1b5e20; font-weight:700; }
.qty-row { display:flex; align-items:center; gap:16px; margin: 18px 0; }
.qty {
border:2px solid #d9d9d9; border-radius:12px; padding:16px 22px; font-size:34px; color:#333; width: 180px; text-align:center;
display:flex; align-items:center; justify-content:space-between;
}
.action-bar {
display:flex; border-top:1px solid #e6e6e6; border-bottom:1px solid #e6e6e6; margin-top:26px;
}
.action {
flex:1; padding:28px; display:flex; align-items:center; justify-content:center; gap:16px; font-size:36px; color:#444;
background:#fafafa;
}
.action + .action { border-left:1px solid #e6e6e6; }
.action svg { width:36px; height:36px; opacity:0.7; }
/* Sticky bottom summary + nav */
.summary-bar {
position:absolute; left:0; right:0; bottom:140px; background:#fff; border-top:1px solid #e5e5e5;
display:flex; align-items:center; justify-content:space-between; padding:24px 36px;
}
.summary-left { display:flex; flex-direction:column; gap:8px; }
.summary-left .striked { color:#9e9e9e; text-decoration: line-through; font-size:34px; }
.summary-left .total { font-size:64px; font-weight:800; }
.place-btn {
background:#ffcc00; color:#111; font-weight:800; font-size:42px; border:none; border-radius:18px; padding:28px 44px;
box-shadow: 0 2px 0 rgba(0,0,0,0.1) inset;
}
.bottom-nav {
position:absolute; left:0; right:0; bottom:0; height:140px; background:#fff; border-top:1px solid #e5e5e5;
display:flex; align-items:center; justify-content:space-around;
}
.tab { display:flex; flex-direction:column; align-items:center; gap:8px; font-size:26px; color:#555; }
.tab.active { color:#1976d2; }
.tab svg { width:44px; height:44px; }
.badge {
position:absolute; right:-6px; top:-6px; background:#e53935; color:#fff; font-size:22px; min-width:30px; height:30px; border-radius:16px; display:flex; align-items:center; justify-content:center;
padding: 0 8px;
}
.cart-icon { position: relative; }
/* Simple helpers */
.muted { color:#777; }
</style>
</head>
<body>
<div id="render-target">
<div class="screen">
<!-- Status Bar -->
<div class="statusbar">
<div>10:33</div>
<div class="status-icons">
<span class="dot"></span><span class="dot"></span><span class="dot"></span><span class="dot"></span>
<span style="margin-left:8px;">•</span>
<svg viewBox="0 0 24 24" width="32" height="32"><path fill="#666" d="M4 10v4h2v-4H4zm3-3v10h2V7H7zm3 5v5h2v-5h-2zm3-8v13h2V4h-2zm3 3v10h2V7h-2z"/></svg>
<svg viewBox="0 0 24 24" width="32" height="32"><path fill="#666" d="M12 22c4.97 0 9-4.03 9-9h-2a7 7 0 1 1-7-7V3L17 7l-5 4V8a5 5 0 1 0 5 5h2c0 3.87-3.13 7-7 7z"/></svg>
<svg viewBox="0 0 24 24" width="32" height="32"><path fill="#666" d="M16 7h-1V6a3 3 0 1 0-6 0v1H8a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zm-7-1a2 2 0 1 1 4 0v1h-4V6zm8 12H7V9h10v9z"/></svg>
</div>
</div>
<div class="section">
<h1 class="title">My Cart</h1>
<div class="address-row">
<div>Deliver to: <b>New Delhi - 110004</b></div>
<button class="btn-outline">Change</button>
</div>
<div class="info-banner">2,00,000+ orders from New Delhi in the last 30 days</div>
</div>
<div class="divider"></div>
<!-- Item 1 -->
<div class="item">
<div class="item-row">
<div class="thumb">
<div class="pill">FREE Delivery</div>
[IMG: Toy Robot]
</div>
<div class="details">
<div class="name">Lakshita Rotation Dancing & Spinnin..</div>
<div class="variant">Blue</div>
<div class="rating-row">
<div class="stars">
<svg viewBox="0 0 24 24"><polygon fill="#2e7d32" points="12,2 15,9 23,9 17,14 19,22 12,18 5,22 7,14 1,9 9,9"/></svg>
<svg viewBox="0 0 24 24"><polygon fill="#2e7d32" points="12,2 15,9 23,9 17,14 19,22 12,18 5,22 7,14 1,9 9,9"/></svg>
<svg viewBox="0 0 24 24"><polygon fill="#2e7d32" points="12,2 15,9 23,9 17,14 19,22 12,18 5,22 7,14 1,9 9,9"/></svg>
<svg viewBox="0 0 24 24"><polygon fill="#2e7d32" points="12,2 15,9 23,9 17,14 19,22 12,18 5,22 7,14 1,9 9,9"/></svg>
<svg viewBox="0 0 24 24"><polygon fill="#cfcfcf" points="12,2 15,9 23,9 17,14 19,22 12,18 5,22 7,14 1,9 9,9"/></svg>
</div>
<div class="muted">(59)</div>
<div class="plus">Plus F‑ASSURED</div>
</div>
<div class="qty-row">
<div class="qty">
<span>Qty: 1</span>
<svg viewBox="0 0 24 24"><path fill="#666" d="M7 10l5 5 5-5z"/></svg>
</div>
</div>
<div class="price-row">
<div class="off">−70%</div>
<div class="mrp">₹999</div>
<div class="sale">₹299</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="action-bar">
<div class="action">
<svg viewBox="0 0 24 24"><path fill="#666" d="M16 9v10H8V9H5l7-5 7 5h-3z"/></svg>
<span>Remove</span>
</div>
<div class="action">
<svg viewBox="0 0 24 24"><path fill="#666" d="M17 3H7v2h10V3zm3 6H4v2h16V9zM7 19h10v-2H7v2z"/></svg>
<span>Save for later</span>
</div>
<div class="action">
<svg viewBox="0 0 24 24"><path fill="#666" d="M7 13h10L12 3zM5 21h14v-2H5z"/></svg>
<span>Buy this now</span>
</div>
</div>
</div>
<!-- Item 2 -->
<div class="item">
<div class="item-row">
<div class="thumb">
<div class="pill hot">Hot Deal</div>
[IMG: Book Cover]
</div>
<div class="details">
<div class="name">Half Girlfriend</div>
<div class="variant">English, Paperback, Bhagat Chetan</div>
<div class="rating-row">
<div class="stars">
<svg viewBox="0 0 24 24"><polygon fill="#2e7d32" points="12,2 15,9 23,9 17,14 19,22 12,18 5,22 7,14 1,9 9,9"/></svg>
<svg viewBox="0 0 24 24"><polygon fill="#2e7d32" points="12,2 15,9 23,9 17,14 19,22 12,18 5,22 7,14 1,9 9,9"/></svg>
<svg viewBox="0 0 24 24"><polygon fill="#2e7d32" points="12,2 15,9 23,9 17,14 19,22 12,18 5,22 7,14 1,9 9,9"/></svg>
<svg viewBox="0 0 24 24"><polygon fill="#2e7d32" points="12,2 15,9 23,9 17,14 19,22 12,18 5,22 7,14 1,9 9,9"/></svg>
<svg viewBox="0 0 24 24"><polygon fill="#a5d6a7" points="12,2 15,9 23,9 17,14 19,22 12,18 5,22 7,14 1,9 9,9"/></svg>
</div>
<div class="muted">(60,691)</div>
<div class="plus">Plus F‑ASSURED</div>
</div>
<div class="qty-row">
<div class="qty">
<span>Qty: 1</span>
<svg viewBox="0 0 24 24"><path fill="#666" d="M7 10l5 5 5-5z"/></svg>
</div>
</div>
<div class="price-row">
<div class="off">−22%</div>
<div class="mrp">₹195</div>
<div class="sale">₹152</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="action-bar">
<div class="action">
<svg viewBox="0 0 24 24"><path fill="#666" d="M16 9v10H8V9H5l7-5 7 5h-3z"/></svg>
<span>Remove</span>
</div>
<div class="action">
<svg viewBox="0 0 24 24"><path fill="#666" d="M17 3H7v2h10V3zm3 6H4v2h16V9zM7 19h10v-2H7v2z"/></svg>
<span>Save for later</span>
</div>
<div class="action">
<svg viewBox="0 0 24 24"><path fill="#666" d="M7 13h10L12 3zM5 21h14v-2H5z"/></svg>
<span>Buy this now</span>
</div>
</div>
</div>
<!-- Summary bar -->
<div class="summary-bar">
<div class="summary-left">
<div class="striked">1,194</div>
<div class="total">451</div>
</div>
<button class="place-btn">Place order</button>
</div>
<!-- Spacer for bottom nav -->
<div style="height:140px;"></div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="tab">
<svg viewBox="0 0 24 24"><path fill="#666" d="M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3z"/></svg>
<div>Home</div>
</div>
<div class="tab">
<svg viewBox="0 0 24 24"><circle cx="6" cy="6" r="3" fill="#666"/><circle cx="18" cy="6" r="3" fill="#666"/><circle cx="6" cy="18" r="3" fill="#666"/><circle cx="18" cy="18" r="3" fill="#666"/></svg>
<div>Categories</div>
</div>
<div class="tab">
<svg viewBox="0 0 24 24"><path fill="#666" d="M12 22a2 2 0 0 1-2-2h4a2 2 0 0 1-2 2zm6-6V9a6 6 0 1 0-12 0v7l-2 2v1h16v-1l-2-2z"/></svg>
<div>Notifications</div>
</div>
<div class="tab">
<svg viewBox="0 0 24 24"><circle cx="12" cy="8" r="4" fill="#666"/><path fill="#666" d="M4 20c0-4 4-6 8-6s8 2 8 6H4z"/></svg>
<div>Account</div>
</div>
<div class="tab active">
<div class="cart-icon">
<svg viewBox="0 0 24 24"><path fill="#1976d2" d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm8 0c-1.1 0-1.99.9-1.99 2S13.9 22 15 22s2-.9 2-2-.9-2-2-2zM7.2 6l.8 2h9.4l-1.2 6H8.6l-2.2-8H3V4h3.4l.8 2z"/></svg>
<span class="badge">2</span>
</div>
<div>Cart</div>
</div>
</div>
</div>
</body>
</html> |