File size: 8,046 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 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Add Second Item</title>
<style>
:root{
--green:#2E7D32;
--green-dark:#1f5d24;
--text:#222;
--muted:#777;
--line:#e9ecef;
--card:#ffffff;
--shadow:0 6px 18px rgba(0,0,0,0.12);
}
body{ margin:0; padding:0; background:transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color:var(--text);}
#render-target{
width:1080px; height:2400px; position:relative; overflow:hidden;
background:#fff;
}
.page{ padding: 40px 48px 160px 48px;}
/* Header */
.topbar{ display:flex; align-items:center; justify-content:space-between; }
.topbar .left{ display:flex; align-items:center; gap:24px;}
.icon-btn{ width:64px; height:64px; display:flex; align-items:center; justify-content:center; border-radius:16px; }
.title-wrap{ margin-top:12px; }
.title{ font-size:58px; font-weight:800; letter-spacing:0.4px; }
.subtitle{ margin-top:8px; font-size:30px; color:var(--muted); }
/* Sections */
.section{ margin-top:56px; }
.section-title{ font-size:48px; font-weight:800; letter-spacing:1px; }
.underline{ width:200px; height:8px; background:var(--green); border-radius:8px; margin:14px 0 10px 0; }
/* Item row */
.item{ display:flex; justify-content:space-between; align-items:flex-start; padding: 18px 0 50px 0; border-bottom:1px solid transparent; }
.item + .item{ border-top: 24px solid transparent; }
.details{ max-width:600px; }
.veg-row{ display:flex; align-items:center; gap:16px; margin:16px 0; }
.name{ font-size:46px; font-weight:700; margin:6px 0; }
.price{ font-size:44px; font-weight:800; margin:6px 0 18px 0; }
.tag{ display:flex; align-items:center; gap:12px; color:#5d5d5d; font-weight:700; margin-bottom:18px; }
.tag .j{ width:34px; height:34px; border-radius:50%; background:#FFC107; color:#222; display:flex; align-items:center; justify-content:center; font-weight:800; }
.desc{ font-size:32px; color:#7a7a7a; line-height:1.35; }
.thumb-col{ width:360px; display:flex; flex-direction:column; align-items:flex-end; gap:18px; }
.img-ph{
width:320px; height:320px; background:#E0E0E0; border:1px solid #BDBDBD; border-radius:50%;
display:flex; align-items:center; justify-content:center; color:#757575; text-align:center; padding:18px;
}
.add-btn{
width:320px; height:96px; border-radius:18px; border:2px solid var(--green);
background:#EEF5EE; color:var(--green); font-size:40px; font-weight:800; letter-spacing:0.5px;
display:flex; align-items:center; justify-content:center; box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}
.customize-note{ font-size:28px; color:#7a7a7a; }
/* Bottom sheet */
.bottom-sheet{
position:absolute; left:24px; right:24px; bottom:84px;
background:#e7f0e7; border-radius:22px; padding:22px; box-shadow: var(--shadow);
}
.sheet-top{ display:flex; gap:22px; }
.selected-card{
flex:1; background:#fff; border-radius:18px; padding:24px; box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.sel-row{ display:flex; align-items:center; gap:16px; margin-bottom:12px;}
.sel-name{ font-size:36px; font-weight:800; color:#2b2b2b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sel-price{ font-size:34px; font-weight:800; margin:6px 0; }
.sel-sub{ font-size:28px; color:#8a8a8a; }
.placeholder-card{
flex:1; border:3px solid var(--green); background:#f5faf5; border-radius:18px;
display:flex; align-items:center; justify-content:center; color:#9aa39a; font-size:40px; font-weight:700;
}
.sheet-actions{
margin-top:18px; background:var(--green); border-radius:14px; display:flex; align-items:center; justify-content:space-between; padding:22px 24px; color:#fff;
}
.clear{ font-size:34px; font-weight:800; letter-spacing:1px; }
.continue{
background:#fff; color:var(--green); padding:26px 42px; border-radius:14px; font-size:36px; font-weight:800; letter-spacing:0.5px;
display:flex; align-items:center; gap:18px;
}
/* Simple SVG helpers */
.svg{ width:42px; height:42px; }
.search{ width:56px; height:56px; }
</style>
</head>
<body>
<div id="render-target">
<div class="page">
<div class="topbar">
<div class="left">
<div class="icon-btn" aria-label="Back">
<svg class="svg" viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 18l-6-6 6-6"/>
</svg>
</div>
<div class="title-wrap">
<div class="title">ADD SECOND ITEM</div>
<div class="subtitle">At just 50% of its original price.</div>
</div>
</div>
<div class="icon-btn" aria-label="Search">
<svg class="search" viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2">
<circle cx="11" cy="11" r="7"></circle>
<path d="M20 20l-3.5-3.5"></path>
</svg>
</div>
</div>
<div class="section">
<div class="section-title">SIMPLE</div>
<div class="underline"></div>
<div class="item">
<div class="details">
<div class="veg-row">
<svg class="svg" viewBox="0 0 24 24">
<rect x="3" y="3" width="18" height="18" rx="3" ry="3" fill="none" stroke="#2E7D32" stroke-width="2"></rect>
<circle cx="12" cy="12" r="4" fill="none" stroke="#2E7D32" stroke-width="2"></circle>
</svg>
</div>
<div class="name">Margherita Pizza</div>
<div class="price">₹465</div>
<div class="tag"><span class="j">J</span> Jain Available</div>
<div class="desc">Enjoy 100% Real Mozzarella Cheese Over A Zesty Gravy</div>
</div>
<div class="thumb-col">
<div class="img-ph">[IMG: Plain Cheese Pizza]</div>
<div class="add-btn">ADD +</div>
<div class="customize-note">Customizable</div>
</div>
</div>
</div>
<div class="section">
<div class="section-title">STYLISH</div>
<div class="underline" style="width:180px"></div>
<div class="item">
<div class="details">
<div class="veg-row">
<svg class="svg" viewBox="0 0 24 24">
<rect x="3" y="3" width="18" height="18" rx="3" ry="3" fill="none" stroke="#2E7D32" stroke-width="2"></rect>
<circle cx="12" cy="12" r="4" fill="none" stroke="#2E7D32" stroke-width="2"></circle>
</svg>
</div>
<div class="name">Mac O Mac</div>
<div class="price">₹495</div>
<div class="desc">Cheesey macaroni with storm of jalapeno dips & mozzarella cheddar cheese</div>
</div>
<div class="thumb-col">
<div class="img-ph">[IMG: Mac O Mac Pizza]</div>
<div class="add-btn">ADD +</div>
<div class="customize-note">Customizable</div>
</div>
</div>
</div>
</div>
<!-- Bottom floating sheet -->
<div class="bottom-sheet">
<div class="sheet-top">
<div class="selected-card">
<div class="sel-row">
<svg class="svg" viewBox="0 0 24 24">
<rect x="3" y="3" width="18" height="18" rx="3" ry="3" fill="none" stroke="#2E7D32" stroke-width="2"></rect>
<circle cx="12" cy="12" r="4" fill="none" stroke="#2E7D32" stroke-width="2"></circle>
</svg>
<div class="sel-name">Awesome Blosso...</div>
</div>
<div class="sel-price">₹645</div>
<div class="sel-sub">customized</div>
</div>
<div class="placeholder-card">SECOND ITEM HERE</div>
</div>
<div class="sheet-actions">
<div class="clear">CLEAR</div>
<div class="continue">CONTINUE WITH ONE ITEM
<svg viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="#2E7D32" stroke-width="3" style="margin-left:6px;">
<path d="M8 4l8 8-8 8"></path>
</svg>
</div>
</div>
</div>
</div>
</body>
</html> |