@sc-360-v2/storefront-cms-library 0.2.43 → 0.2.45

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.
Files changed (38) hide show
  1. package/README.md +12 -12
  2. package/dist/allocations.scss +106 -0
  3. package/dist/amount-estimator.scss +27 -15
  4. package/dist/builder.js +1 -1
  5. package/dist/button.scss +4 -1
  6. package/dist/cart.scss +45 -0
  7. package/dist/container.scss +41 -0
  8. package/dist/countdown.scss +11 -3
  9. package/dist/custom-fonts.scss +41 -0
  10. package/dist/globals.scss +94 -94
  11. package/dist/hotspot.scss +5 -5
  12. package/dist/image-temp.scss +7 -1
  13. package/dist/layouter-item.scss +65 -0
  14. package/dist/layouter.scss +259 -0
  15. package/dist/light-box-v2.scss +71 -0
  16. package/dist/product-basic-elements.scss +20 -8
  17. package/dist/product-highlights.scss +38 -5
  18. package/dist/product-image copy.scss +788 -0
  19. package/dist/product-image.scss +529 -444
  20. package/dist/productDetails.scss +15 -2
  21. package/dist/profile.scss +14 -0
  22. package/dist/quantity-selector.scss +2 -0
  23. package/dist/repeater-item.scss +44 -3
  24. package/dist/repeater.scss +38 -0
  25. package/dist/search.scss +61 -21
  26. package/dist/section.scss +69 -54
  27. package/dist/static-text.scss +53 -0
  28. package/dist/text-temp.scss +24 -13
  29. package/dist/types/builder/elements/category-details/index.d.ts +68 -0
  30. package/dist/types/builder/enums/index.d.ts +3 -0
  31. package/dist/types/builder/index.d.ts +2 -1
  32. package/dist/types/builder/tools/element-edit/categoryDetails.d.ts +17 -0
  33. package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
  34. package/dist/uom-selector.scss +280 -4
  35. package/dist/variant-picker.scss +71 -0
  36. package/dist/volume-pricing.scss +8 -0
  37. package/dist/widget.scss +5 -1
  38. package/package.json +1 -1
@@ -0,0 +1,788 @@
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+ [data-div-type="element"] {
4
+ &[data-element-type="gallerySlider"] {
5
+ // width: var(--_sf-nw-wh, var(--_tst-lt-wh));
6
+ width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
7
+ height: var(--_ctm-lt-ht);
8
+ // height: var(--_ctm-lt-ht);
9
+ margin: var(--_ctm-lt-mn, --_tst-lt-mn);
10
+
11
+ // aspect-ratio: 1 / var(--_sf-aspect-ratio);
12
+ --_aspect-ratio: calc(
13
+ 1 * (var(--_ctm-lt-ht, var(--_tst-lt-ht)) / var(--_ctm-lt-wh, var(--_tst-lt-wh)))
14
+ );
15
+
16
+ // &[data-view-state="full"] {
17
+ // width: auto;
18
+ // // height: 100%;
19
+ // margin: 0;
20
+ // justify-self: stretch !important;
21
+ // align-self: stretch !important;
22
+ // cursor: auto;
23
+ // }
24
+
25
+ & > .wrapper {
26
+ width: 100%;
27
+ height: 100%;
28
+ }
29
+ &[data-show-shadow="false"] {
30
+ --_show-shadow: none;
31
+ }
32
+
33
+ .gallery-slider-element {
34
+ --text-high-contrast-rgb-value: 49, 49, 49;
35
+ --detail-medium-contrast: rgb(234, 234, 234);
36
+ --text-body: rgb(54, 49, 61);
37
+
38
+ position: relative;
39
+ background-color: var(--_ctm-dn-gy-wt-se-bd-cr, var(--_tst-dn-gy-wt-se-bd-cr));
40
+ padding: var(--_ctm-lt-pg, var(--_tst-lt-pg));
41
+ display: flex;
42
+ flex-direction: column;
43
+ --_sf-cd-gp: calc(var(--_sf-gp) * 0.5);
44
+
45
+ gap: var(--_ctm-dn-gy-wt-lt-gy-tt-ad-im-sg, var(--_tst-dn-gy-lt-tt-ad-im-sg));
46
+
47
+ width: 100%;
48
+ height: 100%;
49
+ border-color: var(--_ctm-dn-gy-wt-se-br-cr, var(--_tst-dn-gy-wt-se-br-cr));
50
+ border-style: var(--_ctm-dn-gy-wt-se-br-se, var(--_tst-dn-gy-wt-se-br-se));
51
+ border-width: var(--_ctm-dn-gy-wt-se-br-wh, var(--_tst-dn-gy-wt-se-br-wh));
52
+ border-radius: var(--_ctm-dn-gy-wt-se-br-rs, var(--_tst-dn-gy-wt-se-br-rs));
53
+ box-shadow: var(
54
+ --_show-shadow,
55
+ var(--_ctm-dn-gy-wt-se-sw-ae, var(--_tst-dn-gy-wt-se-sw-ae))
56
+ var(--_ctm-dn-gy-wt-se-sw-br, var(--_tst-dn-gy-wt-se-sw-br))
57
+ var(--_ctm-dn-gy-wt-se-sw-sd, var(--_tst-dn-gy-wt-se-sw-sd))
58
+ var(--_ctm-dn-gy-wt-se-sw-cr, var(--_tst-dn-gy-wt-se-sw-cr))
59
+ );
60
+
61
+ .gallery-header {
62
+ // text-align: var(--_ctm-dn-gy-lt-an, var(--_tst-dn-gy-lt-an));
63
+ // line-height: var(--_ctm-dn-gy-lt-tt-ad-dn-sg, var(--_tst-dn-gy-lt-tt-ad-dn-sg));
64
+ display: flex;
65
+ flex-direction: column;
66
+
67
+ gap: var(--_ctm-dn-gy-wt-tt-cr-lt-te-ad-dn-sg);
68
+ padding-block: var(--_ctm-dn-gy-wt-tt-cr-lt-tt-vl-pg);
69
+ padding-inline: var(--_ctm-dn-gy-wt-tt-cr-lt-tt-hl-pg);
70
+ background-color: var(--_ctm-dn-gy-wt-tt-cr-dn-bd-cr, var(--_tst-dn-gy-wt-se-cr-dn-bd-cr));
71
+ width: 100%;
72
+ border-color: var(--_ctm-dn-gy-wt-tt-cr-dn-br-cr, var(--_tst-dn-gy-wt-tt-cr-dn-br-cr));
73
+ border-style: var(--_ctm-dn-gy-wt-tt-cr-dn-br-se, var(--_tst-dn-gy-wt-tt-cr-dn-br-se));
74
+ border-width: var(--_ctm-dn-gy-wt-tt-cr-dn-br-wh, var(--_tst-dn-gy-wt-tt-cr-dn-br-wh));
75
+ border-radius: var(--_ctm-dn-gy-wt-tt-cr-dn-br-rs, var(--_tst-dn-gy-wt-tt-cr-dn-br-rs));
76
+ box-shadow: var(
77
+ --_show-shadow,
78
+ var(--_ctm-dn-gy-wt-tt-cr-dn-sw-ae, var(--_tst-dn-gy-wt-tt-cr-dn-sw-ae))
79
+ var(--_ctm-dn-gy-wt-tt-cr-dn-sw-br, var(--_tst-dn-gy-wt-tt-cr-dn-sw-br))
80
+ var(--_ctm-dn-gy-wt-tt-cr-dn-sw-sd, var(--_tst-dn-gy-wt-tt-cr-dn-sw-sd))
81
+ var(--_ctm-dn-gy-wt-tt-cr-dn-sw-cr, var(--_tst-dn-gy-wt-sw-cr))
82
+ );
83
+
84
+ & h3 {
85
+ color: var(--_ctm-dn-gy-wt-se-cr, var(--_tst-dn-gy-wt-se-cr));
86
+ font-family: var(--_ctm-dn-gy-wt-se-ft-fy, var(--_tst-dn-gy-wt-se-ft-fy)), sans-serif;
87
+ font-size: var(--_ctm-dn-gy-wt-se-ft-se, var(--_tst-dn-gy-wt-se-ft-se));
88
+ font-weight: var(--_ctm-dn-gy-wt-se-ft-wt, var(--_tst-dn-gy-wt-se-ft-wt));
89
+ font-style: var(--_ctm-dn-gy-wt-se-ft-se-ic, var(--_tst-dn-gy-wt-se-ft-se-ic));
90
+ text-align: var(--_ctm-dn-gy-wt-se-tt-an, var(--_tst-dn-gy-wt-se-se-an));
91
+ letter-spacing: var(--_ctm-dn-gy-wt-se-lr-sg, var(--_tst-dn-gy-wt-se-lr-sg));
92
+ line-height: var(--_ctm-dn-gy-wt-se-le-ht, var(--_tst-dn-gy-wt-se-le-ht));
93
+ text-decoration: var(--_ctm-dn-gy-wt-se-ue,);
94
+ }
95
+ & p {
96
+ color: var(--_ctm-dn-gy-wt-se-cr-dc, var(--_tst-dn-gy-wt-se-cr-dc));
97
+ font-family: var(--_ctm-dn-gy-wt-se-ft-fy-dc, var(--_tst-dn-gy-wt-se-ft-fy-dc)),
98
+ sans-serif;
99
+ font-size: var(--_ctm-dn-gy-wt-se-ft-se-dc, var(--_tst-dn-gy-wt-se-ft-se-dc));
100
+ font-weight: var(--_ctm-dn-gy-wt-se-ft-wt-dc, var(--_tst-dn-gy-wt-se-ft-wt-dc));
101
+ font-style: var(--_ctm-dn-gy-wt-se-ft-se-ic-dc, var(--_tst-dn-gy-wt-se-ft-se-ic-dc));
102
+ text-align: var(--_ctm-dn-gy-wt-se-tt-an-dc, var(--_tst-dn-gy-wt-se-se-an-dc));
103
+ letter-spacing: var(--_ctm-dn-gy-wt-se-lr-sg-dc, var(--_tst-dn-gy-wt-se-lr-sg-dc));
104
+ line-height: var(--_ctm-dn-gy-wt-se-le-ht-dc, var(--_tst-dn-gy-wt-se-le-ht-dc));
105
+ text-decoration: var(--_ctm-dn-gy-wt-se-ue-dc,);
106
+ }
107
+ // h3 {
108
+ // margin-bottom: var(--_mb-4);
109
+ // }
110
+ }
111
+ }
112
+
113
+ &[data-text-position="top"] {
114
+ .gallery-slider-element {
115
+ flex-direction: column;
116
+ }
117
+ }
118
+ &[data-text-position="bottom"] {
119
+ .gallery-slider-element {
120
+ flex-direction: column-reverse;
121
+ }
122
+ }
123
+ &[data-text-position="left"] {
124
+ .gallery-slider-element {
125
+ flex-direction: row;
126
+ }
127
+ .gallery-header {
128
+ width: fit-content;
129
+ height: 100%;
130
+ }
131
+ &[data-widget-alignment="top"] {
132
+ .gallery-slider-element {
133
+ align-items: flex-start;
134
+ }
135
+ .gallery-header {
136
+ justify-content: flex-start;
137
+ }
138
+ }
139
+ &[data-widget-alignment="center"] {
140
+ .gallery-slider-element {
141
+ align-items: center;
142
+ }
143
+ .gallery-header {
144
+ justify-content: center;
145
+ }
146
+ }
147
+ &[data-widget-alignment="bottom"] {
148
+ .gallery-slider-element {
149
+ align-items: flex-end;
150
+ }
151
+ .gallery-header {
152
+ justify-content: flex-end;
153
+ }
154
+ }
155
+ }
156
+ &[data-text-position="right"] {
157
+ .gallery-header {
158
+ width: fit-content;
159
+ height: 100%;
160
+ }
161
+ .gallery-slider-element {
162
+ flex-direction: row-reverse;
163
+ }
164
+
165
+ &[data-widget-alignment="top"] {
166
+ .gallery-slider-element {
167
+ align-items: flex-start;
168
+ }
169
+ .gallery-header {
170
+ justify-content: flex-start;
171
+ }
172
+ }
173
+ &[data-widget-alignment="center"] {
174
+ .gallery-slider-element {
175
+ align-items: center;
176
+ }
177
+ .gallery-header {
178
+ justify-content: center;
179
+ }
180
+ }
181
+ &[data-widget-alignment="bottom"] {
182
+ .gallery-slider-element {
183
+ align-items: flex-end;
184
+ }
185
+ .gallery-header {
186
+ justify-content: flex-end;
187
+ }
188
+ }
189
+ }
190
+ .embla {
191
+ width: 100%;
192
+ height: 100%;
193
+ position: relative;
194
+ display: flex;
195
+ flex-direction: column;
196
+ // overflow: hidden;
197
+
198
+ .embla__viewport {
199
+ width: 100%;
200
+ height: 100%;
201
+ position: relative;
202
+ display: flex;
203
+ flex-direction: column;
204
+
205
+ overflow: hidden;
206
+
207
+ .embla__container {
208
+ width: 100%;
209
+ height: 100%;
210
+ display: grid;
211
+ grid-template-rows: 100%;
212
+ // grid-template-columns: 100%;
213
+ grid-template-columns: repeat(
214
+ var(--_ctm-lt-is-pr-se),
215
+ calc(100% / var(--_ctm-lt-is-pr-se))
216
+ );
217
+ grid-auto-flow: column;
218
+ gap: var(--_ctm-lt-im-gp);
219
+ &[data-control-type="Bottom"][data-slider-control="Arrows"] {
220
+ height: calc(100% - calc(var(--_ctm-dn-pn-as-aw-se) + 10px));
221
+ }
222
+ &[data-control-type="Bottom"][data-slider-control="Pagination Line"] {
223
+ height: calc(100% - calc(var(--_ctm-dn-pn-le-le-ht) + 20px));
224
+ }
225
+ &[data-control-type="Bottom"][data-slider-control="Dots"] {
226
+ height: calc(100% - calc(var(--_ctm-dn-pn-ds-dt-se) + 20px));
227
+ }
228
+
229
+ .embla__slide {
230
+ width: 100%;
231
+ height: 100%;
232
+ }
233
+ }
234
+ }
235
+ &:not([data-display-style="Column"]) {
236
+ .embla__container {
237
+ grid-auto-columns: calc(100% / var(--_ctm-lt-is-pr-se));
238
+ }
239
+ }
240
+
241
+ &[data-display-style="Grid"][data-scroll-direction="Vertical"] {
242
+ // overflow: unset;
243
+
244
+ .embla__viewport {
245
+ overflow: unset;
246
+ height: 80%;
247
+ flex-grow: 1;
248
+ &:not([data-is-builder-type="true"]) {
249
+ height: var(--_ctm-height);
250
+ }
251
+
252
+ .embla__container {
253
+ overflow: unset;
254
+ height: var(--_ctm-height);
255
+ // min-height: var(--_ctm-height);
256
+
257
+ grid-template-columns: repeat(var(--_ctm-lt-is-pr-rw), 1fr);
258
+ grid-template-rows: unset;
259
+
260
+ grid-auto-flow: row;
261
+ &[data-overflow-hidden="true"] {
262
+ overflow: hidden;
263
+ }
264
+ }
265
+ }
266
+ }
267
+
268
+ &[data-display-style="Grid"][data-scroll-direction="Horizontal"] {
269
+ .embla__viewport {
270
+ .embla__container {
271
+ grid-template-rows: repeat(
272
+ var(--_ctm-lt-is-pr-cn),
273
+ calc(100% / var(--_ctm-lt-is-pr-cn))
274
+ );
275
+ }
276
+ }
277
+ }
278
+
279
+ &[data-display-style="Rows"] {
280
+ // overflow: unset;
281
+
282
+ .embla__viewport {
283
+ overflow: unset;
284
+ height: 80%;
285
+ flex-grow: 1;
286
+ &:not([data-is-builder-type="true"]) {
287
+ height: var(--_ctm-height);
288
+ }
289
+
290
+ .embla__container {
291
+ overflow: hidden;
292
+ height: var(--_ctm-height);
293
+ // min-height: var(--_ctm-height);
294
+
295
+ grid-template-columns: repeat(var(--_ctm-lt-is-pr-rw), 1fr);
296
+ grid-template-rows: unset;
297
+
298
+ grid-auto-flow: row;
299
+ }
300
+ }
301
+ }
302
+
303
+ &[data-display-style="Column"] {
304
+ // overflow: unset;
305
+
306
+ .embla__viewport {
307
+ .embla__container {
308
+ display: flex;
309
+ .embla__slide {
310
+ width: unset;
311
+ height: 100%;
312
+ aspect-ratio: 1 / 2;
313
+ }
314
+ }
315
+ }
316
+ }
317
+ &[data-display-style="Masonry"] {
318
+ // overflow: unset;
319
+
320
+ .embla__viewport {
321
+ overflow: hidden;
322
+ height: 80%;
323
+ flex-grow: 1;
324
+ &:not([data-is-builder-type="true"]) {
325
+ height: var(--_ctm-height);
326
+ }
327
+ .embla__container {
328
+ overflow: unset;
329
+
330
+ display: block;
331
+ column-count: var(--_ctm-lt-is-pr-rw);
332
+ gap: unset;
333
+ column-gap: var(--_ctm-lt-im-gp);
334
+ // height: auto;
335
+
336
+ height: auto;
337
+
338
+ .embla__slide {
339
+ // break-inside: avoid;
340
+ margin-bottom: var(--_ctm-lt-im-gp);
341
+ height: unset;
342
+ .gallery__slide {
343
+ height: unset;
344
+ }
345
+ }
346
+ }
347
+ }
348
+ }
349
+
350
+ .arrow-navigation {
351
+ display: flex;
352
+ position: absolute;
353
+ top: 50%;
354
+ left: 50%;
355
+ width: 100%;
356
+ justify-content: space-between;
357
+ transform: translate(-50%, -50%);
358
+ // padding-left: 20px;
359
+ &[data-control-type="Side"] {
360
+ .left-button,
361
+ .right-button {
362
+ background-color: transparent;
363
+ }
364
+ }
365
+ &[data-background-shape="Round"] {
366
+ .left-button,
367
+ .right-button {
368
+ background-color: #f2f5f5;
369
+ box-sizing: 0 4px 8px rgba(0, 0, 0, 0.1);
370
+ }
371
+ }
372
+ &[data-control-type="Bottom-Overflow"] {
373
+ transform: translateX(-50%);
374
+ width: 100%;
375
+ justify-content: center;
376
+ gap: 12px;
377
+ top: unset;
378
+ bottom: 6px;
379
+ }
380
+ &[data-control-type="Bottom"] {
381
+ transform: unset;
382
+ position: static;
383
+ width: 100%;
384
+ justify-content: center;
385
+ gap: 12px;
386
+ margin-top: 10px;
387
+ }
388
+ .left-button {
389
+ padding: 10px;
390
+ border-radius: 50%;
391
+ border: none;
392
+ width: var(--_ctm-dn-pn-as-aw-se);
393
+ height: var(--_ctm-dn-pn-as-aw-se);
394
+ display: flex;
395
+ align-items: center;
396
+ justify-content: center;
397
+ cursor: pointer;
398
+ outline: none;
399
+ margin-left: 12px;
400
+ &:disabled {
401
+ & svg {
402
+ path {
403
+ stroke: rgb(192, 192, 192);
404
+ }
405
+ }
406
+ }
407
+ }
408
+ .right-button {
409
+ border-radius: 50%;
410
+ border: none;
411
+ width: var(--_ctm-dn-pn-as-aw-se);
412
+ height: var(--_ctm-dn-pn-as-aw-se);
413
+ display: flex;
414
+ align-items: center;
415
+ justify-content: center;
416
+ cursor: pointer;
417
+ outline: none;
418
+ margin-right: 12px;
419
+ padding: 10px;
420
+
421
+ &:disabled {
422
+ & svg {
423
+ path {
424
+ stroke: rgb(192, 192, 192);
425
+ }
426
+ }
427
+ }
428
+ }
429
+ .icon {
430
+ display: flex;
431
+ svg {
432
+ width: calc(var(--_ctm-dn-pn-as-aw-se) * 0.5);
433
+ height: calc(var(--_ctm-dn-pn-as-aw-se) * 0.5);
434
+ path {
435
+ stroke: var(--_ctm-dn-pn-as-aw-cr, var(--_tst-dn-pn-as-aw-cr));
436
+ }
437
+ }
438
+ }
439
+ }
440
+
441
+ &[data-control-type="Side"] {
442
+ .embla__viewport {
443
+ width: calc(100% - 120px);
444
+ margin-inline: auto;
445
+ }
446
+ }
447
+
448
+ &[data-thumbnail-placement="top"] {
449
+ flex-direction: column-reverse;
450
+ }
451
+ &[data-thumbnail-placement="bottom"] {
452
+ flex-direction: column;
453
+ }
454
+ &[data-thumbnail-placement="left"] {
455
+ flex-direction: row-reverse;
456
+
457
+ .embla__thumbs {
458
+ width: var(--_ctm-lt-tl-se);
459
+ height: 100%;
460
+
461
+ & .embla__thumbs__container {
462
+ flex-direction: column;
463
+ height: 100%;
464
+ }
465
+ }
466
+ }
467
+ &[data-thumbnail-placement="right"] {
468
+ flex-direction: row;
469
+ .embla__thumbs {
470
+ width: var(--_ctm-lt-tl-se);
471
+ height: 100%;
472
+
473
+ & .embla__thumbs__container {
474
+ flex-direction: column;
475
+ height: 100%;
476
+ }
477
+ }
478
+ }
479
+ .embla__dots {
480
+ display: flex;
481
+ flex-wrap: wrap;
482
+ justify-content: center;
483
+ align-items: center;
484
+ margin-right: calc((2.6rem - 1.4rem) / 2 * -1);
485
+ gap: 6px;
486
+ margin-top: 16px;
487
+
488
+ &[data-control-type="Bottom-Overflow"] {
489
+ position: absolute;
490
+ bottom: 10px;
491
+ left: 50%;
492
+ transform: translateX(-50%);
493
+ width: 75%;
494
+ }
495
+ .embla__dot {
496
+ -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
497
+ -webkit-appearance: none;
498
+ appearance: none;
499
+ background-color: var(--_ctm-dn-pn-ds-or-dt-cr, var(--_tst-dn-pn-ds-or-dt-cr));
500
+ touch-action: manipulation;
501
+ display: inline-flex;
502
+ text-decoration: none;
503
+ cursor: pointer;
504
+ border: 0;
505
+ padding: 0;
506
+ margin: 0;
507
+ // width: 0.6rem;
508
+ // height: 0.6rem;
509
+ width: var(--_ctm-dn-pn-ds-dt-se, var(--_tst-dn-pn-ds-dt-se));
510
+ height: var(--_ctm-dn-pn-ds-dt-se, var(--_tst-dn-pn-ds-dt-se));
511
+ display: flex;
512
+ align-items: center;
513
+ justify-content: center;
514
+ border-radius: 50%;
515
+ }
516
+ .embla__dot:after {
517
+ // box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
518
+ width: var(--_ctm-dn-pn-ds-dt-se, var(--_tst-dn-pn-ds-dt-se));
519
+ height: var(--_ctm-dn-pn-ds-dt-se, var(--_tst-dn-pn-ds-dt-se));
520
+ border-radius: 50%;
521
+ display: flex;
522
+ align-items: center;
523
+ content: "";
524
+ }
525
+ .embla__dot--selected:after {
526
+ box-shadow: inset 0 0 0 1px var(--text-body);
527
+ background-color: var(--_ctm-dn-pn-ds-ct-dt-cr, var(--_tst-dn-pn-ds-ct-dt-cr));
528
+ }
529
+ &[data-slider-control="Pagination Line"] {
530
+ .embla__dot {
531
+ width: var(--_ctm-dn-pn-le-le-wh, var(--_ctm-dn-pn-le-le-wh));
532
+ height: var(--_ctm-dn-pn-le-le-ht, var(--_tst-dn-pn-le-le-ht));
533
+ background-color: var(--_ctm-dn-pn-le-or-le-cr, var(--_ctm-dn-pn-le-or-le-cr));
534
+
535
+ border-radius: 6px;
536
+ }
537
+ .embla__dot--selected:after {
538
+ box-shadow: inset 0 0 0 1px var(--text-body);
539
+ border-radius: 6px;
540
+ width: var(--_ctm-dn-pn-le-le-wh, var(--_ctm-dn-pn-le-le-wh));
541
+ height: var(--_ctm-dn-pn-le-le-ht, var(--_tst-dn-pn-le-le-ht));
542
+ // background-color: #fff;
543
+ background-color: var(--_ctm-dn-pn-le-ct-le-cr, var(--_tst-dn-pn-le-ct-le-cr));
544
+ }
545
+ }
546
+ }
547
+
548
+ .embla__thumbs {
549
+ width: 100%;
550
+ height: var(--_ctm-lt-tl-se);
551
+ position: relative;
552
+ display: grid;
553
+ grid-template-columns: 1fr;
554
+ overflow: hidden;
555
+ // margin: 10px;
556
+ padding: 10px;
557
+
558
+ .embla__thumbs__viewport {
559
+ width: 100%;
560
+ height: 100%;
561
+ position: relative;
562
+ display: flex;
563
+ flex-direction: column;
564
+
565
+ overflow: hidden;
566
+ }
567
+ .embla__thumbs__container {
568
+ display: flex;
569
+ flex-direction: row;
570
+ margin-left: calc(var(--thumbs-slide-spacing) * -1);
571
+ gap: var(--_ctm-lt-tl-sg);
572
+ width: 100%;
573
+ // justify-content: center;
574
+ // height: 200px;
575
+
576
+ .embla__thumbs__slide {
577
+ min-width: var(--_ctm-lt-tl-se);
578
+ max-width: var(--_ctm-lt-tl-se);
579
+ height: var(--_ctm-lt-tl-se);
580
+ & img {
581
+ width: 100%;
582
+ height: 100%;
583
+ }
584
+ }
585
+ }
586
+ }
587
+ }
588
+
589
+ .gallery__slide {
590
+ width: 100%;
591
+ height: 100%;
592
+ display: flex;
593
+ // flex-direction: column;
594
+
595
+ background-color: var(--_ctm-dn-im-se-bd-cr, var(--_tst-dn-im-se-bd-cr));
596
+ border-color: var(--_ctm-dn-im-se-br-cr, var(--_tst-dn-im-se-br-cr));
597
+ border-style: var(--_ctm-dn-im-se-br-se, var(--_tst-dn-im-se-br-se));
598
+ border-width: var(--_ctm-dn-im-se-br-wh, var(--_tst-dn-im-se-br-wh));
599
+ border-radius: var(--_ctm-dn-im-se-br-rs, var(--_tst-dn-im-se-br-rs));
600
+ box-shadow: var(
601
+ --_show-shadow,
602
+ var(--_ctm-dn-im-se-sw-ae, var(--_tst-dn-im-se-sw-ae))
603
+ var(--_ctm-dn-im-se-sw-br, var(--_tst-dn-im-se-sw-br))
604
+ var(--_ctm-dn-im-se-sw-sd, var(--_tst-dn-im-se-sw-sd))
605
+ var(--_ctm-dn-im-se-sw-cr, var(--_tst-dn-im-se-sw-cr))
606
+ );
607
+ gap: var(--_ctm-dn-im-lt-gy-tt-ad-im-sg, var(--_tst-dn-gy-lt-tt-ad-im-sg));
608
+ .gallery-header {
609
+ // text-align: var(--_ctm-dn-gy-lt-an, var(--_tst-dn-gy-lt-an));
610
+ // line-height: var(--_ctm-dn-gy-lt-tt-ad-dn-sg, var(--_tst-dn-gy-lt-tt-ad-dn-sg));
611
+ display: flex;
612
+ flex-direction: column;
613
+
614
+ gap: var(--_ctm-dn-im-tt-cr-lt-te-ad-dn-sg);
615
+ padding-block: var(--_ctm-dn-im-tt-cr-lt-tt-vl-pg);
616
+ padding-inline: var(--_ctm-dn-im-tt-cr-lt-tt-hl-pg);
617
+ background-color: var(--_ctm-dn-im-tt-cr-dn-bd-cr, var(--_tst-dn-im-se-cr-dn-bd-cr));
618
+ width: 100%;
619
+ border-color: var(--_ctm-dn-im-tt-cr-dn-br-cr, var(--_tst-dn-im-tt-cr-dn-br-cr));
620
+ border-style: var(--_ctm-dn-im-tt-cr-dn-br-se, var(--_tst-dn-im-tt-cr-dn-br-se));
621
+ border-width: var(--_ctm-dn-im-tt-cr-dn-br-wh, var(--_tst-dn-im-tt-cr-dn-br-wh));
622
+ border-radius: var(--_ctm-dn-im-tt-cr-dn-br-rs, var(--_tst-dn-im-tt-cr-dn-br-rs));
623
+ box-shadow: var(
624
+ --_show-shadow,
625
+ var(--_ctm-dn-im-tt-cr-dn-sw-ae, var(--_tst-dn-im-tt-cr-dn-sw-ae))
626
+ var(--_ctm-dn-im-tt-cr-dn-sw-br, var(--_tst-dn-im-tt-cr-dn-sw-br))
627
+ var(--_ctm-dn-im-tt-cr-dn-sw-sd, var(--_tst-dn-im-tt-cr-dn-sw-sd))
628
+ var(--_ctm-dn-im-tt-cr-dn-sw-cr, var(--_tst-dn-gy-wt-sw-cr))
629
+ );
630
+
631
+ & h3 {
632
+ color: var(--_ctm-dn-im-se-cr, var(--_tst-dn-im-se-cr));
633
+ font-family: var(--_ctm-dn-im-se-ft-fy, var(--_tst-dn-im-se-ft-fy)), sans-serif;
634
+ font-size: var(--_ctm-dn-im-se-ft-se, var(--_tst-dn-im-se-ft-se));
635
+ font-weight: var(--_ctm-dn-im-se-ft-wt, var(--_tst-dn-im-se-ft-wt));
636
+ font-style: var(--_ctm-dn-im-se-ft-se-ic, var(--_tst-dn-im-se-ft-se-ic));
637
+ text-align: var(--_ctm-dn-im-se-tt-an, var(--_tst-dn-im-se-se-an));
638
+ letter-spacing: var(--_ctm-dn-im-se-lr-sg, var(--_tst-dn-im-se-lr-sg));
639
+ line-height: var(--_ctm-dn-im-se-le-ht, var(--_tst-dn-im-se-le-ht));
640
+ text-decoration: var(--_ctm-dn-im-se-ue,);
641
+ }
642
+ & p {
643
+ color: var(--_ctm-dn-im-se-cr-dc, var(--_tst-dn-im-se-cr-dc));
644
+ font-family: var(--_ctm-dn-im-se-ft-fy-dc, var(--_tst-dn-im-se-ft-fy-dc)), sans-serif;
645
+ font-size: var(--_ctm-dn-im-se-ft-se-dc, var(--_tst-dn-im-se-ft-se-dc));
646
+ font-weight: var(--_ctm-dn-im-se-ft-wt-dc, var(--_tst-dn-im-se-ft-wt-dc));
647
+ font-style: var(--_ctm-dn-im-se-ft-se-ic-dc, var(--_tst-dn-im-se-ft-se-ic-dc));
648
+ text-align: var(--_ctm-dn-im-se-tt-an-dc, var(--_tst-dn-im-se-se-an-dc));
649
+ letter-spacing: var(--_ctm-dn-im-se-lr-sg-dc, var(--_tst-dn-im-se-lr-sg-dc));
650
+ line-height: var(--_ctm-dn-im-se-le-ht-dc, var(--_tst-dn-im-se-le-ht-dc));
651
+ text-decoration: var(--_ctm-dn-im-se-ue-dc,);
652
+ }
653
+ // h3 {
654
+ // margin-bottom: var(--_mb-4);
655
+ // }
656
+ }
657
+ > img {
658
+ object-fit: cover;
659
+ }
660
+ &[data-text-position="On Image"] {
661
+ .gallery-header {
662
+ width: 100%;
663
+ // height: 100%;
664
+ position: absolute;
665
+ }
666
+
667
+ &[data-widget-alignment="top"] {
668
+ // align-items: flex-start;
669
+
670
+ .gallery-header {
671
+ top: 0;
672
+
673
+ justify-content: flex-start;
674
+ }
675
+ }
676
+ &[data-widget-alignment="center"] {
677
+ // align-items: center;
678
+
679
+ .gallery-header {
680
+ top: 50%;
681
+ transform: translateY(-50%);
682
+ justify-content: center;
683
+ }
684
+ }
685
+ &[data-widget-alignment="bottom"] {
686
+ // align-items: flex-end;
687
+ .gallery-header {
688
+ bottom: 0;
689
+
690
+ justify-content: flex-end;
691
+ }
692
+ }
693
+ }
694
+
695
+ &[data-text-position="top"] {
696
+ flex-direction: column;
697
+ }
698
+
699
+ &[data-text-position="bottom"] {
700
+ flex-direction: column-reverse;
701
+ }
702
+ &[data-text-position="left"] {
703
+ flex-direction: row;
704
+
705
+ .gallery-header {
706
+ width: fit-content;
707
+ height: 100%;
708
+ }
709
+ &[data-widget-alignment="top"] {
710
+ align-items: flex-start;
711
+
712
+ .gallery-header {
713
+ justify-content: flex-start;
714
+ }
715
+ }
716
+ &[data-widget-alignment="center"] {
717
+ align-items: center;
718
+
719
+ .gallery-header {
720
+ justify-content: center;
721
+ }
722
+ }
723
+ &[data-widget-alignment="bottom"] {
724
+ align-items: flex-end;
725
+
726
+ .gallery-header {
727
+ justify-content: flex-end;
728
+ }
729
+ }
730
+ }
731
+ &[data-text-position="right"] {
732
+ flex-direction: row-reverse;
733
+ .gallery-header {
734
+ width: fit-content;
735
+ height: 100%;
736
+ }
737
+
738
+ &[data-widget-alignment="top"] {
739
+ align-items: flex-start;
740
+
741
+ .gallery-header {
742
+ justify-content: flex-start;
743
+ }
744
+ }
745
+ &[data-widget-alignment="center"] {
746
+ align-items: center;
747
+
748
+ .gallery-header {
749
+ justify-content: center;
750
+ }
751
+ }
752
+ &[data-widget-alignment="bottom"] {
753
+ align-items: flex-end;
754
+
755
+ .gallery-header {
756
+ justify-content: flex-end;
757
+ }
758
+ }
759
+ }
760
+ & > img {
761
+ width: 100%;
762
+ height: 100%;
763
+ // object-fit: cover;
764
+
765
+ // object-fit: var(--_ctm-dn-im-se-ot-ft, var(--_tst-dn-im-se-ot-ft));
766
+ // object-fit: cover;
767
+
768
+ &[data-has-title="true"] {
769
+ height: 85%;
770
+ }
771
+
772
+ /* display: block; */
773
+ }
774
+ }
775
+
776
+ .load__more__div {
777
+ display: flex;
778
+ justify-content: center;
779
+ margin-block: 12px;
780
+ & > button {
781
+ padding-inline: 24px;
782
+ border: 1px solid gray;
783
+ padding-block: 12px;
784
+ border-radius: 6px;
785
+ }
786
+ }
787
+ }
788
+ }