File size: 9,145 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 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Product Details UI</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;
color: #212121;
}
/* Status bar */
.status-bar {
height: 90px;
padding: 0 32px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 32px;
color: #424242;
}
.status-icons { display: flex; gap: 20px; align-items: center; }
.dot { width: 10px; height: 10px; background: #616161; border-radius: 50%; display: inline-block; }
/* Header with search */
.header {
height: 120px;
padding: 0 24px;
display: flex;
align-items: center;
gap: 20px;
}
.icon-btn {
width: 72px;
height: 72px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 36px;
}
.search-bar {
flex: 1;
background: #F2F3F5;
border: 1px solid #E0E0E0;
height: 80px;
border-radius: 18px;
display: flex;
align-items: center;
padding: 0 24px;
gap: 16px;
color: #9E9E9E;
font-size: 32px;
}
.search-placeholder { flex: 1; }
.header-right { width: 88px; height: 88px; display: flex; align-items: center; justify-content: center; }
/* Content scroll area */
.content {
position: absolute;
top: 210px; /* status + header */
bottom: 180px; /* bottom actions */
left: 0;
right: 0;
overflow-y: auto;
padding: 0 32px 24px;
}
.helper-text {
margin: 16px 8px;
color: #757575;
font-size: 30px;
}
.divider { height: 12px; background: #F3F1FA; margin: 8px -32px 24px; }
.section-title {
font-size: 44px;
font-weight: 700;
margin: 16px 0 24px;
}
.detail-row {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 18px 8px;
font-size: 36px;
}
.detail-label { color: #9E9E9E; }
.detail-value { color: #212121; font-weight: 600; text-align: right; }
.sub-title { font-size: 40px; font-weight: 700; margin: 24px 8px 12px; }
.paragraph {
font-size: 34px;
line-height: 1.6;
color: #424242;
margin: 0 8px 24px;
}
.link { color: #1976D2; font-weight: 700; }
.list-row {
border-top: 1px solid #EEEEEE;
border-bottom: 1px solid #EEEEEE;
padding: 26px 8px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 40px;
font-weight: 700;
margin-bottom: 18px;
}
/* Similar products */
.sim-header {
display: flex;
justify-content: space-between;
align-items: center;
margin: 24px 8px;
}
.sim-title { font-size: 44px; font-weight: 700; }
.cards {
display: flex;
gap: 24px;
padding: 0 0 40px 8px;
}
.card {
width: 320px;
border: 1px solid #E0E0E0;
border-radius: 16px;
background: #fff;
overflow: hidden;
}
.img-ph {
width: 100%;
height: 260px;
background: #E0E0E0;
border-bottom: 1px solid #BDBDBD;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
font-size: 28px;
text-align: center;
}
.card-body {
padding: 16px;
}
.brand { font-size: 30px; font-weight: 700; color: #424242; }
.title { font-size: 30px; color: #616161; margin-top: 6px; }
.price-row { display: flex; gap: 10px; align-items: baseline; margin-top: 8px; }
.strike { color: #9E9E9E; text-decoration: line-through; font-size: 28px; }
.price { color: #1A1A1A; font-size: 32px; font-weight: 700; }
/* Bottom action bar */
.bottom-bar {
position: absolute;
left: 0; right: 0; bottom: 56px;
height: 120px;
display: grid;
grid-template-columns: 180px 1fr 1fr;
gap: 24px;
padding: 0 24px;
}
.btn {
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
font-size: 36px;
font-weight: 700;
}
.btn-cart { background: #F7F7F7; border: 1px solid #E0E0E0; color: #212121; gap: 12px; }
.btn-emi { background: #FFFFFF; border: 1px solid #E0E0E0; color: #212121; }
.btn-buy { background: #FFC107; border: 1px solid #E0E0E0; color: #212121; }
.home-indicator {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 16px;
width: 300px;
height: 8px;
background: #000000;
opacity: 0.2;
border-radius: 4px;
}
/* Simple SVG styling */
svg { width: 40px; height: 40px; fill: none; stroke: #212121; stroke-width: 4; }
.chev { width: 40px; height: 40px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>11:30</div>
<div class="status-icons">
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<svg viewBox="0 0 24 24"><path d="M2 18l10-12 10 12H2Z" /></svg>
<svg viewBox="0 0 24 24"><rect x="3" y="6" width="18" height="12" rx="2"></rect><rect x="20" y="9" width="2" height="6"></rect></svg>
</div>
</div>
<!-- Header with back, search, cart -->
<div class="header">
<div class="icon-btn">
<svg viewBox="0 0 24 24"><path d="M15 6 9 12l6 6" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="search-bar">
<span class="search-placeholder">Search for products</span>
<svg viewBox="0 0 24 24"><path d="M12 4v8M8 8h8" stroke="#9E9E9E"/><rect x="9" y="3" width="6" height="12" rx="3" stroke="#9E9E9E"></rect><path d="M12 15v2" stroke="#9E9E9E"></path></svg>
</div>
<div class="header-right">
<svg viewBox="0 0 24 24"><path d="M3 6h18l-2 12H5L3 6Z" stroke-linecap="round" stroke-linejoin="round"/><circle cx="9" cy="20" r="2"/><circle cx="17" cy="20" r="2"/></svg>
</div>
</div>
<!-- Scrollable content -->
<div class="content">
<div class="helper-text">8+ years on Flipkart</div>
<div class="helper-text" style="margin-top:-6px;">Trusted brand on Flipkart</div>
<div class="divider"></div>
<div class="section-title">Product Details</div>
<div class="detail-row">
<div class="detail-label">Outer material</div>
<div class="detail-value">PU</div>
</div>
<div class="detail-row">
<div class="detail-label">Occasion</div>
<div class="detail-value">Sports</div>
</div>
<div class="detail-row">
<div class="detail-label">Type For Sports</div>
<div class="detail-value">Running Shoes</div>
</div>
<div class="sub-title">Details</div>
<div class="paragraph">
When the road beckons, answer the call in a lightweight pair that’ll keep you moving mile after mile. Soft foam cushions your stride and a reinforced heel delivers a smooth, stable ride. Crafted from … <span class="link">more</span>
</div>
<div class="list-row">
<span>All Details</span>
<svg class="chev" viewBox="0 0 24 24"><path d="M9 6l6 6-6 6" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="sim-header">
<div class="sim-title">Similar Products</div>
<svg class="chev" viewBox="0 0 24 24"><path d="M9 6l6 6-6 6" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="cards">
<!-- Card 1 -->
<div class="card">
<div class="img-ph">[IMG: Black Running Shoes]</div>
<div class="card-body">
<div class="brand">NIKE</div>
<div class="title">Revolution 5 Running...</div>
<div class="price-row">
<span class="strike">₹3,695</span>
<span class="price">₹2,586</span>
</div>
</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="img-ph">[IMG: Navy ADIDAS Running Shoes]</div>
<div class="card-body">
<div class="title" style="color:#9E9E9E;">Sponsored</div>
<div class="brand">ADIDAS</div>
<div class="title">ADI-PACE M Running...</div>
<div class="price-row">
<span class="strike">₹5,999</span>
<span class="price">₹5,199</span>
</div>
</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="img-ph">[IMG: Light Grey Running Shoes]</div>
<div class="card-body">
<div class="brand">Mast & Harbour</div>
<div class="title">Running Shoes</div>
<div class="price-row">
<span class="strike">₹3,999</span>
<span class="price">₹2,889</span>
</div>
</div>
</div>
</div>
</div>
<!-- Bottom action bar -->
<div class="bottom-bar">
<div class="btn btn-cart">
<svg viewBox="0 0 24 24"><path d="M3 6h18l-2 12H5L3 6Z" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 9v6M9 12h6"/></svg>
</div>
<div class="btn btn-emi">Pay with EMI</div>
<div class="btn btn-buy">Buy now</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html> |