| <!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; |
| 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 { |
| 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; } |
| |
| |
| .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 { |
| 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 { |
| 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 { |
| 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"> |
| |
| <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> |
| |
| <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"> |
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <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> |