File size: 11,469 Bytes
0e1717f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>UI Render - Reviews & Ratings</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
  #render-target {
    width: 1440px; height: 3120px; position: relative; overflow: hidden;
    background: #FFFFFF; border-radius: 24px; box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    color: #222;
  }
  .safe-area { width: 100%; padding: 24px 60px 0 60px; box-sizing: border-box; }
  /* Status bar (top) */
  .status-bar { height: 96px; display: flex; align-items: center; justify-content: space-between; color: #555; font-size: 40px; }
  .status-left { letter-spacing: 1px; }
  .status-right { display: flex; gap: 24px; align-items: center; }
  .status-dot { width: 10px; height: 10px; background:#999; border-radius: 50%; display:inline-block; }
  /* Action bar */
  .action-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
  .circle-btn { width: 120px; height: 120px; border-radius: 60px; background: #F7F7F7; border: 1px solid #E6E6E6; display: flex; align-items: center; justify-content: center; }
  .right-actions { display: flex; gap: 24px; }
  .icon svg { width: 56px; height: 56px; }
  /* Tabs */
  .tabs { margin-top: 28px; background: #F3F4F6; border-radius: 28px; display: flex; padding: 12px; gap: 12px; }
  .tab { flex: 1; text-align: center; padding: 28px 0; font-size: 48px; color: #666; border-radius: 20px; }
  .tab.active { background: #FFFFFF; color: #111; box-shadow: 0 2px 0 rgba(0,0,0,0.08) inset; }
  /* Section heading */
  .section-title { font-size: 72px; font-weight: 700; margin: 56px 0 28px 0; }
  /* Rating card */
  .card { border: 1px solid #E6E6E6; border-radius: 28px; padding: 54px; box-sizing: border-box; background: #fff; }
  .rating-card { display: flex; gap: 40px; }
  .rating-left { width: 42%; border-right: 1px solid #EAEAEA; padding-right: 40px; }
  .rating-number { font-size: 140px; font-weight: 700; line-height: 1; }
  .rating-outof { font-size: 60px; color: #666; }
  .rating-meta { margin-top: 28px; font-size: 44px; color: #333; }
  .rating-right { flex: 1; padding-left: 20px; }
  .star-row { display: grid; grid-template-columns: 80px 1fr 120px; align-items: center; gap: 16px; margin: 20px 0; font-size: 44px; color: #666; }
  .progress { height: 24px; background: #EDEDED; border-radius: 12px; overflow: hidden; }
  .bar { height: 100%; border-radius: 12px; }
  .bar.green { background: #64C35C; }
  .bar.green2 { background: #86C97E; }
  .bar.lime { background: #B6D663; }
  .bar.yellow { background: #F5C84A; }
  .bar.red { background: #F36B7A; }
  /* Sort & Filter strip */
  .strip { margin-top: 40px; background: #F6F6F6; border-radius: 24px; border: 1px solid #ECECEC; display: grid; grid-template-columns: 1fr 1fr; }
  .strip > div { padding: 36px 40px; display: flex; align-items: center; gap: 24px; }
  .strip .divider { border-left: 1px solid #E8E8E8; }
  .strip-title { font-size: 52px; font-weight: 700; color: #444; }
  .strip-sub { font-size: 40px; color: #9AA0A6; margin-top: 8px; }
  /* Image placeholder */
  .img-ph { width: 100%; height: 790px; background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 28px;
    display: flex; justify-content: center; align-items: center; color: #757575; font-size: 48px; }
  /* Subsection titles */
  .subheading { margin: 40px 0 24px 0; font-size: 48px; font-weight: 800; letter-spacing: 1px; color: #333; }
  /* Review snippet */
  .review { font-size: 44px; color: #444; line-height: 1.4; }
  .muted { color: #777; }
  /* Product card */
  .product-card { position: absolute; left: 60px; right: 60px; bottom: 360px; background: #fff; border-top: 1px solid #EEEEEE; box-shadow: 0 4px 16px rgba(0,0,0,0.06); border-radius: 18px; padding: 28px; display: flex; align-items: center; gap: 28px; }
  .thumb { width: 180px; height: 180px; background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 16px; display:flex; align-items:center; justify-content:center; color:#757575; font-size: 32px; }
  .product-info { flex: 1; }
  .product-title { font-size: 44px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .price-row { margin-top: 12px; display: flex; align-items: baseline; gap: 20px; }
  .price { font-size: 64px; font-weight: 800; color: #111; }
  .mrp { font-size: 44px; color: #999; text-decoration: line-through; }
  .offer { font-size: 44px; color: #FF9F1C; font-weight: 700; }
  /* Bottom Buy Bar */
  .buy-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: #fff; border-top: 1px solid #EEE; display: flex; align-items: center; justify-content: space-between; padding: 0 60px; box-sizing: border-box; }
  .buy-button { background: #FF2D55; color: #fff; font-size: 60px; font-weight: 800; border-radius: 20px; padding: 38px 380px; }
  .mini-cart { width: 120px; height: 120px; border-radius: 60px; background: #F7F7F7; border: 1px solid #E6E6E6; display:flex; align-items:center; justify-content:center; }
  /* Utility icons */
  .icon-stroke { stroke: #444; stroke-width: 2.2; fill: none; }
  .icon-muted { stroke: #8A8A8A; }
  .star { width: 40px; height: 40px; vertical-align: middle; }
</style>
</head>
<body>
<div id="render-target">
  <div class="safe-area">
    <!-- Status Bar -->
    <div class="status-bar">
      <div class="status-left">2:28</div>
      <div class="status-right">
        <span>â—”</span><span>â—‘</span><span>â—’</span><span>â—“</span><span class="status-dot"></span>
        <span>📶</span><span>🔋</span>
      </div>
    </div>

    <!-- Action Bar -->
    <div class="action-bar">
      <div class="circle-btn icon">
        <svg viewBox="0 0 24 24">
          <path class="icon-stroke" d="M15 6L9 12l6 6"></path>
        </svg>
      </div>
      <div class="right-actions">
        <div class="circle-btn icon">
          <svg viewBox="0 0 24 24">
            <circle class="icon-stroke" cx="11" cy="11" r="7"></circle>
            <path class="icon-stroke" d="M21 21l-4.5-4.5"></path>
          </svg>
        </div>
        <div class="circle-btn icon">
          <svg viewBox="0 0 24 24">
            <path class="icon-stroke" d="M3 12l9-9 9 9"></path>
            <path class="icon-stroke" d="M6 9v12h12V9"></path>
          </svg>
        </div>
        <div class="circle-btn icon">
          <svg viewBox="0 0 24 24">
            <path class="icon-stroke" d="M3 6h2l2 12h10l2-10H6"></path>
            <circle class="icon-stroke" cx="9" cy="20" r="1.7"></circle>
            <circle class="icon-stroke" cx="17" cy="20" r="1.7"></circle>
          </svg>
        </div>
      </div>
    </div>

    <!-- Tabs -->
    <div class="tabs">
      <div class="tab">Details</div>
      <div class="tab">More Like This</div>
      <div class="tab active">Reviews</div>
    </div>

    <!-- Reviews & Ratings -->
    <div class="section-title">Reviews & Ratings</div>
    <div class="card rating-card">
      <div class="rating-left">
        <div>
          <span class="rating-number">3.6</span><span class="rating-outof">/5</span>
        </div>
        <div class="rating-meta">23 Reviews | 103 Ratings</div>
      </div>
      <div class="rating-right">
        <!-- 5 Star -->
        <div class="star-row">
          <div>5
            <svg class="star" viewBox="0 0 24 24">
              <path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#C5C5C5"></path>
            </svg>
          </div>
          <div class="progress"><div class="bar green" style="width: 72%;"></div></div>
          <div style="text-align:right;">50</div>
        </div>
        <!-- 4 Star -->
        <div class="star-row">
          <div>4
            <svg class="star" viewBox="0 0 24 24">
              <path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#C5C5C5"></path>
            </svg>
          </div>
          <div class="progress"><div class="bar green2" style="width: 36%;"></div></div>
          <div style="text-align:right;">15</div>
        </div>
        <!-- 3 Star -->
        <div class="star-row">
          <div>3
            <svg class="star" viewBox="0 0 24 24">
              <path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#C5C5C5"></path>
            </svg>
          </div>
          <div class="progress"><div class="bar lime" style="width: 22%;"></div></div>
          <div style="text-align:right;">8</div>
        </div>
        <!-- 2 Star -->
        <div class="star-row">
          <div>2
            <svg class="star" viewBox="0 0 24 24">
              <path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#C5C5C5"></path>
            </svg>
          </div>
          <div class="progress"><div class="bar yellow" style="width: 16%;"></div></div>
          <div style="text-align:right;">6</div>
        </div>
        <!-- 1 Star -->
        <div class="star-row">
          <div>1
            <svg class="star" viewBox="0 0 24 24">
              <path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#C5C5C5"></path>
            </svg>
          </div>
          <div class="progress"><div class="bar red" style="width: 64%;"></div></div>
          <div style="text-align:right;">24</div>
        </div>
      </div>
    </div>

    <!-- Sort & Filter -->
    <div class="strip">
      <div>
        <svg viewBox="0 0 24 24" class="icon-muted" width="60" height="60">
          <path class="icon-stroke icon-muted" d="M7 4v14M4 7l3-3 3 3M17 20V6M14 17l3 3 3-3"></path>
        </svg>
        <div>
          <div class="strip-title">Sort</div>
          <div class="strip-sub">Most Helpful</div>
        </div>
      </div>
      <div class="divider">
        <svg viewBox="0 0 24 24" class="icon-muted" width="60" height="60">
          <path class="icon-stroke icon-muted" d="M4 7h16M9 7a2 2 0 110 0M4 12h16M15 12a2 2 0 110 0M4 17h16M7 17a2 2 0 110 0"></path>
        </svg>
        <div>
          <div class="strip-title">Filter</div>
          <div class="strip-sub">All Stars</div>
        </div>
      </div>
    </div>

    <!-- Customer Photos -->
    <div class="subheading">CUSTOMER PHOTOS (1)</div>
    <div class="img-ph">[IMG: Tool kit case photo]</div>

    <!-- Customer Reviews -->
    <div class="subheading">CUSTOMER REVIEWS (23)</div>
    <div class="card">
      <div class="review">
        Good product — solid build quality and useful accessories.<br>
        <span class="muted">Reviewed by: Customer • 2 weeks ago</span>
      </div>
    </div>
  </div>

  <!-- Product summary card near bottom -->
  <div class="product-card">
    <div class="thumb">[IMG: Tool kit]</div>
    <div class="product-info">
      <div class="product-title">Shopper52 - DRLTOOLSET-nw6 650W 13mm Corded Drill Toolkit...</div>
      <div class="price-row">
        <div class="price">₹3145</div>
        <div class="mrp">₹4999</div>
        <div class="offer">37% OFF</div>
      </div>
    </div>
  </div>

  <!-- Bottom Buy Bar -->
  <div class="buy-bar">
    <div class="mini-cart icon">
      <svg viewBox="0 0 24 24">
        <path class="icon-stroke" d="M3 6h2l2 12h10l2-10H6"></path>
        <circle class="icon-stroke" cx="9" cy="20" r="1.6"></circle>
        <circle class="icon-stroke" cx="17" cy="20" r="1.6"></circle>
      </svg>
    </div>
    <div class="buy-button">Buy Now</div>
  </div>
</div>
</body>
</html>