File size: 9,990 Bytes
f2389fe
 
4a361b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7d22865
4a361b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2414775
4a361b5
 
2414775
4a361b5
 
 
 
 
 
 
 
f2389fe
 
 
4a361b5
 
 
 
 
f2389fe
4a361b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2414775
 
 
92f6d27
2414775
 
 
 
4a361b5
 
 
f2389fe
 
 
 
 
 
 
 
 
4a361b5
 
 
f2389fe
 
3c8d5e3
 
 
 
 
 
 
 
 
 
 
 
f2389fe
 
 
 
4a361b5
f2389fe
 
3c8d5e3
2414775
 
 
 
3c8d5e3
 
 
f2389fe
 
 
 
 
 
 
3c8d5e3
 
 
f2389fe
2414775
 
 
 
 
f2389fe
 
 
 
 
 
4a361b5
 
1bb3b66
4a361b5
 
3c8d5e3
4a361b5
3c8d5e3
 
4a361b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f2389fe
 
 
4a361b5
 
 
 
 
 
 
f2389fe
 
 
 
 
 
 
 
4a361b5
 
 
f2389fe
 
 
 
4a361b5
f2389fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4a361b5
f2389fe
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
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your Personalized Style Curation</title>
    <style>
        /* Adjusted colors for better visibility */
        body {
            margin: 0;
            padding: 0;
            width: 100%;
            font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
            line-height: 1.6;
            color: #2C2C2C;
            /* Darker gray for better contrast */
            background-color: #FAF9F6;
            /* Light neutral background */
        }

        .nlbackgroundcontainer {
            max-width: 600px;
            margin: 0 auto;
            padding: 30px;
            background-color: #FFFFFF;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border: 1px solid #DDDDDD;
            /* Neutral border */
            color: black;
        }

        .nlheader {
            text-align: center;
            padding: 20px 0;
            border-bottom: 1px solid #CCCCCC;
            margin-bottom: 30px;
        }

        .nlheader img {
            max-width: 200px;
            height: auto;
        }

        .nlsection {
            margin-bottom: 0px;
        }

        h1,
        h2,
        h3 {
            font-family: 'Didot', serif;
            color: #333333;
            /* Dark neutral tone for headings */
            margin-bottom: 15px;
        }

        .nlsection-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 20px;
        }

        .bought-item,
        .product {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: calc(50% - 50px);
            margin: 10px 0;
            text-align: center;
            padding: 10px;
            background-color: #F9F9F9;
            border-radius: 8px;
            border: 1px solid #DDDDDD;
            transition: transform 0.3s ease;
            color: rgba(0, 0, 0, 0.1);
        }

        @media screen and (max-width: 600px) {
            .nlsection-row {
                flex-direction: column;
            }

            .bought-item,
            .product {
                width: 100%;
                margin: 10px 0;
            }
        }

        .bought-item:hover,
        .product:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .deal-box {
            background-color: #F4F4F4;
            color: rgba(0, 0, 0, 0.1);
            padding: 20px;
            margin: 15px 0;
            border-radius: 8px;
            text-align: center;
            border: 1px solid #CCCCCC;
        }

        .nlbutton {
            display: inline-block;
            padding: 12px 25px;
            background-color: #5A5A5A;
            /* Neutral dark button */
            color: #050505;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: background-color 0.3s ease;
        }

        .nlbutton:hover {
            background-color: #333333;
            /* Slightly darker on hover */
        }

        .nlfooter {
            text-align: center;
            padding: 20px;
            background-color: #F4F4F4;
            border-top: 1px solid #CCCCCC;
            font-size: 0.9em;
        }

        a {
            color: rgba(0, 0, 0, 0.1);
            /* Neutral dark links */
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }

        .arrow {
            font-size: 1.5rem;
            color: #333333 !important;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    </style>
</head>

<body>
    <div class="nlbackgroundcontainer">
        <!-- nlheader nlsection -->
        <div class="nlheader" style="display: flex; justify-content: center; align-items: center;">
            <img src="${brand_logo}" alt="Brand Logo">
        </div>

        <!-- Personal Greeting -->
        <div class="nlsection">
            <p
                style="font-size: 18px; font-family: 'Georgia', 'Times New Roman', serif; font-style: italic; line-height: 1.5; color: black; letter-spacing: 0.5px; text-align: left;">
                ${greeting} </p>
        </div>


        <p
            style="font-size: 18px; font-family: 'Georgia', 'Times New Roman', serif; font-style: italic; color: #333; line-height: 1.5; letter-spacing: 0.5px; text-align: left;">
            ${intro} </p>

        <div>
            <div class="nlsection-row" style="justify-content: space-around;">
                <h2 style="color:black;">Your selections</h2>
                <h2 style="color:black;">We think you'd like</h2>
            </div>
        </div>

        <!-- Previously Bought Items nlsection -->
        <div class="nlsection">
            <div class="nlsection-row">
                <div class="bought-item">
                    <img src=${transaction_url} alt="Previous Product 1">
                    <h3 style="color:black;"> ${transaction_name} </h3>
                </div>

                <div class="arrow">
                    &#8594;
                </div>

                <div class="product">
                    <img src=${recommendation_url} alt="Recommended Product 1">
                    <h3 style="color:black;">${recommendation_name}</h3>
                </div>
            </div>
        </div>

        <!-- Recommended Items -->
        <div class="nlsection">
            <div class="nlsection-row">
                <div class="bought-item">
                    <img src=${transaction_url} alt="Previous Product 2">
                    <h3 style="color:black;">${transaction_name}</h3>
                </div>

                <div class="arrow">
                    &#8594;
                </div>

                <div class="product">
                    <img src=${recommendation_url} alt="Recommended Product 2">
                    <h3 style="color:black;">${recommendation_name}</h3>
                </div>
            </div>
        </div>

        <p
            style="font-size: 18px; font-family: 'Georgia', 'Times New Roman', serif; font-style: italic; color: #333; line-height: 1.5; letter-spacing: 0.5px; text-align: left; padding-bottom: 30px; margin-top: 30px;">
            ${recommendations} </p>


        <div style="background-color: #EBEAE8; padding: 20px; border-radius: 10px;">
            <h2 style="color:black;">See it all together</h2>

            <!-- Previously Bought Items nlsection -->
            <div class="nlsection">
                <div class="nlsection-row">
                    <div class="bought-item">
                        <img src=${transaction_url_board} alt="Previous Product Board 1">
                    </div>

                    <div class="product">
                        <img src=${recommendation_url_board} alt="Recommended Product Board 1">
                    </div>
                </div>
            </div>

            <!-- Recommended Items -->

            <div class="nlsection">
                <div class="nlsection-row">
                    <div class="bought-item">
                        <img src=${transaction_url_board} alt="Previous Product Board 2">
                    </div>
                    <div class="product">
                        <img src=${recommendation_url_board} alt="Recommended Product Board 2">
                    </div>
                </div>
            </div>
        </div>

        <!-- Deals nlsection -->
        <div class="nlsection">
            <h2 style="color: #8B6914;">Not Your Style?</h2>
            <p
                style="font-size: 18px; font-family: 'Georgia', 'Times New Roman', serif; font-style: italic; color: #333; line-height: 1.5; letter-spacing: 0.5px; text-align: left;">
                Well, I always try my best and recommend what I think would suit you well, but hey, we all make
                mistakes, right? </p>
            <p
                style="font-size: 18px; font-family: 'Georgia', 'Times New Roman', serif; font-style: italic; color: #333; line-height: 1.5; letter-spacing: 0.5px; text-align: left;">
                No worries though, I still have a lot of stuff for you! Take a look at these weekly deals! </p>
            <div class="deal-box">
                <h3 style="color:black;"> 30% OFF ALL DRESSES</h3>
                <p style="color:black;">Exclusive Code: LSF30</p>
            </div>
            <div class="deal-box">
                <h3 style="color:black;"> BUY 2 GET 1 FREE</h3>
                <p style="color:black;">On our curated accessories collection</p>
            </div>
            <p
                style="font-size: 18px; font-family: 'Georgia', 'Times New Roman', serif; font-style: italic; color: #333; line-height: 1.5; letter-spacing: 0.5px; text-align: left;">
                ${closing} </p>
        </div>

        <!-- Call to Action -->
        <div class="nlsection" style="text-align: center;">
            <h2 style="color:black;">Ready to Refine Your Wardrobe?</h2>
            <a href="#" class="nlbutton">View New Arrivals</a>
            <a href="#" class="nlbutton" style="background-color: #5D4037;">Book Styling Consultation</a>
        </div>

        <!-- nlfooter -->
        <div class="nlfooter">
            <p style="font-weight: bold; color:black">The ${brand_name} Team</p>
            <p style="color:black;">
                <small>
                    You're receiving this curated selection because you're part of our stylish community.
                    <a href="#">Unsubscribe</a> | <a href="#">View in Browser</a>
                </small>
            </p>
        </div>
    </div>
</body>

</html>