File size: 7,705 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Pizza Detail</title>
<style>
  body { margin:0; padding:0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color:#222; }
  #render-target {
    width:1080px; height:2400px; position:relative; overflow:hidden;
    background:#ffffff;
  }

  /* Status bar */
  .status-bar {
    height:120px; padding:0 36px; display:flex; align-items:center; justify-content:space-between;
    color:#555; font-weight:600; font-size:40px;
  }
  .status-icons { display:flex; gap:22px; align-items:center; }
  .dot { width:10px; height:10px; background:#777; border-radius:50%; display:inline-block; margin-left:10px; }

  /* Hero image */
  .hero {
    position:relative;
    height:720px;
  }
  .hero .img {
    position:absolute; inset:0 0 0 0;
    background:#E0E0E0; border:1px solid #BDBDBD;
    display:flex; align-items:center; justify-content:center; color:#757575; font-size:42px; text-align:center; padding:20px;
  }
  .back-btn {
    position:absolute; left:36px; top:42px;
    width:96px; height:96px; border-radius:50%;
    background:#ffffff; box-shadow:0 8px 24px rgba(0,0,0,0.15);
    display:flex; align-items:center; justify-content:center;
  }
  .back-btn svg { width:44px; height:44px; fill:#333; }

  /* Content sheet */
  .sheet {
    position:relative;
    margin-top:660px;  /* pull up over the image */
    background:#fff; border-top-left-radius:48px; border-top-right-radius:48px;
    box-shadow:0 -4px 24px rgba(0,0,0,0.08);
    padding:56px 56px 260px 56px; /* bottom space for CTA */
  }

  .title { font-size:64px; font-weight:800; margin:0 0 24px 0; color:#222; }
  .desc { font-size:38px; line-height:1.5; color:#666; margin-bottom:40px; }
  .price-row { display:flex; align-items:flex-end; gap:28px; margin:8px 0 28px 0; }
  .price {
    color:#d32f2f; font-size:96px; font-weight:800; letter-spacing:1px;
  }
  .old-price {
    color:#9e9e9e; font-size:46px; text-decoration:line-through; margin-bottom:14px;
  }

  /* Options list */
  .options { border-top:1px solid #e0e0e0; margin-top:18px; }
  .option {
    display:flex; align-items:center; justify-content:space-between;
    padding:34px 0; border-bottom:1px solid #eee;
    font-size:44px;
  }
  .opt-left { display:flex; align-items:center; gap:26px; color:#333; }
  .radio {
    width:52px; height:52px; border-radius:50%; border:6px solid #d32f2f; display:inline-flex; align-items:center; justify-content:center;
  }
  .radio .dot { width:26px; height:26px; background:#d32f2f; border-radius:50%; }
  .radio.outline .dot { display:none; }
  .opt-right { display:flex; align-items:center; gap:22px; }
  .old-small { color:#9e9e9e; text-decoration:line-through; font-size:40px; }
  .new-small { color:#222; font-weight:700; font-size:40px; }

  /* Sides card */
  .sides-card {
    margin:44px 0 0 0; border:2px solid #e3e3e3; border-radius:24px; overflow:hidden;
  }
  .sides-head {
    background:#fafafa; padding:28px 32px; border-bottom:1px solid #eee;
    font-size:44px; font-weight:800; color:#333;
  }
  .optional { color:#9e9e9e; font-weight:700; font-size:38px; margin-left:12px; }
  .side-item {
    display:flex; align-items:center; justify-content:space-between;
    padding:30px 32px; border-bottom:1px solid #eee; font-size:42px;
  }
  .side-left { display:flex; align-items:center; gap:26px; color:#444; }
  .checkbox {
    width:52px; height:52px; border-radius:8px; border:6px solid #d32f2f; background:#fff;
  }
  .side-price { color:#444; font-weight:700; }

  /* CTA button */
  .cta-wrap {
    position:absolute; left:0; right:0; bottom:110px; display:flex; justify-content:center; pointer-events:none;
  }
  .cta {
    pointer-events:auto;
    width:920px; height:140px; background:#d32f2f; color:#fff; border-radius:28px;
    display:flex; align-items:center; justify-content:center; font-size:48px; font-weight:800; box-shadow:0 10px 20px rgba(211,47,47,0.35);
  }

  /* Bottom gesture / nav bar */
  .os-bar {
    position:absolute; left:0; right:0; bottom:0; height:110px; background:#000;
    display:flex; align-items:center; justify-content:center;
  }
  .gesture {
    width:200px; height:12px; background:#e8e8e8; border-radius:8px;
  }
</style>
</head>
<body>
<div id="render-target">

  <div class="status-bar">
    <div>8:47</div>
    <div class="status-icons">
      <span>• • • •</span>
      <span class="dot"></span>
    </div>
  </div>

  <div class="hero">
    <div class="img">[IMG: Chicken pizza on pan, top view]</div>
    <div class="back-btn" aria-label="Back">
      <svg viewBox="0 0 24 24">
        <path d="M15.5 19.5L8 12l7.5-7.5-1.4-1.4L5.2 12l8.9 8.9 1.4-1.4z"/>
      </svg>
    </div>
  </div>

  <div class="sheet">
    <h1 class="title">Miami Beast</h1>
    <div class="desc">Made in Garlic Mayo sauce ,Chicken Fajita ,Green Pepper, Green Jalapeno ,Onions & Cheese</div>

    <div class="price-row">
      <div class="price">Rs. 547</div>
      <div class="old-price">Rs. 749</div>
    </div>

    <div class="options">
      <div class="option">
        <div class="opt-left">
          <span class="radio"><span class="dot"></span></span>
          <span>Small Pizza</span>
        </div>
        <div class="opt-right">
          <span class="old-small">Rs. 749</span>
          <span class="new-small">Rs. 547</span>
        </div>
      </div>

      <div class="option">
        <div class="opt-left">
          <span class="radio outline"><span class="dot"></span></span>
          <span>Regular Pizza</span>
        </div>
        <div class="opt-right">
          <span class="old-small">Rs. 1799</span>
          <span class="new-small">Rs. 1169</span>
        </div>
      </div>

      <div class="option">
        <div class="opt-left">
          <span class="radio outline"><span class="dot"></span></span>
          <span>Large Pizza</span>
        </div>
        <div class="opt-right">
          <span class="old-small">Rs. 2499</span>
          <span class="new-small">Rs. 1749</span>
        </div>
      </div>

      <div class="option">
        <div class="opt-left">
          <span class="radio outline"><span class="dot"></span></span>
          <span>Jumbo Pizza</span>
        </div>
        <div class="opt-right">
          <span class="old-small">Rs. 3599</span>
          <span class="new-small">Rs. 2699</span>
        </div>
      </div>
    </div>

    <div class="sides-card">
      <div class="sides-head">
        Choose your sides <span class="optional">(optional)</span>
      </div>

      <div class="side-item">
        <div class="side-left">
          <span class="checkbox"></span>
          <span>9 pc hotshots</span>
        </div>
        <div class="side-price">Rs. 499</div>
      </div>

      <div class="side-item">
        <div class="side-left">
          <span class="checkbox"></span>
          <span>Wrap 6 inch</span>
        </div>
        <div class="side-price">Rs. 399</div>
      </div>

      <div class="side-item">
        <div class="side-left">
          <span class="checkbox"></span>
          <span>2 pc garlic bread</span>
        </div>
        <div class="side-price">Rs. 249</div>
      </div>

      <div class="side-item">
        <div class="side-left">
          <span class="checkbox"></span>
          <span>Spicy fries</span>
        </div>
        <div class="side-price">Rs. 299</div>
      </div>
    </div>
  </div>

  <div class="cta-wrap">
    <div class="cta">Add to Cart - Rs. 547</div>
  </div>

  <div class="os-bar"><div class="gesture"></div></div>

</div>
</body>
</html>