| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=1080, initial-scale=1.0" /> |
| <title>Product Detail - Mock</title> |
| <style> |
| body { margin: 0; padding: 0; background: transparent; } |
| #render-target { |
| width: 1080px; height: 2400px; |
| position: relative; overflow: hidden; |
| background: #ffffff; border-radius: 24px; |
| box-shadow: 0 10px 30px rgba(0,0,0,0.08); |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| color: #212121; |
| } |
| .header { |
| position: relative; |
| padding: 24px 36px 16px 36px; |
| } |
| .icon-btn { |
| width: 72px; height: 72px; border: none; background: transparent; padding: 0; cursor: default; |
| } |
| .header-row { |
| display: grid; |
| grid-template-columns: 72px 1fr 72px; |
| align-items: center; |
| column-gap: 24px; |
| } |
| .search-bar { |
| height: 88px; |
| background: #F1F3F4; |
| border: 1px solid #E0E0E0; |
| border-radius: 20px; |
| display: grid; |
| grid-template-columns: 80px 1fr 80px; |
| align-items: center; |
| color: #757575; |
| } |
| .search-placeholder { |
| font-size: 34px; |
| } |
| .search-icon, .mic-icon, .cart-icon svg, .back-icon svg { display: block; margin: 0 auto; } |
| .right-rail { |
| position: absolute; |
| right: 36px; |
| top: 380px; |
| display: flex; |
| flex-direction: column; |
| gap: 36px; |
| } |
| .rail-btn { |
| width: 84px; height: 84px; |
| border-radius: 42px; |
| border: 1px solid #E0E0E0; |
| background: #fff; |
| display: flex; align-items: center; justify-content: center; |
| } |
| |
| .product-image { |
| width: 960px; height: 600px; |
| margin: 24px auto 24px auto; |
| background: #E0E0E0; |
| border: 1px solid #BDBDBD; |
| border-radius: 16px; |
| display: flex; align-items: center; justify-content: center; |
| color: #616161; font-size: 36px; letter-spacing: 0.2px; |
| } |
| |
| .pager-dots { |
| display: flex; gap: 20px; justify-content: center; align-items: center; |
| margin: 16px 0 28px 0; |
| } |
| .dot { width: 18px; height: 18px; border-radius: 9px; background: #BDBDBD; } |
| .dot.active { background: #616161; } |
| |
| .content { padding: 0 36px; } |
| .link { color: #1E6DFB; font-size: 40px; font-weight: 700; margin-bottom: 16px; } |
| .title { font-size: 40px; line-height: 1.4; margin-top: 10px; } |
| .title strong { font-weight: 800; } |
| |
| .rating-row { |
| display: flex; align-items: center; gap: 18px; margin-top: 18px; |
| font-size: 34px; |
| } |
| .stars { display: flex; gap: 10px; } |
| .star svg { display: block; } |
| .rating-text { color: #1A73E8; font-weight: 700; } |
| .dot-sep { color: #9E9E9E; } |
| .assured { |
| display: inline-flex; align-items: center; gap: 10px; |
| border: 1px solid #E0E0E0; padding: 8px 16px; border-radius: 20px; |
| font-size: 30px; color: #616161; |
| } |
| |
| .deal-tag { |
| display: inline-block; background: #7E57C2; color: #fff; |
| font-size: 34px; font-weight: 700; padding: 16px 24px; border-radius: 12px; |
| margin-top: 36px; margin-bottom: 18px; |
| } |
| |
| .price-row { |
| display: flex; align-items: baseline; gap: 24px; |
| font-size: 46px; margin: 8px 0 36px 0; |
| } |
| .off { color: #1F8B2E; font-weight: 800; } |
| .strike { color: #9E9E9E; text-decoration: line-through; font-weight: 700; } |
| .new-price { font-weight: 900; font-size: 60px; } |
| |
| .fab-brand { |
| position: absolute; right: 36px; top: 1480px; |
| width: 120px; height: 120px; border-radius: 60px; |
| background: radial-gradient(circle at 30% 30%, #69B8FF, #2E6BFF); |
| box-shadow: 0 8px 24px rgba(0,0,0,0.18); |
| display: flex; align-items: center; justify-content: center; |
| color: #fff; font-weight: 900; font-size: 56px; |
| } |
| |
| .cta { |
| position: absolute; left: 36px; right: 36px; bottom: 160px; |
| display: grid; grid-template-columns: 220px 1fr 360px; |
| gap: 24px; |
| } |
| .cta .box { |
| height: 140px; border-radius: 20px; display: flex; |
| align-items: center; justify-content: center; font-size: 40px; |
| font-weight: 700; |
| border: 1px solid #E0E0E0; background: #fff; color: #212121; |
| } |
| .cta .primary { |
| background: #FFC107; border: none; color: #212121; |
| } |
| .cta .box .label { margin-left: 20px; } |
| .cart-plus { display: flex; align-items: center; gap: 14px; } |
| |
| |
| .gesture { |
| position: absolute; left: 420px; right: 420px; bottom: 80px; |
| height: 10px; background: #000; border-radius: 5px; opacity: 0.25; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| <div class="header"> |
| <div class="header-row"> |
| <button class="icon-btn back-icon"> |
| <svg width="56" height="56" viewBox="0 0 56 56"> |
| <polyline points="34,10 18,28 34,46" fill="none" stroke="#212121" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"></polyline> |
| </svg> |
| </button> |
|
|
| <div class="search-bar"> |
| <div class="search-icon"> |
| <svg width="44" height="44" viewBox="0 0 24 24"> |
| <circle cx="10" cy="10" r="7" stroke="#616161" stroke-width="2" fill="none"></circle> |
| <line x1="15.5" y1="15.5" x2="21" y2="21" stroke="#616161" stroke-width="2" stroke-linecap="round"></line> |
| </svg> |
| </div> |
| <div class="search-placeholder">Search for products</div> |
| <div class="mic-icon"> |
| <svg width="44" height="44" viewBox="0 0 24 24"> |
| <rect x="9" y="4" width="6" height="10" rx="3" fill="#616161"></rect> |
| <path d="M5 11c0 4 3 6 7 6s7-2 7-6" stroke="#616161" stroke-width="2" fill="none" stroke-linecap="round"></path> |
| <line x1="12" y1="17" x2="12" y2="21" stroke="#616161" stroke-width="2" stroke-linecap="round"></line> |
| <line x1="8" y1="21" x2="16" y2="21" stroke="#616161" stroke-width="2" stroke-linecap="round"></line> |
| </svg> |
| </div> |
| </div> |
|
|
| <button class="icon-btn cart-icon"> |
| <svg width="56" height="56" viewBox="0 0 24 24"> |
| <circle cx="9" cy="20" r="2" fill="#212121"></circle> |
| <circle cx="18" cy="20" r="2" fill="#212121"></circle> |
| <path d="M3 5h3l2 10h10l2-7H9" stroke="#212121" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path> |
| </svg> |
| </button> |
| </div> |
| </div> |
|
|
| <div class="right-rail"> |
| <div class="rail-btn"> |
| <svg width="40" height="40" viewBox="0 0 24 24"> |
| <path d="M12 21s-7-4.6-7-10a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 5.4-7 10-7 10z" fill="none" stroke="#616161" stroke-width="2"></path> |
| </svg> |
| </div> |
| <div class="rail-btn"> |
| <svg width="40" height="40" viewBox="0 0 24 24"> |
| <path d="M14 9l7-7v7h-7z" fill="none" stroke="#616161" stroke-width="2" stroke-linejoin="round"></path> |
| <path d="M21 11v9H3V4h9" fill="none" stroke="#616161" stroke-width="2"></path> |
| </svg> |
| </div> |
| </div> |
|
|
| <div class="product-image"> |
| [IMG: Nike Running Shoe - side view] |
| </div> |
|
|
| <div class="pager-dots"> |
| <div class="dot active"></div> |
| <div class="dot"></div> |
| <div class="dot"></div> |
| <div class="dot"></div> |
| </div> |
|
|
| <div class="content"> |
| <div class="link">View more from NIKE</div> |
|
|
| <div class="title"> |
| <strong>NIKE</strong> Revolution 5 Running Shoes For Women (Multicolor) |
| </div> |
|
|
| <div class="rating-row"> |
| <div class="stars"> |
| <div class="star"> |
| <svg width="40" height="40" viewBox="0 0 24 24"> |
| <polygon points="12,2 15,9 22,9 17,13 19,20 12,16 5,20 7,13 2,9 9,9" fill="#1F8B2E"></polygon> |
| </svg> |
| </div> |
| <div class="star"> |
| <svg width="40" height="40" viewBox="0 0 24 24"> |
| <polygon points="12,2 15,9 22,9 17,13 19,20 12,16 5,20 7,13 2,9 9,9" fill="#1F8B2E"></polygon> |
| </svg> |
| </div> |
| <div class="star"> |
| <svg width="40" height="40" viewBox="0 0 24 24"> |
| <polygon points="12,2 15,9 22,9 17,13 19,20 12,16 5,20 7,13 2,9 9,9" fill="#1F8B2E"></polygon> |
| </svg> |
| </div> |
| <div class="star"> |
| <svg width="40" height="40" viewBox="0 0 24 24"> |
| <polygon points="12,2 15,9 22,9 17,13 19,20 12,16 5,20 7,13 2,9 9,9" fill="#1F8B2E"></polygon> |
| </svg> |
| </div> |
| <div class="star"> |
| <svg width="40" height="40" viewBox="0 0 24 24"> |
| <polygon points="12,2 15,9 22,9 17,13 19,20 12,16 5,20 7,13 2,9 9,9" fill="#BDBDBD"></polygon> |
| </svg> |
| </div> |
| </div> |
| <div class="rating-text">Very Good</div> |
| <div class="dot-sep">•</div> |
| <div style="color:#1A73E8;">49 ratings</div> |
| <div class="assured"> |
| <svg width="26" height="26" viewBox="0 0 24 24"> |
| <polygon points="12,2 15,9 22,9 17,13 19,20 12,16 5,20 7,13 2,9 9,9" fill="#FFC107"></polygon> |
| </svg> |
| Plus F-Assured |
| </div> |
| </div> |
|
|
| <div class="deal-tag">Big Saving Deal</div> |
|
|
| <div class="price-row"> |
| <div class="off">30% off</div> |
| <div class="strike">₹3,695</div> |
| <div class="new-price">₹2,586</div> |
| </div> |
| </div> |
|
|
| <div class="fab-brand">F</div> |
|
|
| <div class="cta"> |
| <div class="box cart-plus"> |
| <svg width="46" height="46" viewBox="0 0 24 24"> |
| <circle cx="9" cy="20" r="2" fill="#212121"></circle> |
| <circle cx="18" cy="20" r="2" fill="#212121"></circle> |
| <path d="M3 5h3l2 10h10l2-7H9" stroke="#212121" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path> |
| <line x1="20" y1="6" x2="20" y2="12" stroke="#212121" stroke-width="2"></line> |
| <line x1="17" y1="9" x2="23" y2="9" stroke="#212121" stroke-width="2"></line> |
| </svg> |
| <span class="label">Add</span> |
| </div> |
| <div class="box">Pay with EMI</div> |
| <div class="box primary">Buy now</div> |
| </div> |
|
|
| <div class="gesture"></div> |
| </div> |
| </body> |
| </html> |