File size: 11,970 Bytes
fa881a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Reviews & Ratings UI</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #333; }
  #render-target {
    width: 1080px; height: 2400px; position: relative; overflow: hidden;
    background: #ffffff; border-radius: 28px; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  }
  /* Status bar */
  .system-bar {
    height: 120px; background: #9FA0A4; color: #fff; display: flex; align-items: center;
    padding: 0 40px; font-weight: 600; font-size: 40px; letter-spacing: 0.2px;
  }
  .sys-left { flex: 0 0 auto; }
  .sys-center { flex: 1; display: flex; gap: 28px; justify-content: center; align-items: center; opacity: 0.9; font-size: 34px; }
  .sys-right { flex: 0 0 auto; display: flex; align-items: center; gap: 18px; font-size: 34px; }
  .battery { width: 46px; height: 22px; border: 3px solid #fff; border-radius: 6px; position: relative; }
  .battery::after { content: ""; position: absolute; right: -10px; top: 5px; width: 8px; height: 12px; background: #fff; border-radius: 2px; }
  .battery .level { background: #fff; width: 70%; height: 100%; }
  /* Header */
  .app-header {
    height: 160px; display: grid; grid-template-columns: 100px 120px 1fr 100px 100px; align-items: center;
    padding: 0 32px; gap: 24px; background: #fff;
  }
  .icon-btn { width: 92px; height: 92px; display: flex; justify-content: center; align-items: center; }
  .logo {
    width: 100px; height: 100px; background: #E54A4A; border-radius: 20px; color: #fff; font-weight: 800; font-size: 56px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  }
  .search-box {
    height: 100px; background: #fff; border: 2px solid #D9D9DE; border-radius: 50px;
    display: flex; align-items: center; padding: 0 28px; gap: 22px; box-shadow: 0 3px 8px rgba(0,0,0,0.08) inset;
  }
  .search-box .placeholder { color: #7A7A7A; font-size: 36px; }
  .chip-outline {
    background: #F6E6E8; color: #C03A3A; border-radius: 18px; font-weight: 700; padding: 22px 30px; font-size: 32px;
  }
  /* Content */
  .content { padding: 20px 40px 220px; }
  .title-row { display: flex; justify-content: space-between; align-items: center; }
  .page-title { font-size: 56px; font-weight: 800; letter-spacing: 0.3px; }
  .subtitle { font-size: 34px; color: #60656B; margin-top: 22px; }
  .ratings-wrap { display: grid; grid-template-columns: 420px 1fr; gap: 40px; margin-top: 28px; }
  .big-score { font-size: 120px; font-weight: 800; color: #21A31C; display: flex; align-items: center; gap: 22px; }
  .small-note { color: #8A8F96; font-size: 34px; margin-top: 22px; line-height: 1.3; }
  .dist-row { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 20px; margin: 18px 0; font-size: 40px; color: #3A3A3A; }
  .bar { height: 30px; background: #E9E9EB; border-radius: 18px; overflow: hidden; }
  .fill { height: 100%; background: #2FA74B; border-radius: 18px; }
  .divider { border-top: 2px dashed #DADDE0; margin: 26px 0; }
  .review { padding: 26px 0; }
  .stars { display: flex; gap: 10px; margin-bottom: 16px; }
  .review .name { font-size: 42px; font-weight: 700; }
  .review .date { color: #8C8F95; font-size: 30px; margin: 6px 0 22px; }
  .review .headline { font-size: 44px; font-weight: 800; margin-bottom: 10px; }
  .review .text { font-size: 38px; color: #454B52; line-height: 1.4; }
  .link-row { display: flex; align-items: center; gap: 14px; color: #1F6FD1; font-weight: 800; font-size: 36px; margin: 22px 0 30px; }
  /* FAQ section */
  .faq-header { display: flex; justify-content: space-between; align-items: center; background: #F4F5F8; border-radius: 16px; padding: 30px 26px; margin-top: 26px; }
  .faq-title { font-size: 48px; font-weight: 800; }
  .faq-sub { font-size: 32px; color: #7D8087; padding: 20px 8px; }
  .question { font-size: 40px; font-weight: 800; color: #333; padding: 24px 8px; }
  /* Bottom CTA */
  .cta-bar {
    position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: #fff;
    box-shadow: 0 -6px 18px rgba(0,0,0,0.08); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 20px 30px;
  }
  .btn {
    border-radius: 26px; display: flex; align-items: center; justify-content: center; gap: 18px;
    font-size: 42px; font-weight: 800; color: #fff;
  }
  .btn.cart { background: #2C7BE5; }
  .btn.buy { background: #E53935; }
  /* Simple SVG convenience */
  svg { display: block; }
</style>
</head>
<body>
<div id="render-target">
  <!-- Status bar -->
  <div class="system-bar">
    <div class="sys-left">9:13</div>
    <div class="sys-center">
      • • • ib •
    </div>
    <div class="sys-right">
      <span></span>
      <div class="battery"><div class="level"></div></div>
      <span>83%</span>
    </div>
  </div>

  <!-- App header -->
  <div class="app-header">
    <div class="icon-btn">
      <svg width="60" height="60" viewBox="0 0 60 60">
        <path d="M40 10 L20 30 L40 50" stroke="#222" stroke-width="8" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
      </svg>
    </div>
    <div class="logo">m</div>
    <div class="search-box">
      <svg width="44" height="44" viewBox="0 0 24 24">
        <circle cx="10" cy="10" r="6" stroke="#555" stroke-width="2" fill="none"></circle>
        <path d="M14.5 14.5 L20 20" stroke="#555" stroke-width="2" stroke-linecap="round"></path>
      </svg>
      <div class="placeholder">Search for Hammer Dr...</div>
      <div style="margin-left:auto;">
        <svg width="44" height="44" viewBox="0 0 24 24">
          <path d="M12 2 C9 2 8 4 8 6 L8 12 C7 12 6.5 12.5 6.5 13.2 C6.5 14 7 14.5 8 14.5 L16 14.5 C17 14.5 17.5 14 17.5 13.2 C17.5 12.5 17 12 16 12 L16 6 C16 4 15 2 12 2 Z" fill="#3E6DE0"/>
          <rect x="10" y="16.5" width="4" height="4.5" rx="1" fill="#3E6DE0"/>
        </svg>
      </div>
    </div>
    <div class="icon-btn">
      <svg width="60" height="60" viewBox="0 0 24 24">
        <path d="M3 4 H6 L7.5 13.5 C7.8 15.2 9.2 16.5 11 16.5 H17 C18.8 16.5 20.2 15.2 20.5 13.5 L21 9 H8" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
        <circle cx="10" cy="20" r="1.8" fill="#222"></circle>
        <circle cx="17" cy="20" r="1.8" fill="#222"></circle>
      </svg>
    </div>
    <div class="icon-btn">
      <svg width="58" height="58" viewBox="0 0 24 24">
        <path d="M3 6 H21 M3 12 H21 M3 18 H21" stroke="#222" stroke-width="2.6" stroke-linecap="round"/>
      </svg>
    </div>
  </div>

  <div class="content">
    <div class="title-row">
      <div class="page-title">Reviews & Ratings</div>
      <div class="chip-outline">WRITE A REVIEW</div>
    </div>

    <div class="subtitle">Pinaka Mod.Pi-226 1600W 26mm Hammer Drill</div>

    <div class="ratings-wrap">
      <div>
        <div class="big-score">
          4.9
          <svg width="80" height="80" viewBox="0 0 24 24">
            <path d="M12 2 L14.8 8.9 L22 9.2 L16.5 14 L18.4 21 L12 17 L5.6 21 L7.5 14 L2 9.2 L9.2 8.9 Z" fill="#22B228"/>
          </svg>
        </div>
        <div class="small-note">Average Rating based on 7 ratings and 7 reviews</div>
      </div>
      <div>
        <div class="dist-row">
          <div>5</div>
          <div class="bar"><div class="fill" style="width:72%;"></div></div>
        </div>
        <div class="dist-row">
          <div>4</div>
          <div class="bar"><div class="fill" style="width:18%;"></div></div>
        </div>
        <div class="dist-row">
          <div>3</div>
          <div class="bar"><div class="fill" style="width:3%; background:#C7E7CC;"></div></div>
        </div>
        <div class="dist-row">
          <div>2</div>
          <div class="bar"><div class="fill" style="width:2%; background:#D8F0DA;"></div></div>
        </div>
        <div class="dist-row">
          <div>1</div>
          <div class="bar"><div class="fill" style="width:1%; background:#E8F7E9;"></div></div>
        </div>
      </div>
    </div>

    <div class="divider"></div>

    <!-- Review 1 -->
    <div class="review">
      <div class="stars">
        <svg width="42" height="42" viewBox="0 0 24 24"><path d="M12 2 L14.6 8.5 L22 9.2 L16.7 13.8 L18.4 21 L12 17.2 L5.6 21 L7.3 13.8 L2 9.2 L9.4 8.5 Z" fill="#FFC107"/></svg>
        <svg width="42" height="42" viewBox="0 0 24 24"><path d="M12 2 L14.6 8.5 L22 9.2 L16.7 13.8 L18.4 21 L12 17.2 L5.6 21 L7.3 13.8 L2 9.2 L9.4 8.5 Z" fill="#FFC107"/></svg>
        <svg width="42" height="42" viewBox="0 0 24 24"><path d="M12 2 L14.6 8.5 L22 9.2 L16.7 13.8 L18.4 21 L12 17.2 L5.6 21 L7.3 13.8 L2 9.2 L9.4 8.5 Z" fill="#FFC107"/></svg>
        <svg width="42" height="42" viewBox="0 0 24 24"><path d="M12 2 L14.6 8.5 L22 9.2 L16.7 13.8 L18.4 21 L12 17.2 L5.6 21 L7.3 13.8 L2 9.2 L9.4 8.5 Z" fill="#FFC107"/></svg>
        <svg width="42" height="42" viewBox="0 0 24 24"><path d="M12 2 L14.6 8.5 L22 9.2 L16.7 13.8 L18.4 21 L12 17.2 L5.6 21 L7.3 13.8 L2 9.2 L9.4 8.5 Z" fill="#FFC107"/></svg>
      </div>
      <div class="name">Ishmita</div>
      <div class="date">June 6, 2022</div>
      <div class="headline">Strong grip</div>
      <div class="text">Good for general purposes.</div>
    </div>

    <div class="divider"></div>

    <!-- Review 2 -->
    <div class="review">
      <div class="stars">
        <svg width="42" height="42" viewBox="0 0 24 24"><path d="M12 2 L14.6 8.5 L22 9.2 L16.7 13.8 L18.4 21 L12 17.2 L5.6 21 L7.3 13.8 L2 9.2 L9.4 8.5 Z" fill="#FFC107"/></svg>
        <svg width="42" height="42" viewBox="0 0 24 24"><path d="M12 2 L14.6 8.5 L22 9.2 L16.7 13.8 L18.4 21 L12 17.2 L5.6 21 L7.3 13.8 L2 9.2 L9.4 8.5 Z" fill="#FFC107"/></svg>
        <svg width="42" height="42" viewBox="0 0 24 24"><path d="M12 2 L14.6 8.5 L22 9.2 L16.7 13.8 L18.4 21 L12 17.2 L5.6 21 L7.3 13.8 L2 9.2 L9.4 8.5 Z" fill="#FFC107"/></svg>
        <svg width="42" height="42" viewBox="0 0 24 24"><path d="M12 2 L14.6 8.5 L22 9.2 L16.7 13.8 L18.4 21 L12 17.2 L5.6 21 L7.3 13.8 L2 9.2 L9.4 8.5 Z" fill="#FFC107"/></svg>
        <svg width="42" height="42" viewBox="0 0 24 24"><path d="M12 2 L14.6 8.5 L22 9.2 L16.7 13.8 L18.4 21 L12 17.2 L5.6 21 L7.3 13.8 L2 9.2 L9.4 8.5 Z" fill="#FFC107"/></svg>
      </div>
      <div class="name">Chundi Harshavardhan Reddy</div>
      <div class="date">April 10, 2023</div>
      <div class="headline">Solid Build Quality</div>
      <div class="text">This drill feels robust and well built. I can tell it is going to last a long time, even with frequent use on construction sites.</div>
    </div>

    <div class="divider"></div>

    <div class="link-row">
      <span>VIEW 5 MORE HELPFUL REVIEWS</span>
      <svg width="34" height="34" viewBox="0 0 24 24">
        <path d="M8 5 L16 12 L8 19" fill="none" stroke="#1F6FD1" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
      </svg>
    </div>

    <!-- FAQ -->
    <div class="faq-header">
      <div class="faq-title">Frequently Asked Questions</div>
      <div class="chip-outline">ASK NOW</div>
    </div>
    <div class="faq-sub">Displaying Questions 1-2 / 2</div>
    <div class="divider"></div>
    <div class="question">Q1: What is the price of this product ?</div>
  </div>

  <!-- Bottom CTA bar -->
  <div class="cta-bar">
    <div class="btn cart">
      <svg width="52" height="52" viewBox="0 0 24 24">
        <path d="M3 5 H6 L7.2 13 C7.5 14.7 9 16 10.7 16 H17 C18.7 16 20.2 14.7 20.5 13 L21 9 H8" stroke="#fff" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
        <circle cx="10" cy="20" r="1.8" fill="#fff"></circle>
        <circle cx="17" cy="20" r="1.8" fill="#fff"></circle>
      </svg>
      <span>ADD TO CART</span>
    </div>
    <div class="btn buy">
      <span>BUY NOW</span>
    </div>
  </div>
</div>
</body>
</html>