easyorders 0.1.16 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/bin/cli.js +22 -8
- package/dist/server/index.js +12 -7
- package/dist/template/theme/config.json +24 -26
- package/dist/template/theme/home-sections/category-mosaic/config.json +125 -125
- package/dist/template/theme/home-sections/category-mosaic/template.liquid +170 -170
- package/dist/template/theme/home-sections/editorial-feature/config.json +93 -93
- package/dist/template/theme/home-sections/editorial-feature/template.liquid +154 -154
- package/dist/template/theme/home-sections/newsletter-luxe/config.json +86 -86
- package/dist/template/theme/home-sections/newsletter-luxe/template.liquid +150 -150
- package/dist/template/theme/home-sections/runway-hero/config.json +148 -148
- package/dist/template/theme/home-sections/runway-hero/template.liquid +189 -189
- package/dist/template/theme/home-sections/shop-the-look/config.json +167 -167
- package/dist/template/theme/home-sections/shop-the-look/template.liquid +326 -326
- package/dist/template/theme/home-sections/trust-promise/config.json +121 -121
- package/package.json +2 -2
|
@@ -1,326 +1,326 @@
|
|
|
1
|
-
<section
|
|
2
|
-
class="eo-home-section shop-the-look shop-the-look--{{ section_data.surface | default: 'cream' }}"
|
|
3
|
-
{% if section_data.enable_animation != false %}data-section-anim="{{ section_data.animation_style | default: 'fade-up' }}"{% endif %}
|
|
4
|
-
style="
|
|
5
|
-
--stl-accent: {{ section_data.accent_color | default: '#C9A962' }};
|
|
6
|
-
--stl-card-bg: {{ section_data.card_bg_color | default: '' }};
|
|
7
|
-
--stl-card-title: {{ section_data.card_title_color | default: '' }};
|
|
8
|
-
--stl-card-price: {{ section_data.card_price_color | default: '' }};
|
|
9
|
-
--stl-card-old-price: {{ section_data.card_old_price_color | default: '' }};
|
|
10
|
-
{% if section_data.heading_title_color != blank %}--stl-head-title-color: {{ section_data.heading_title_color }};{% endif %}
|
|
11
|
-
--stl-head-title-size: {{ section_data.heading_title_size | default: 38 }}px;
|
|
12
|
-
--stl-head-title-weight: {{ section_data.heading_title_weight | default: '500' }};
|
|
13
|
-
{% if section_data.heading_subtitle_color != blank %}--stl-head-subtitle-color: {{ section_data.heading_subtitle_color }};--stl-head-subtitle-opacity: 1;{% endif %}
|
|
14
|
-
--stl-head-subtitle-size: {{ section_data.heading_subtitle_size | default: 16 }}px;
|
|
15
|
-
--stl-head-subtitle-weight: {{ section_data.heading_subtitle_weight | default: '400' }};
|
|
16
|
-
"
|
|
17
|
-
>
|
|
18
|
-
<header class="shop-the-look__head ab-anim-el">
|
|
19
|
-
{% if section_data.eyebrow != blank %}
|
|
20
|
-
<p class="shop-the-look__eyebrow">{{ section_data.eyebrow }}</p>
|
|
21
|
-
{% endif %}
|
|
22
|
-
{% if section_data.title != blank %}
|
|
23
|
-
<h2 class="shop-the-look__title">{{ section_data.title }}</h2>
|
|
24
|
-
{% endif %}
|
|
25
|
-
{% if section_data.subtitle != blank %}
|
|
26
|
-
<p class="shop-the-look__subtitle">{{ section_data.subtitle }}</p>
|
|
27
|
-
{% endif %}
|
|
28
|
-
</header>
|
|
29
|
-
|
|
30
|
-
<div class="shop-the-look__layout">
|
|
31
|
-
<a class="shop-the-look__hero ab-anim-el" href="{{ section_data.look_url | default: '/products' }}">
|
|
32
|
-
<div class="shop-the-look__hero-visual">
|
|
33
|
-
{% if section_data.look_image != blank %}
|
|
34
|
-
<img
|
|
35
|
-
class="shop-the-look__hero-img"
|
|
36
|
-
src="{{ section_data.look_image }}"
|
|
37
|
-
alt="{{ section_data.look_title | default: 'Look' }}"
|
|
38
|
-
loading="lazy"
|
|
39
|
-
width="900"
|
|
40
|
-
height="1120"
|
|
41
|
-
>
|
|
42
|
-
{% else %}
|
|
43
|
-
<div class="shop-the-look__hero-placeholder" aria-hidden="true"></div>
|
|
44
|
-
{% endif %}
|
|
45
|
-
<div class="shop-the-look__hero-shade" aria-hidden="true"></div>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="shop-the-look__hero-copy">
|
|
48
|
-
{% if section_data.look_title != blank %}
|
|
49
|
-
<span class="shop-the-look__hero-title">{{ section_data.look_title }}</span>
|
|
50
|
-
{% endif %}
|
|
51
|
-
{% if section_data.look_caption != blank %}
|
|
52
|
-
<span class="shop-the-look__hero-caption">{{ section_data.look_caption }}</span>
|
|
53
|
-
{% endif %}
|
|
54
|
-
{% if section_data.look_cta_label != blank %}
|
|
55
|
-
<span class="shop-the-look__hero-cta">{{ section_data.look_cta_label }}</span>
|
|
56
|
-
{% endif %}
|
|
57
|
-
</div>
|
|
58
|
-
</a>
|
|
59
|
-
|
|
60
|
-
<div
|
|
61
|
-
class="shop-the-look__picks eo-hs ab-anim-el{% if section_data.pick_product_ids == blank or section_data.pick_product_ids.size == 0 %} eo-hs--empty{% endif %}"
|
|
62
|
-
data-eo-hs-entity="products"
|
|
63
|
-
data-eo-hs-ids="{{ section_data.pick_product_ids | join: ',' | strip }}"
|
|
64
|
-
data-eo-hs-currency="{{ currency }}"
|
|
65
|
-
>
|
|
66
|
-
<div class="shop-the-look__picks-inner" data-eo-hs-mount>
|
|
67
|
-
{% if section_data.pick_product_ids and section_data.pick_product_ids.size > 0 %}
|
|
68
|
-
{% for id in section_data.pick_product_ids %}
|
|
69
|
-
<div class="eo-hs-skeleton eo-hs-skeleton--product" aria-hidden="true"></div>
|
|
70
|
-
{% endfor %}
|
|
71
|
-
{% else %}
|
|
72
|
-
<p class="shop-the-look__picks-empty">Add products in the section settings to list pieces from this look.</p>
|
|
73
|
-
{% endif %}
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</section>
|
|
78
|
-
|
|
79
|
-
<style>
|
|
80
|
-
.shop-the-look {
|
|
81
|
-
padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
|
|
82
|
-
}
|
|
83
|
-
.shop-the-look--cream {
|
|
84
|
-
background: #f3efe8;
|
|
85
|
-
margin-block: 15px;
|
|
86
|
-
color: #1c1a17;
|
|
87
|
-
}
|
|
88
|
-
.shop-the-look--charcoal {
|
|
89
|
-
background: #1e1c24;
|
|
90
|
-
color: #f4eee6;
|
|
91
|
-
}
|
|
92
|
-
.shop-the-look__head {
|
|
93
|
-
max-width: 1160px;
|
|
94
|
-
margin: 0 auto 30px;
|
|
95
|
-
}
|
|
96
|
-
.shop-the-look__eyebrow {
|
|
97
|
-
margin: 0 0 0.4rem;
|
|
98
|
-
font-size: 0.7rem;
|
|
99
|
-
font-weight: 600;
|
|
100
|
-
letter-spacing: 0.28em;
|
|
101
|
-
text-transform: uppercase;
|
|
102
|
-
color: var(--stl-accent, #c9a962);
|
|
103
|
-
}
|
|
104
|
-
.shop-the-look__title {
|
|
105
|
-
margin: 0 0 0.5rem;
|
|
106
|
-
font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
107
|
-
font-weight: var(--stl-head-title-weight, 500);
|
|
108
|
-
font-size: clamp(1.25rem, 3vw, var(--stl-head-title-size, 38px));
|
|
109
|
-
line-height: 1.15;
|
|
110
|
-
color: var(--stl-head-title-color, inherit);
|
|
111
|
-
}
|
|
112
|
-
.shop-the-look__subtitle {
|
|
113
|
-
margin: 0;
|
|
114
|
-
font-size: var(--stl-head-subtitle-size, 16px);
|
|
115
|
-
font-weight: var(--stl-head-subtitle-weight, 400);
|
|
116
|
-
line-height: 1.65;
|
|
117
|
-
opacity: var(--stl-head-subtitle-opacity, 0.82);
|
|
118
|
-
color: var(--stl-head-subtitle-color, inherit);
|
|
119
|
-
}
|
|
120
|
-
.shop-the-look__layout {
|
|
121
|
-
max-width: 1160px;
|
|
122
|
-
margin: 0 auto;
|
|
123
|
-
display: grid;
|
|
124
|
-
gap: clamp(1.25rem, 3vw, 2rem);
|
|
125
|
-
align-items: stretch;
|
|
126
|
-
}
|
|
127
|
-
@media (min-width: 960px) {
|
|
128
|
-
.shop-the-look__layout {
|
|
129
|
-
grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
.shop-the-look__hero {
|
|
133
|
-
position: relative;
|
|
134
|
-
display: block;
|
|
135
|
-
border-radius: 8px;
|
|
136
|
-
overflow: hidden;
|
|
137
|
-
text-decoration: none;
|
|
138
|
-
color: inherit;
|
|
139
|
-
min-height: clamp(300px, 60vh, 540px);
|
|
140
|
-
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
|
141
|
-
}
|
|
142
|
-
.shop-the-look--charcoal .shop-the-look__hero {
|
|
143
|
-
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
|
|
144
|
-
}
|
|
145
|
-
.shop-the-look__hero:hover {
|
|
146
|
-
transform: translateY(-3px);
|
|
147
|
-
box-shadow: 0 32px 72px rgba(0, 0, 0, 0.18);
|
|
148
|
-
}
|
|
149
|
-
.shop-the-look__hero-visual {
|
|
150
|
-
position: absolute;
|
|
151
|
-
inset: 0;
|
|
152
|
-
}
|
|
153
|
-
.shop-the-look__hero-img {
|
|
154
|
-
width: 100%;
|
|
155
|
-
height: 100%;
|
|
156
|
-
object-fit: cover;
|
|
157
|
-
display: block;
|
|
158
|
-
}
|
|
159
|
-
.shop-the-look__hero-placeholder {
|
|
160
|
-
width: 100%;
|
|
161
|
-
height: 100%;
|
|
162
|
-
background: linear-gradient(135deg, #c4bbb0, #8a8278);
|
|
163
|
-
}
|
|
164
|
-
.shop-the-look--charcoal .shop-the-look__hero-placeholder {
|
|
165
|
-
background: linear-gradient(135deg, #3d3848, #1a1820);
|
|
166
|
-
}
|
|
167
|
-
.shop-the-look__hero-shade {
|
|
168
|
-
position: absolute;
|
|
169
|
-
inset: 0;
|
|
170
|
-
background: linear-gradient(to top, rgba(12, 10, 14, 0.88) 0%, transparent 55%);
|
|
171
|
-
pointer-events: none;
|
|
172
|
-
}
|
|
173
|
-
.shop-the-look__hero-copy {
|
|
174
|
-
position: relative;
|
|
175
|
-
z-index: 1;
|
|
176
|
-
padding: clamp(1.25rem, 3vw, 2rem);
|
|
177
|
-
display: flex;
|
|
178
|
-
flex-direction: column;
|
|
179
|
-
gap: 0.35rem;
|
|
180
|
-
align-items: flex-start;
|
|
181
|
-
justify-content: flex-end;
|
|
182
|
-
min-height: 100%;
|
|
183
|
-
color: #faf7f2;
|
|
184
|
-
}
|
|
185
|
-
.shop-the-look__hero-title {
|
|
186
|
-
font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
187
|
-
font-size: clamp(1.35rem, 3vw, 1.85rem);
|
|
188
|
-
font-weight: 500;
|
|
189
|
-
}
|
|
190
|
-
.shop-the-look__hero-caption {
|
|
191
|
-
font-size: 0.92rem;
|
|
192
|
-
line-height: 1.5;
|
|
193
|
-
opacity: 0.88;
|
|
194
|
-
max-width: 26rem;
|
|
195
|
-
}
|
|
196
|
-
.shop-the-look__hero-cta {
|
|
197
|
-
margin-top: 0.5rem;
|
|
198
|
-
display: inline-flex;
|
|
199
|
-
padding: 0.55rem 1.2rem;
|
|
200
|
-
border-radius: 999px;
|
|
201
|
-
font-size: 0.68rem;
|
|
202
|
-
font-weight: 700;
|
|
203
|
-
letter-spacing: 0.14em;
|
|
204
|
-
text-transform: uppercase;
|
|
205
|
-
background: var(--stl-accent, #c9a962);
|
|
206
|
-
color: #141218;
|
|
207
|
-
}
|
|
208
|
-
.shop-the-look__picks {
|
|
209
|
-
min-width: 0;
|
|
210
|
-
}
|
|
211
|
-
.shop-the-look__picks-empty {
|
|
212
|
-
margin: 0;
|
|
213
|
-
font-size: 0.88rem;
|
|
214
|
-
line-height: 1.5;
|
|
215
|
-
opacity: 0.75;
|
|
216
|
-
padding: 0.5rem 0;
|
|
217
|
-
}
|
|
218
|
-
.shop-the-look__picks-inner {
|
|
219
|
-
display: flex;
|
|
220
|
-
flex-direction: column;
|
|
221
|
-
gap: 0.85rem;
|
|
222
|
-
}
|
|
223
|
-
.shop-the-look__picks-inner.eo-hs-loading {
|
|
224
|
-
opacity: 0.85;
|
|
225
|
-
}
|
|
226
|
-
@media (max-width: 959px) {
|
|
227
|
-
.shop-the-look__picks-inner {
|
|
228
|
-
overflow-x: auto;
|
|
229
|
-
padding-bottom: 0.35rem;
|
|
230
|
-
scroll-snap-type: x mandatory;
|
|
231
|
-
-webkit-overflow-scrolling: touch;
|
|
232
|
-
}
|
|
233
|
-
.shop-the-look__picks-inner .eo-hs-card--product {
|
|
234
|
-
flex: 0 0 min(140px, 72vw);
|
|
235
|
-
scroll-snap-align: start;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
.shop-the-look__picks-inner .eo-hs-skeleton--product {
|
|
239
|
-
min-height: 96px;
|
|
240
|
-
border-radius: 8px;
|
|
241
|
-
background: linear-gradient(110deg, #ece8e2 8%, #f5f2ee 18%, #ece8e2 33%);
|
|
242
|
-
background-size: 200% 100%;
|
|
243
|
-
animation: shop-the-look-shimmer 1.2s ease-in-out infinite;
|
|
244
|
-
}
|
|
245
|
-
.shop-the-look--charcoal .shop-the-look__picks-inner .eo-hs-skeleton--product {
|
|
246
|
-
background: linear-gradient(110deg, #2a2630 8%, #3a3540 18%, #2a2630 33%);
|
|
247
|
-
background-size: 200% 100%;
|
|
248
|
-
}
|
|
249
|
-
.shop-the-look__picks-inner .eo-hs-card--product {
|
|
250
|
-
display: flex;
|
|
251
|
-
flex-direction: row;
|
|
252
|
-
align-items: center;
|
|
253
|
-
gap: 0.85rem;
|
|
254
|
-
text-decoration: none;
|
|
255
|
-
color: inherit;
|
|
256
|
-
padding: 0.65rem;
|
|
257
|
-
border-radius: 8px;
|
|
258
|
-
background: var(--stl-card-bg, rgba(255, 255, 255, 0.55));
|
|
259
|
-
border: 1px solid rgba(28, 26, 23, 0.06);
|
|
260
|
-
transition: background 0.2s ease, transform 0.2s ease;
|
|
261
|
-
}
|
|
262
|
-
.shop-the-look--charcoal .shop-the-look__picks-inner .eo-hs-card--product {
|
|
263
|
-
background: rgba(255, 255, 255, 0.05);
|
|
264
|
-
border-color: rgba(255, 255, 255, 0.08);
|
|
265
|
-
}
|
|
266
|
-
.shop-the-look__picks-inner .eo-hs-card--product:hover {
|
|
267
|
-
background: rgba(255, 255, 255, 0.85);
|
|
268
|
-
transform: translateX(2px);
|
|
269
|
-
}
|
|
270
|
-
.shop-the-look--charcoal .shop-the-look__picks-inner .eo-hs-card--product:hover {
|
|
271
|
-
background: rgba(255, 255, 255, 0.1);
|
|
272
|
-
}
|
|
273
|
-
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__media {
|
|
274
|
-
flex-shrink: 0;
|
|
275
|
-
width: 76px;
|
|
276
|
-
height: 96px;
|
|
277
|
-
border-radius: 4px;
|
|
278
|
-
overflow: hidden;
|
|
279
|
-
aspect-ratio: unset;
|
|
280
|
-
}
|
|
281
|
-
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__media--empty {
|
|
282
|
-
min-height: 96px;
|
|
283
|
-
background: #ddd8d0;
|
|
284
|
-
}
|
|
285
|
-
.shop-the-look--charcoal .shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__media--empty {
|
|
286
|
-
background: #2a2630;
|
|
287
|
-
}
|
|
288
|
-
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__body {
|
|
289
|
-
display: flex;
|
|
290
|
-
flex-direction: column;
|
|
291
|
-
gap: 0.2rem;
|
|
292
|
-
min-width: 0;
|
|
293
|
-
padding: 0;
|
|
294
|
-
}
|
|
295
|
-
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__title {
|
|
296
|
-
font-size: 0.9rem;
|
|
297
|
-
font-weight: 600;
|
|
298
|
-
line-height: 1.35;
|
|
299
|
-
color: var(--stl-card-title, inherit);
|
|
300
|
-
}
|
|
301
|
-
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__meta {
|
|
302
|
-
font-size: 0.82rem;
|
|
303
|
-
letter-spacing: 0.03em;
|
|
304
|
-
color: var(--stl-card-price, inherit);
|
|
305
|
-
opacity: 0.85;DISPLAY: flex;
|
|
306
|
-
GAP: 8PX;
|
|
307
|
-
}
|
|
308
|
-
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__meta del {
|
|
309
|
-
color: var(--stl-card-old-price, inherit);
|
|
310
|
-
}
|
|
311
|
-
.shop-the-look__picks .eo-hs-error {
|
|
312
|
-
margin: 0;
|
|
313
|
-
font-size: 0.86rem;
|
|
314
|
-
color: #8b3225;
|
|
315
|
-
text-align: center;
|
|
316
|
-
padding: 0.5rem 0;
|
|
317
|
-
}
|
|
318
|
-
@keyframes shop-the-look-shimmer {
|
|
319
|
-
0% {
|
|
320
|
-
background-position: 100% 0;
|
|
321
|
-
}
|
|
322
|
-
100% {
|
|
323
|
-
background-position: -100% 0;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
</style>
|
|
1
|
+
<section
|
|
2
|
+
class="eo-home-section shop-the-look shop-the-look--{{ section_data.surface | default: 'cream' }}"
|
|
3
|
+
{% if section_data.enable_animation != false %}data-section-anim="{{ section_data.animation_style | default: 'fade-up' }}"{% endif %}
|
|
4
|
+
style="
|
|
5
|
+
--stl-accent: {{ section_data.accent_color | default: '#C9A962' }};
|
|
6
|
+
--stl-card-bg: {{ section_data.card_bg_color | default: '' }};
|
|
7
|
+
--stl-card-title: {{ section_data.card_title_color | default: '' }};
|
|
8
|
+
--stl-card-price: {{ section_data.card_price_color | default: '' }};
|
|
9
|
+
--stl-card-old-price: {{ section_data.card_old_price_color | default: '' }};
|
|
10
|
+
{% if section_data.heading_title_color != blank %}--stl-head-title-color: {{ section_data.heading_title_color }};{% endif %}
|
|
11
|
+
--stl-head-title-size: {{ section_data.heading_title_size | default: 38 }}px;
|
|
12
|
+
--stl-head-title-weight: {{ section_data.heading_title_weight | default: '500' }};
|
|
13
|
+
{% if section_data.heading_subtitle_color != blank %}--stl-head-subtitle-color: {{ section_data.heading_subtitle_color }};--stl-head-subtitle-opacity: 1;{% endif %}
|
|
14
|
+
--stl-head-subtitle-size: {{ section_data.heading_subtitle_size | default: 16 }}px;
|
|
15
|
+
--stl-head-subtitle-weight: {{ section_data.heading_subtitle_weight | default: '400' }};
|
|
16
|
+
"
|
|
17
|
+
>
|
|
18
|
+
<header class="shop-the-look__head ab-anim-el">
|
|
19
|
+
{% if section_data.eyebrow != blank %}
|
|
20
|
+
<p class="shop-the-look__eyebrow">{{ section_data.eyebrow }}</p>
|
|
21
|
+
{% endif %}
|
|
22
|
+
{% if section_data.title != blank %}
|
|
23
|
+
<h2 class="shop-the-look__title">{{ section_data.title }}</h2>
|
|
24
|
+
{% endif %}
|
|
25
|
+
{% if section_data.subtitle != blank %}
|
|
26
|
+
<p class="shop-the-look__subtitle">{{ section_data.subtitle }}</p>
|
|
27
|
+
{% endif %}
|
|
28
|
+
</header>
|
|
29
|
+
|
|
30
|
+
<div class="shop-the-look__layout">
|
|
31
|
+
<a class="shop-the-look__hero ab-anim-el" href="{{ section_data.look_url | default: '/products' }}">
|
|
32
|
+
<div class="shop-the-look__hero-visual">
|
|
33
|
+
{% if section_data.look_image != blank %}
|
|
34
|
+
<img
|
|
35
|
+
class="shop-the-look__hero-img"
|
|
36
|
+
src="{{ section_data.look_image }}"
|
|
37
|
+
alt="{{ section_data.look_title | default: 'Look' }}"
|
|
38
|
+
loading="lazy"
|
|
39
|
+
width="900"
|
|
40
|
+
height="1120"
|
|
41
|
+
>
|
|
42
|
+
{% else %}
|
|
43
|
+
<div class="shop-the-look__hero-placeholder" aria-hidden="true"></div>
|
|
44
|
+
{% endif %}
|
|
45
|
+
<div class="shop-the-look__hero-shade" aria-hidden="true"></div>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="shop-the-look__hero-copy">
|
|
48
|
+
{% if section_data.look_title != blank %}
|
|
49
|
+
<span class="shop-the-look__hero-title">{{ section_data.look_title }}</span>
|
|
50
|
+
{% endif %}
|
|
51
|
+
{% if section_data.look_caption != blank %}
|
|
52
|
+
<span class="shop-the-look__hero-caption">{{ section_data.look_caption }}</span>
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% if section_data.look_cta_label != blank %}
|
|
55
|
+
<span class="shop-the-look__hero-cta">{{ section_data.look_cta_label }}</span>
|
|
56
|
+
{% endif %}
|
|
57
|
+
</div>
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
<div
|
|
61
|
+
class="shop-the-look__picks eo-hs ab-anim-el{% if section_data.pick_product_ids == blank or section_data.pick_product_ids.size == 0 %} eo-hs--empty{% endif %}"
|
|
62
|
+
data-eo-hs-entity="products"
|
|
63
|
+
data-eo-hs-ids="{{ section_data.pick_product_ids | join: ',' | strip }}"
|
|
64
|
+
data-eo-hs-currency="{{ currency }}"
|
|
65
|
+
>
|
|
66
|
+
<div class="shop-the-look__picks-inner" data-eo-hs-mount>
|
|
67
|
+
{% if section_data.pick_product_ids and section_data.pick_product_ids.size > 0 %}
|
|
68
|
+
{% for id in section_data.pick_product_ids %}
|
|
69
|
+
<div class="eo-hs-skeleton eo-hs-skeleton--product" aria-hidden="true"></div>
|
|
70
|
+
{% endfor %}
|
|
71
|
+
{% else %}
|
|
72
|
+
<p class="shop-the-look__picks-empty">Add products in the section settings to list pieces from this look.</p>
|
|
73
|
+
{% endif %}
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</section>
|
|
78
|
+
|
|
79
|
+
<style>
|
|
80
|
+
.shop-the-look {
|
|
81
|
+
padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
|
|
82
|
+
}
|
|
83
|
+
.shop-the-look--cream {
|
|
84
|
+
background: #f3efe8;
|
|
85
|
+
margin-block: 15px;
|
|
86
|
+
color: #1c1a17;
|
|
87
|
+
}
|
|
88
|
+
.shop-the-look--charcoal {
|
|
89
|
+
background: #1e1c24;
|
|
90
|
+
color: #f4eee6;
|
|
91
|
+
}
|
|
92
|
+
.shop-the-look__head {
|
|
93
|
+
max-width: 1160px;
|
|
94
|
+
margin: 0 auto 30px;
|
|
95
|
+
}
|
|
96
|
+
.shop-the-look__eyebrow {
|
|
97
|
+
margin: 0 0 0.4rem;
|
|
98
|
+
font-size: 0.7rem;
|
|
99
|
+
font-weight: 600;
|
|
100
|
+
letter-spacing: 0.28em;
|
|
101
|
+
text-transform: uppercase;
|
|
102
|
+
color: var(--stl-accent, #c9a962);
|
|
103
|
+
}
|
|
104
|
+
.shop-the-look__title {
|
|
105
|
+
margin: 0 0 0.5rem;
|
|
106
|
+
font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
107
|
+
font-weight: var(--stl-head-title-weight, 500);
|
|
108
|
+
font-size: clamp(1.25rem, 3vw, var(--stl-head-title-size, 38px));
|
|
109
|
+
line-height: 1.15;
|
|
110
|
+
color: var(--stl-head-title-color, inherit);
|
|
111
|
+
}
|
|
112
|
+
.shop-the-look__subtitle {
|
|
113
|
+
margin: 0;
|
|
114
|
+
font-size: var(--stl-head-subtitle-size, 16px);
|
|
115
|
+
font-weight: var(--stl-head-subtitle-weight, 400);
|
|
116
|
+
line-height: 1.65;
|
|
117
|
+
opacity: var(--stl-head-subtitle-opacity, 0.82);
|
|
118
|
+
color: var(--stl-head-subtitle-color, inherit);
|
|
119
|
+
}
|
|
120
|
+
.shop-the-look__layout {
|
|
121
|
+
max-width: 1160px;
|
|
122
|
+
margin: 0 auto;
|
|
123
|
+
display: grid;
|
|
124
|
+
gap: clamp(1.25rem, 3vw, 2rem);
|
|
125
|
+
align-items: stretch;
|
|
126
|
+
}
|
|
127
|
+
@media (min-width: 960px) {
|
|
128
|
+
.shop-the-look__layout {
|
|
129
|
+
grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
.shop-the-look__hero {
|
|
133
|
+
position: relative;
|
|
134
|
+
display: block;
|
|
135
|
+
border-radius: 8px;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
text-decoration: none;
|
|
138
|
+
color: inherit;
|
|
139
|
+
min-height: clamp(300px, 60vh, 540px);
|
|
140
|
+
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
|
141
|
+
}
|
|
142
|
+
.shop-the-look--charcoal .shop-the-look__hero {
|
|
143
|
+
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
|
|
144
|
+
}
|
|
145
|
+
.shop-the-look__hero:hover {
|
|
146
|
+
transform: translateY(-3px);
|
|
147
|
+
box-shadow: 0 32px 72px rgba(0, 0, 0, 0.18);
|
|
148
|
+
}
|
|
149
|
+
.shop-the-look__hero-visual {
|
|
150
|
+
position: absolute;
|
|
151
|
+
inset: 0;
|
|
152
|
+
}
|
|
153
|
+
.shop-the-look__hero-img {
|
|
154
|
+
width: 100%;
|
|
155
|
+
height: 100%;
|
|
156
|
+
object-fit: cover;
|
|
157
|
+
display: block;
|
|
158
|
+
}
|
|
159
|
+
.shop-the-look__hero-placeholder {
|
|
160
|
+
width: 100%;
|
|
161
|
+
height: 100%;
|
|
162
|
+
background: linear-gradient(135deg, #c4bbb0, #8a8278);
|
|
163
|
+
}
|
|
164
|
+
.shop-the-look--charcoal .shop-the-look__hero-placeholder {
|
|
165
|
+
background: linear-gradient(135deg, #3d3848, #1a1820);
|
|
166
|
+
}
|
|
167
|
+
.shop-the-look__hero-shade {
|
|
168
|
+
position: absolute;
|
|
169
|
+
inset: 0;
|
|
170
|
+
background: linear-gradient(to top, rgba(12, 10, 14, 0.88) 0%, transparent 55%);
|
|
171
|
+
pointer-events: none;
|
|
172
|
+
}
|
|
173
|
+
.shop-the-look__hero-copy {
|
|
174
|
+
position: relative;
|
|
175
|
+
z-index: 1;
|
|
176
|
+
padding: clamp(1.25rem, 3vw, 2rem);
|
|
177
|
+
display: flex;
|
|
178
|
+
flex-direction: column;
|
|
179
|
+
gap: 0.35rem;
|
|
180
|
+
align-items: flex-start;
|
|
181
|
+
justify-content: flex-end;
|
|
182
|
+
min-height: 100%;
|
|
183
|
+
color: #faf7f2;
|
|
184
|
+
}
|
|
185
|
+
.shop-the-look__hero-title {
|
|
186
|
+
font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
187
|
+
font-size: clamp(1.35rem, 3vw, 1.85rem);
|
|
188
|
+
font-weight: 500;
|
|
189
|
+
}
|
|
190
|
+
.shop-the-look__hero-caption {
|
|
191
|
+
font-size: 0.92rem;
|
|
192
|
+
line-height: 1.5;
|
|
193
|
+
opacity: 0.88;
|
|
194
|
+
max-width: 26rem;
|
|
195
|
+
}
|
|
196
|
+
.shop-the-look__hero-cta {
|
|
197
|
+
margin-top: 0.5rem;
|
|
198
|
+
display: inline-flex;
|
|
199
|
+
padding: 0.55rem 1.2rem;
|
|
200
|
+
border-radius: 999px;
|
|
201
|
+
font-size: 0.68rem;
|
|
202
|
+
font-weight: 700;
|
|
203
|
+
letter-spacing: 0.14em;
|
|
204
|
+
text-transform: uppercase;
|
|
205
|
+
background: var(--stl-accent, #c9a962);
|
|
206
|
+
color: #141218;
|
|
207
|
+
}
|
|
208
|
+
.shop-the-look__picks {
|
|
209
|
+
min-width: 0;
|
|
210
|
+
}
|
|
211
|
+
.shop-the-look__picks-empty {
|
|
212
|
+
margin: 0;
|
|
213
|
+
font-size: 0.88rem;
|
|
214
|
+
line-height: 1.5;
|
|
215
|
+
opacity: 0.75;
|
|
216
|
+
padding: 0.5rem 0;
|
|
217
|
+
}
|
|
218
|
+
.shop-the-look__picks-inner {
|
|
219
|
+
display: flex;
|
|
220
|
+
flex-direction: column;
|
|
221
|
+
gap: 0.85rem;
|
|
222
|
+
}
|
|
223
|
+
.shop-the-look__picks-inner.eo-hs-loading {
|
|
224
|
+
opacity: 0.85;
|
|
225
|
+
}
|
|
226
|
+
@media (max-width: 959px) {
|
|
227
|
+
.shop-the-look__picks-inner {
|
|
228
|
+
overflow-x: auto;
|
|
229
|
+
padding-bottom: 0.35rem;
|
|
230
|
+
scroll-snap-type: x mandatory;
|
|
231
|
+
-webkit-overflow-scrolling: touch;
|
|
232
|
+
}
|
|
233
|
+
.shop-the-look__picks-inner .eo-hs-card--product {
|
|
234
|
+
flex: 0 0 min(140px, 72vw);
|
|
235
|
+
scroll-snap-align: start;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
.shop-the-look__picks-inner .eo-hs-skeleton--product {
|
|
239
|
+
min-height: 96px;
|
|
240
|
+
border-radius: 8px;
|
|
241
|
+
background: linear-gradient(110deg, #ece8e2 8%, #f5f2ee 18%, #ece8e2 33%);
|
|
242
|
+
background-size: 200% 100%;
|
|
243
|
+
animation: shop-the-look-shimmer 1.2s ease-in-out infinite;
|
|
244
|
+
}
|
|
245
|
+
.shop-the-look--charcoal .shop-the-look__picks-inner .eo-hs-skeleton--product {
|
|
246
|
+
background: linear-gradient(110deg, #2a2630 8%, #3a3540 18%, #2a2630 33%);
|
|
247
|
+
background-size: 200% 100%;
|
|
248
|
+
}
|
|
249
|
+
.shop-the-look__picks-inner .eo-hs-card--product {
|
|
250
|
+
display: flex;
|
|
251
|
+
flex-direction: row;
|
|
252
|
+
align-items: center;
|
|
253
|
+
gap: 0.85rem;
|
|
254
|
+
text-decoration: none;
|
|
255
|
+
color: inherit;
|
|
256
|
+
padding: 0.65rem;
|
|
257
|
+
border-radius: 8px;
|
|
258
|
+
background: var(--stl-card-bg, rgba(255, 255, 255, 0.55));
|
|
259
|
+
border: 1px solid rgba(28, 26, 23, 0.06);
|
|
260
|
+
transition: background 0.2s ease, transform 0.2s ease;
|
|
261
|
+
}
|
|
262
|
+
.shop-the-look--charcoal .shop-the-look__picks-inner .eo-hs-card--product {
|
|
263
|
+
background: rgba(255, 255, 255, 0.05);
|
|
264
|
+
border-color: rgba(255, 255, 255, 0.08);
|
|
265
|
+
}
|
|
266
|
+
.shop-the-look__picks-inner .eo-hs-card--product:hover {
|
|
267
|
+
background: rgba(255, 255, 255, 0.85);
|
|
268
|
+
transform: translateX(2px);
|
|
269
|
+
}
|
|
270
|
+
.shop-the-look--charcoal .shop-the-look__picks-inner .eo-hs-card--product:hover {
|
|
271
|
+
background: rgba(255, 255, 255, 0.1);
|
|
272
|
+
}
|
|
273
|
+
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__media {
|
|
274
|
+
flex-shrink: 0;
|
|
275
|
+
width: 76px;
|
|
276
|
+
height: 96px;
|
|
277
|
+
border-radius: 4px;
|
|
278
|
+
overflow: hidden;
|
|
279
|
+
aspect-ratio: unset;
|
|
280
|
+
}
|
|
281
|
+
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__media--empty {
|
|
282
|
+
min-height: 96px;
|
|
283
|
+
background: #ddd8d0;
|
|
284
|
+
}
|
|
285
|
+
.shop-the-look--charcoal .shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__media--empty {
|
|
286
|
+
background: #2a2630;
|
|
287
|
+
}
|
|
288
|
+
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__body {
|
|
289
|
+
display: flex;
|
|
290
|
+
flex-direction: column;
|
|
291
|
+
gap: 0.2rem;
|
|
292
|
+
min-width: 0;
|
|
293
|
+
padding: 0;
|
|
294
|
+
}
|
|
295
|
+
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__title {
|
|
296
|
+
font-size: 0.9rem;
|
|
297
|
+
font-weight: 600;
|
|
298
|
+
line-height: 1.35;
|
|
299
|
+
color: var(--stl-card-title, inherit);
|
|
300
|
+
}
|
|
301
|
+
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__meta {
|
|
302
|
+
font-size: 0.82rem;
|
|
303
|
+
letter-spacing: 0.03em;
|
|
304
|
+
color: var(--stl-card-price, inherit);
|
|
305
|
+
opacity: 0.85;DISPLAY: flex;
|
|
306
|
+
GAP: 8PX;
|
|
307
|
+
}
|
|
308
|
+
.shop-the-look__picks-inner .eo-hs-card--product .eo-hs-card__meta del {
|
|
309
|
+
color: var(--stl-card-old-price, inherit);
|
|
310
|
+
}
|
|
311
|
+
.shop-the-look__picks .eo-hs-error {
|
|
312
|
+
margin: 0;
|
|
313
|
+
font-size: 0.86rem;
|
|
314
|
+
color: #8b3225;
|
|
315
|
+
text-align: center;
|
|
316
|
+
padding: 0.5rem 0;
|
|
317
|
+
}
|
|
318
|
+
@keyframes shop-the-look-shimmer {
|
|
319
|
+
0% {
|
|
320
|
+
background-position: 100% 0;
|
|
321
|
+
}
|
|
322
|
+
100% {
|
|
323
|
+
background-position: -100% 0;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
</style>
|