| <!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; |
| } |
| |
| |
| .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 { |
| position: absolute; |
| left: 0; |
| right: 0; |
| top: 120px; |
| bottom: 300px; |
| 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 { |
| 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-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 { |
| position: absolute; |
| bottom: 10px; |
| left: 50%; |
| transform: translateX(-50%); |
| width: 280px; height: 10px; |
| background: #cfcfcf; |
| border-radius: 8px; |
| } |
| |
| |
| .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"> |
|
|
| |
| <div class="statusbar"> |
| <div class="left">10:34</div> |
| <div class="right"> |
| |
| <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"> |
| <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> |
| |
| <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> |
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <div class="actions"> |
| <div class="act">🗑 Remove</div> |
| <div class="act">⬇ Save for later</div> |
| <div class="act">âš¡ Buy this now</div> |
| </div> |
|
|
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <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> |