@sc-360-v2/storefront-cms-library 0.5.60 → 0.5.61

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 (140) hide show
  1. package/dist/add-existing-form.scss +5 -13
  2. package/dist/add-order.scss +236 -126
  3. package/dist/add-products-tab-details.scss +2097 -1048
  4. package/dist/add-products-tab.scss +1204 -666
  5. package/dist/allocation-header-quota-details.scss +407 -189
  6. package/dist/allocationDetails.scss +2155 -1671
  7. package/dist/allocations-quota-details.scss +323 -159
  8. package/dist/allocations.scss +793 -475
  9. package/dist/amount-estimator.scss +743 -405
  10. package/dist/badge.scss +18 -43
  11. package/dist/brand-basic-elements.scss +124 -76
  12. package/dist/brand.scss +55 -28
  13. package/dist/breadcrumbs.scss +718 -356
  14. package/dist/builder.js +1 -1
  15. package/dist/builderLite.js +1 -1
  16. package/dist/bulk-variant-picker.scss +2027 -1128
  17. package/dist/bundle.scss +1477 -841
  18. package/dist/bundleCategories.scss +301 -0
  19. package/dist/bundleDetails.scss +5072 -3774
  20. package/dist/button.scss +103 -78
  21. package/dist/buy-for-tab-container.scss +106 -77
  22. package/dist/buyForHeaders.scss +2976 -1722
  23. package/dist/cart-details.scss +1025 -485
  24. package/dist/cart-summary.scss +1234 -569
  25. package/dist/cart-wrapper.scss +79 -37
  26. package/dist/cart.scss +225 -117
  27. package/dist/cartAttributes.scss +647 -367
  28. package/dist/cartDropdownOverlay.scss +10 -1
  29. package/dist/category-groups-element.scss +108 -127
  30. package/dist/category-groups-product-grid.scss +147 -120
  31. package/dist/category-groups-product-image.scss +1457 -1162
  32. package/dist/category-groups-product-options.scss +685 -590
  33. package/dist/category-groups-product-price.scss +3244 -1966
  34. package/dist/category-groups-quota-details.scss +464 -210
  35. package/dist/category.scss +50 -26
  36. package/dist/checkout.scss +16 -24
  37. package/dist/confirm-modal.scss +2 -22
  38. package/dist/container.scss +54 -32
  39. package/dist/countdown.scss +443 -256
  40. package/dist/coupon.scss +16 -19
  41. package/dist/default-dropdown.scss +1 -12
  42. package/dist/embroider-template-1-v2.scss +172 -123
  43. package/dist/embroider-template-1.scss +104 -68
  44. package/dist/embroidery.scss +31 -30
  45. package/dist/employee-bulk-order.scss +142 -418
  46. package/dist/faq.scss +408 -228
  47. package/dist/filter-results.scss +265 -125
  48. package/dist/filters.scss +1682 -831
  49. package/dist/gallery-slider-temp.scss +805 -445
  50. package/dist/global-styles.scss +7 -23
  51. package/dist/grid.scss +33 -25
  52. package/dist/hotspot.scss +115 -68
  53. package/dist/image-temp.scss +38 -24
  54. package/dist/item-stock.scss +16 -9
  55. package/dist/kitDetails.scss +4301 -2721
  56. package/dist/kits.scss +19 -24
  57. package/dist/language-selector.scss +361 -211
  58. package/dist/last-x-orders.scss +174 -95
  59. package/dist/layouter-item.scss +106 -76
  60. package/dist/layouter-pro-item.scss +95 -89
  61. package/dist/layouter-pro.scss +92 -87
  62. package/dist/layouter.scss +264 -79
  63. package/dist/light-box-v2.scss +104 -89
  64. package/dist/login.scss +600 -311
  65. package/dist/map.scss +391 -228
  66. package/dist/marchandiserSets.scss +104 -95
  67. package/dist/mega-menu-container.scss +109 -96
  68. package/dist/mega-menu.scss +731 -624
  69. package/dist/menu-item.scss +2 -2
  70. package/dist/menu-v2.scss +619 -507
  71. package/dist/multi-select-dropdown.scss +3 -27
  72. package/dist/my-templates.scss +9 -38
  73. package/dist/option-bar.scss +375 -215
  74. package/dist/order-status.scss +1117 -643
  75. package/dist/overflow-module.scss +7 -6
  76. package/dist/past-orders.scss +149 -118
  77. package/dist/payment-methods.scss +30 -46
  78. package/dist/pickup-locations.scss +1118 -558
  79. package/dist/position-module.scss +17 -20
  80. package/dist/prefix-list.scss +10 -21
  81. package/dist/product-actions.scss +1778 -1228
  82. package/dist/product-basic-elements.scss +169 -108
  83. package/dist/product-highlights.scss +176 -107
  84. package/dist/product-image-bundles.scss +642 -337
  85. package/dist/product-inventory.scss +1357 -673
  86. package/dist/product-labels.scss +105 -84
  87. package/dist/product-options.scss +659 -316
  88. package/dist/product-price.scss +2562 -1284
  89. package/dist/product-promotions.scss +2830 -1388
  90. package/dist/product-sizechart.scss +905 -516
  91. package/dist/product.scss +61 -28
  92. package/dist/productDetails.scss +39 -19
  93. package/dist/profile.scss +451 -207
  94. package/dist/quantity-selector.scss +550 -313
  95. package/dist/quick-inventory-check.scss +174 -95
  96. package/dist/quick-links.scss +137 -56
  97. package/dist/quick-order-pad.scss +271 -218
  98. package/dist/quota-details.scss +282 -152
  99. package/dist/quotes.scss +121 -82
  100. package/dist/repeater-embla-controls.scss +26 -37
  101. package/dist/repeater-grid-toggle.scss +166 -156
  102. package/dist/repeater-item.scss +64 -41
  103. package/dist/repeater.scss +817 -554
  104. package/dist/request-for-quotes.scss +16 -66
  105. package/dist/responsive-behaviour.scss +1 -3
  106. package/dist/rfqs.scss +181 -118
  107. package/dist/scroll.scss +198 -90
  108. package/dist/search.scss +326 -179
  109. package/dist/section.scss +51 -27
  110. package/dist/shipping-payments.scss +58 -198
  111. package/dist/simple-list.scss +198 -61
  112. package/dist/social.scss +145 -80
  113. package/dist/stack.scss +34 -23
  114. package/dist/static-global.scss +26 -44
  115. package/dist/stockStatus.scss +19 -11
  116. package/dist/store-locations.scss +1105 -577
  117. package/dist/tab-container.scss +108 -81
  118. package/dist/table-common.scss +408 -217
  119. package/dist/table.scss +511 -269
  120. package/dist/text-temp.scss +7 -8
  121. package/dist/theme-classes.scss +13 -17
  122. package/dist/types/builder/elements/bundle-categories/index.d.ts +30 -0
  123. package/dist/types/builder/enums/index.d.ts +1 -0
  124. package/dist/types/builder/index.d.ts +2 -1
  125. package/dist/types/builder/tools/element-edit/bundleCategories.d.ts +115 -0
  126. package/dist/types/builder/tools/element-edit/button.d.ts +1 -0
  127. package/dist/types/builder/tools/element-edit/cartSummary.d.ts +1051 -2
  128. package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
  129. package/dist/types/builder/tools/element-edit/layouter.d.ts +33 -1
  130. package/dist/types/builder/tools/element-edit/productOptions.d.ts +3 -1
  131. package/dist/types/builder/tools/element-edit/productPrice.d.ts +1 -0
  132. package/dist/types/builder/tools/element-edit/repeater.d.ts +45 -1
  133. package/dist/types/builder/tools/element-edit/scroll.d.ts +6 -0
  134. package/dist/types/builder/tools/element-edit/userElements.d.ts +38 -37
  135. package/dist/uom-selector.scss +949 -489
  136. package/dist/user-elements.scss +892 -574
  137. package/dist/variant-picker.scss +2555 -1281
  138. package/dist/volume-pricing.scss +1037 -541
  139. package/dist/website.js +1 -1
  140. package/package.json +1 -1
@@ -1,659 +1,754 @@
1
1
  @use "./functions.scss" as *;
2
2
 
3
+ // The value text inside a swatch moved out of design.optionValueStyle into its own
4
+ // schema, design.optionValueTextStyle, so the box and the text are edited from separate
5
+ // accordions. Pages saved before the split still carry the typography keys under the old
6
+ // section, so every value-text property resolves the new variable first and falls back to
7
+ // the old one — both across breakpoints.
8
+ @function optionValueTextVar($newVar, $legacyVar) {
9
+ @return prepareMediaVariable($newVar, prepareMediaVariable($legacyVar));
10
+ }
11
+
3
12
  // Verbatim copy of the ProductOptions swatch styling (styles/elements/product-options.scss),
4
13
  // rebound to the Category Groups productOptions design/layout CSS-variable paths.
5
14
  // ONLY the variable paths differ from product-options.scss — keep the two in sync.
6
15
  // @imported inside category-groups-element.scss within the categoryGroups scope.
7
- .product__option__element {
8
- display: flex;
9
- flex-direction: column;
10
- min-height: 30px;
11
- gap: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg,
12
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg)));
13
-
14
- background-color: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-bd-cr,
15
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-bd-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-bd-cr)));
16
- padding: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-lt-pg, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-lt-pg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-pg)));
17
-
18
- width: 100%;
19
- // height: 100%;
20
- border-color: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-cr,
21
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-cr)));
22
- border-style: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-se,
23
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-se)));
24
- border-width: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-wh,
25
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-wh, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-wh)));
26
- border-radius: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-rs,
27
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-rs, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-rs)));
28
- box-shadow: var(--_show-shadow,
29
- var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-ae, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-ae, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-ae))) var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-br, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-br, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-br))) var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-sd, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-sd, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-sd))) var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-cr, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-cr))));
30
-
31
- .title {
32
- margin-bottom: 4px;
33
- color: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-cr, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-cr)));
34
- font-family: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-fy,
35
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-fy, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-fy)));
36
- text-transform: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-tm,
37
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-tm, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-tm)));
38
- word-wrap: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-wp,
39
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-wp, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-wp)));
40
- word-break: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-bk,
41
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-bk, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-bk)));
42
- font-size: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se,
43
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se)));
44
- font-weight: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-wt,
45
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-wt, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-wt)));
46
- font-style: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se-ic,
47
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se-ic, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se-ic)));
48
- text-align: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-an,
49
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-an, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-an)));
50
- letter-spacing: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-lr-sg,
51
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-lr-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-lr-sg)));
52
- line-height: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-le-ht,
53
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-le-ht, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-le-ht)));
54
- text-decoration: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ue,
55
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ue, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ue)));
56
- }
57
-
58
- .product__option__element__swatch {
59
- display: flex;
60
- align-items: flex-start;
61
- gap: 10px;
62
- gap: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg,
63
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg)));
64
-
65
- // margin-top: 20px;
66
-
67
- .swatch__list {
16
+ .product__option__element {
68
17
  display: flex;
69
- gap: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg)));
70
-
71
- width: 100%;
72
- // &[data-wrap-items="true"] {
73
- // flex-wrap: wrap;
74
- // }
75
- // flex-wrap: wrap;
76
- }
77
-
78
- &[data-overflow-items="Wrap"] {
79
- .swatch__list {
80
- flex-wrap: wrap;
81
- }
82
- }
18
+ flex-direction: column;
19
+ min-height: 30px;
20
+ gap: var(
21
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg,
22
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg))
23
+ );
24
+
25
+ background-color: var(
26
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-bd-cr,
27
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-bd-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-bd-cr))
28
+ );
29
+ padding: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-lt-pg, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-lt-pg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-pg)));
83
30
 
84
- &[data-overflow-items="Scroll"] {
85
- .swatch__list {
86
- overflow-x: auto;
87
- // overflow-y: hidden;
88
- flex-wrap: nowrap;
89
- }
90
- }
91
- }
92
-
93
- .swatch__item:hover {
94
- --_sf-hr-bd-cr: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-bd-cr,
95
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-bd-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-bd-cr)));
96
- --_sf-hr-br-cr: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-cr,
97
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-cr)));
98
- --_sf-hr-br-se: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-se,
99
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-se)));
100
- --_sf-hr-br-wh: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-wh,
101
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-wh, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-wh)));
102
- --_sf-hr-br-rs: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-rs,
103
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-rs, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-rs)));
104
-
105
- // for shadow
106
- --_sf-hr-sw-ae: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-ae,
107
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-ae, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-ae)));
108
- --_sf-hr-sw-br: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-br,
109
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-br, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-br)));
110
- --_sf-hr-sw-hr: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-hr,
111
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-hr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-hr)));
112
- --_sf-hr-sw-cr: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-cr,
113
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-cr)));
114
-
115
- // for font
116
-
117
- --_sf-hr-cr: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-cr,
118
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-cr)));
119
- --_sf-hr-ft-fy: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-fy,
120
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-fy, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-fy)));
121
- --_sf-hr-tt-tm: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-tt-tm,
122
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-tt-tm, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-tt-tm)));
123
- --_sf-hr-wd-wp: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-wd-wp,
124
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-wd-wp, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-wd-wp)));
125
- --_sf-hr-wd-bk: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-wd-bk,
126
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-wd-bk, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-wd-bk)));
127
- --_sf-hr-ft-se: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-se,
128
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-se)));
129
- --_sf-hr-ft-wt: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-wt,
130
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-wt, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-wt)));
131
- --_sf-hr-ft-se-ic: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-se-ic,
132
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-se-ic, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-se-ic)));
133
- --_sf-hr-tt-an: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-tt-an,
134
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-tt-an, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-tt-an)));
135
- --_sf-hr-lr-sg: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-lr-sg,
136
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-lr-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-lr-sg)));
137
- --_sf-hr-le-ht: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-le-ht,
138
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-le-ht, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-le-ht)));
139
-
140
- --_sf-hr-ue: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ue,
141
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ue, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ue)));
142
- }
143
-
144
- .swatch__item[data-selected="true"] {
145
- --_sf-sd-bd-cr: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-bd-cr,
146
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-bd-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-bd-cr)));
147
- --_sf-sd-br-cr: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-cr,
148
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-cr)));
149
- --_sf-sd-br-se: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-se,
150
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-se)));
151
- --_sf-sd-br-wh: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-wh,
152
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-wh, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-wh)));
153
- // new
154
- --_sf-sd-sw-ae: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-ae,
155
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-ae, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-ae)));
156
- --_sf-sd-sw-br: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-br,
157
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-br, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-br)));
158
- --_sf-sd-sw-sd: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-sd,
159
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-sd, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-sd)));
160
- --_sf-sd-sw-cr: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-cr,
161
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-cr)));
162
-
163
- // for font
164
- --_sf-hr-cr: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-cr,
165
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-cr)));
166
- --_sf-hr-ft-fy: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-fy,
167
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-fy, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-fy)));
168
- --_sf-hr-tt-tm: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-tt-tm,
169
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-tt-tm, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-tt-tm)));
170
- --_sf-hr-wd-wp: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-wd-wp,
171
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-wd-wp, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-wd-wp)));
172
- --_sf-hr-wd-bk: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-wd-bk,
173
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-wd-bk, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-wd-bk)));
174
- --_sf-hr-ft-se: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-se,
175
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-se)));
176
- --_sf-hr-ft-wt: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-wt,
177
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-wt, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-wt)));
178
- --_sf-hr-ft-se-ic: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-se-ic,
179
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-se-ic, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-se-ic)));
180
- --_sf-hr-tt-an: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-tt-an,
181
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-tt-an, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-tt-an)));
182
- --_sf-hr-lr-sg: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-lr-sg,
183
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-lr-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-lr-sg)));
184
- --_sf-hr-le-ht: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-le-ht,
185
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-le-ht, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-le-ht)));
186
-
187
- --_sf-hr-ue: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ue,
188
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ue, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ue)));
189
- }
190
-
191
- .swatch__item {
192
- text-align: center;
193
- overflow: hidden;
194
- flex-shrink: 0;
195
- display: flex;
196
- align-items: center;
197
- justify-content: center;
198
- transition: width 0.3s ease;
199
- // border: 1px solid gray;
200
- width: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se, 20px);
201
- height: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se, 20px);
202
-
203
- // &[data-display-style="Swatch"] {
204
- // height: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se);
205
- // width: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se);
206
- // }
207
- // &[data-display-style="Single Select"] {
208
- // // min-width: 20px;
209
- // // min-height: 20px;
210
- // box-sizing: content-box;
211
- // }
212
-
213
- gap: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-im-gp);
214
- padding: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-pg);
215
-
216
- cursor: pointer;
217
-
218
- border-color: var(--_sf-hr-br-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-cr));
219
-
220
- background-color: var(--_sf-hr-bd-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-bd-cr));
221
- border-style: var(--_sf-hr-br-se, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-se));
222
- border-width: var(--_sf-hr-br-wh, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-wh));
223
-
224
- box-shadow: var(--_sf-hr-sw-ae, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-ae)) var(--_sf-hr-sw-br, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-br)) var(--_sf-hr-sw-sd, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-sd)) var(--_sf-hr-sw-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-cr));
225
-
226
- & div,
227
- .product-select-image {
228
- height: 100%;
229
31
  width: 100%;
230
- object-fit: cover;
231
- }
232
-
233
- &[data-background-shape="circle"] {
234
- border-radius: 50%;
235
- }
236
-
237
- &[data-background-shape="square"] {
238
- border-radius: 5px;
239
- }
240
-
241
- &[data-background-shape="capsule"] {
242
- &:not([data-display-style="Single Select"]) {
243
- --toggle-height: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se);
244
- --toggle-width: calc(var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se) * 1.5);
245
-
246
- width: var(--toggle-width);
247
- height: var(--toggle-height);
32
+ // height: 100%;
33
+ border-color: var(
34
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-cr,
35
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-cr))
36
+ );
37
+ border-style: var(
38
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-se,
39
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-se))
40
+ );
41
+ border-width: var(
42
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-wh,
43
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-wh, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-wh))
44
+ );
45
+ border-radius: var(
46
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-rs,
47
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-rs, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-br-rs))
48
+ );
49
+ box-shadow: var(
50
+ --_show-shadow,
51
+ var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-ae, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-ae, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-ae)))
52
+ var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-br, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-br, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-br)))
53
+ var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-sd, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-sd, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-sd)))
54
+ var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-cr, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-wt-se-sw-cr)))
55
+ );
56
+
57
+ .title {
58
+ margin-bottom: 4px;
59
+ color: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-cr, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-cr)));
60
+ font-family: var(
61
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-fy,
62
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-fy, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-fy))
63
+ );
64
+ text-transform: var(
65
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-tm,
66
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-tm, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-tm))
67
+ );
68
+ word-wrap: var(
69
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-wp,
70
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-wp, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-wp))
71
+ );
72
+ word-break: var(
73
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-bk,
74
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-bk, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-wd-bk))
75
+ );
76
+ font-size: var(
77
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se,
78
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se))
79
+ );
80
+ font-weight: var(
81
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-wt,
82
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-wt, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-wt))
83
+ );
84
+ font-style: var(
85
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se-ic,
86
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se-ic, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ft-se-ic))
87
+ );
88
+ text-align: var(
89
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-an,
90
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-an, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-tt-an))
91
+ );
92
+ letter-spacing: var(
93
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-lr-sg,
94
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-lr-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-lr-sg))
95
+ );
96
+ line-height: var(
97
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-le-ht,
98
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-le-ht, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-le-ht))
99
+ );
100
+ text-decoration: var(
101
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ue,
102
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ue, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-ue))
103
+ );
104
+
105
+ // design.optionTitle container styling. The title is its own design schema, so it
106
+ // carries the same Fill / Border / Border Radius / Shadow set as the value box.
107
+ background-color: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-bd-cr, transparent);
108
+ border-color: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-br-cr);
109
+ border-style: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-br-se);
110
+ border-width: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-br-wh, 0px);
111
+ border-radius: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-br-rs, 0px);
112
+ // Same --_show-shadow gate the widget container uses in this file.
113
+ box-shadow: var(
114
+ --_show-shadow,
115
+ prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-sw-ae) prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-sw-br)
116
+ prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-sw-sd) prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-te-sw-cr)
117
+ );
118
+
119
+ // Text Overflow is a `controls` property, not a CSS one, so it cannot travel as a
120
+ // variable — the renderer adds `.flex__overflow` and publishes the line count as
121
+ // `--_sf-line-clamp`.
122
+ &.flex__overflow {
123
+ white-space: normal;
124
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
125
+ }
248
126
  }
249
127
 
250
- border-radius: var(--toggle-height);
251
- /* Full pill shape */
252
- box-sizing: border-box;
253
- }
254
-
255
- &[data-swatch-shape="circle"] {
128
+ .product__option__element__swatch {
129
+ display: flex;
130
+ align-items: flex-start;
131
+ gap: 10px;
132
+ gap: var(
133
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg,
134
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-on-te-ve-sg))
135
+ );
256
136
 
257
- & div,
258
- .product-select-image {
259
- border-radius: 50%;
260
- }
137
+ // margin-top: 20px;
261
138
 
262
- // border-radius: 50%;
263
- }
139
+ .swatch__list {
140
+ display: flex;
141
+ gap: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg)));
264
142
 
265
- &[data-swatch-shape="capsule"] {
143
+ width: 100%;
144
+ // &[data-wrap-items="true"] {
145
+ // flex-wrap: wrap;
146
+ // }
147
+ // flex-wrap: wrap;
148
+ }
266
149
 
267
- & div,
268
- .product-select-image {
269
- // border-radius: 50%;
270
- width: 100%;
271
- height: 100%;
272
- border-radius: inherit;
150
+ &[data-overflow-items="Wrap"] {
151
+ .swatch__list {
152
+ flex-wrap: wrap;
153
+ }
154
+ }
155
+ &[data-overflow-items="Scroll"] {
156
+ .swatch__list {
157
+ overflow-x: auto;
158
+ // Gap (layout.swatchScrollGap): clearance between the swatches and the
159
+ // scrollbar this mode adds underneath. Padding inside the scrolling box, so
160
+ // it holds the items off the scrollbar rather than widening the element.
161
+ padding-bottom: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-sl-gp, 0px);
162
+ // overflow-y: hidden;
163
+ flex-wrap: nowrap;
164
+ }
165
+ }
273
166
  }
274
167
 
275
- // border-radius: 50%;
276
- }
277
-
278
- &:hover {
279
- &[data-background-shape-hover="circle"] {
280
- border-radius: 50%;
168
+ .swatch__item:hover {
169
+ --_sf-hr-bd-cr: var(
170
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-bd-cr,
171
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-bd-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-bd-cr))
172
+ );
173
+ --_sf-hr-br-cr: var(
174
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-cr,
175
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-cr))
176
+ );
177
+ --_sf-hr-br-se: var(
178
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-se,
179
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-se))
180
+ );
181
+ --_sf-hr-br-wh: var(
182
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-wh,
183
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-wh, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-wh))
184
+ );
185
+ --_sf-hr-br-rs: var(
186
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-rs,
187
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-rs, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-br-rs))
188
+ );
189
+
190
+ // for shadow
191
+ --_sf-hr-sw-ae: var(
192
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-ae,
193
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-ae, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-ae))
194
+ );
195
+ --_sf-hr-sw-br: var(
196
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-br,
197
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-br, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-br))
198
+ );
199
+ --_sf-hr-sw-hr: var(
200
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-hr,
201
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-hr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-hr))
202
+ );
203
+ --_sf-hr-sw-cr: var(
204
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-cr,
205
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-sw-cr))
206
+ );
207
+
208
+ // for font
209
+
210
+ --_sf-hr-cr: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-cr, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-cr)};
211
+ --_sf-hr-ft-fy: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-ft-fy, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-fy)};
212
+ --_sf-hr-tt-tm: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-tt-tm, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-tt-tm)};
213
+ --_sf-hr-wd-wp: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-wd-wp, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-wd-wp)};
214
+ --_sf-hr-wd-bk: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-wd-bk, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-wd-bk)};
215
+ --_sf-hr-ft-se: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-ft-se, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-se)};
216
+ --_sf-hr-ft-wt: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-ft-wt, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-wt)};
217
+ --_sf-hr-ft-se-ic: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-ft-se-ic, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ft-se-ic)};
218
+ --_sf-hr-tt-an: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-tt-an, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-tt-an)};
219
+ --_sf-hr-lr-sg: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-lr-sg, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-lr-sg)};
220
+ --_sf-hr-le-ht: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-le-ht, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-le-ht)};
221
+
222
+ --_sf-hr-ue: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-hr-se-ue, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-hr-se-ue)};
281
223
  }
282
-
283
- &[data-background-shape-hover="square"] {
284
- border-radius: 5px;
224
+ .swatch__item[data-selected="true"] {
225
+ --_sf-sd-bd-cr: var(
226
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-bd-cr,
227
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-bd-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-bd-cr))
228
+ );
229
+ --_sf-sd-br-cr: var(
230
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-cr,
231
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-cr))
232
+ );
233
+ --_sf-sd-br-se: var(
234
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-se,
235
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-se))
236
+ );
237
+ --_sf-sd-br-wh: var(
238
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-wh,
239
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-wh, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-br-wh))
240
+ );
241
+ // new
242
+ --_sf-sd-sw-ae: var(
243
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-ae,
244
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-ae, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-ae))
245
+ );
246
+ --_sf-sd-sw-br: var(
247
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-br,
248
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-br, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-br))
249
+ );
250
+ --_sf-sd-sw-sd: var(
251
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-sd,
252
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-sd, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-sd))
253
+ );
254
+ --_sf-sd-sw-cr: var(
255
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-cr,
256
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-sw-cr))
257
+ );
258
+
259
+ // for font
260
+ --_sf-hr-cr: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-cr, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-cr)};
261
+ --_sf-hr-ft-fy: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-ft-fy, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-fy)};
262
+ --_sf-hr-tt-tm: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-tt-tm, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-tt-tm)};
263
+ --_sf-hr-wd-wp: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-wd-wp, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-wd-wp)};
264
+ --_sf-hr-wd-bk: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-wd-bk, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-wd-bk)};
265
+ --_sf-hr-ft-se: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-ft-se, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-se)};
266
+ --_sf-hr-ft-wt: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-ft-wt, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-wt)};
267
+ --_sf-hr-ft-se-ic: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-ft-se-ic, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ft-se-ic)};
268
+ --_sf-hr-tt-an: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-tt-an, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-tt-an)};
269
+ --_sf-hr-lr-sg: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-lr-sg, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-lr-sg)};
270
+ --_sf-hr-le-ht: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-le-ht, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-le-ht)};
271
+
272
+ --_sf-hr-ue: #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-sd-se-ue, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-sd-se-ue)};
285
273
  }
286
274
 
287
- &[data-background-shape-hover="capsule"] {
288
- --toggle-height: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se);
289
- --toggle-width: calc(var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se) * 1.5);
290
-
291
- width: var(--toggle-width);
292
- height: var(--toggle-height);
275
+ .swatch__item {
276
+ text-align: center;
277
+ overflow: hidden;
278
+ flex-shrink: 0;
279
+ display: flex;
280
+ align-items: center;
281
+ justify-content: center;
282
+ transition: width 0.3s ease;
283
+ // border: 1px solid gray;
284
+ width: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se, 20px);
285
+ height: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se, 20px);
286
+
287
+ // A Single Select value is text, not a swatch image. `white-space: nowrap` on
288
+ // .option__value__text keeps it on one line, but this box is fixed-size with
289
+ // overflow:hidden, so a value wider than Swatch Item Size was clipped instead.
290
+ // Grow to the content and keep Swatch Item Size as the floor, so short values look
291
+ // exactly as before and only the ones that would have been cut off get wider.
292
+ &[data-display-style="Single Select"] {
293
+ width: auto;
294
+ height: auto;
295
+ min-width: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se, 20px);
296
+ min-height: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se, 20px);
297
+ }
293
298
 
294
- border-radius: var(--toggle-height);
295
- /* Full pill shape */
296
- box-sizing: border-box;
297
- }
299
+ // &[data-display-style="Swatch"] {
300
+ // height: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se);
301
+ // width: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se);
302
+ // }
303
+ // &[data-display-style="Single Select"] {
304
+ // // min-width: 20px;
305
+ // // min-height: 20px;
306
+ // box-sizing: content-box;
307
+ // }
298
308
 
299
- &[data-swatch-shape-hover="circle"] {
309
+ gap: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-im-gp);
310
+ padding: prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-pg);
300
311
 
301
- & div,
302
- .product-select-image {
303
- border-radius: 50%;
304
- }
312
+ cursor: pointer;
305
313
 
306
- // border-radius: 50%;
307
- }
314
+ border-color: var(--_sf-hr-br-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-cr));
308
315
 
309
- &[data-swatch-shape-hover="capsule"] {
316
+ background-color: var(--_sf-hr-bd-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-bd-cr));
317
+ border-style: var(--_sf-hr-br-se, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-se));
318
+ border-width: var(--_sf-hr-br-wh, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-wh));
310
319
 
320
+ box-shadow: var(--_sf-hr-sw-ae, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-ae))
321
+ var(--_sf-hr-sw-br, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-br))
322
+ var(--_sf-hr-sw-sd, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-sd))
323
+ var(--_sf-hr-sw-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-cr));
311
324
  & div,
312
325
  .product-select-image {
313
- // border-radius: 50%;
314
- width: 100%;
315
326
  height: 100%;
316
- border-radius: inherit;
327
+ width: 100%;
328
+ object-fit: cover;
317
329
  }
318
- }
319
330
 
320
- &[data-swatch-shape-hover="square"] {
321
-
322
- & div,
323
- .product-select-image {
331
+ &[data-background-shape="circle"] {
332
+ border-radius: 50%;
333
+ }
334
+ &[data-background-shape="square"] {
324
335
  border-radius: 5px;
325
336
  }
326
- }
327
- }
328
-
329
- &[data-selected="true"] {
330
- border-color: var(--_sf-sd-br-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-cr));
331
-
332
- background-color: var(--_sf-sd-bd-cr,
333
- prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-bd-cr));
334
- border-style: var(--_sf-sd-br-se, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-se));
335
- border-width: var(--_sf-sd-br-wh, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-wh));
336
- box-shadow: var(--_sf-sd-sw-ae, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-ae)) var(--_sf-sd-sw-br, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-br)) var(--_sf-sd-sw-sd, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-sd)) var(--_sf-sd-sw-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-cr));
337
-
338
- &[data-background-shape-selected="circle"] {
339
- border-radius: 50%;
340
- }
337
+ &[data-background-shape="capsule"] {
338
+ &:not([data-display-style="Single Select"]) {
339
+ --toggle-height: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se);
340
+ --toggle-width: calc(var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se) * 1.5);
341
341
 
342
- &[data-background-shape-selected="square"] {
343
- border-radius: 5px;
344
- }
342
+ width: var(--toggle-width);
343
+ height: var(--toggle-height);
344
+ }
345
345
 
346
- &[data-background-shape-selected="capsule"] {
347
- --toggle-height: #{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se)};
348
- --toggle-width: calc(#{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se)} * 1.5);
346
+ border-radius: var(--toggle-height); /* Full pill shape */
347
+ box-sizing: border-box;
348
+ }
349
+ &[data-swatch-shape="circle"] {
350
+ & div,
351
+ .product-select-image {
352
+ border-radius: 50%;
353
+ }
354
+ // border-radius: 50%;
355
+ }
356
+ &[data-swatch-shape="capsule"] {
357
+ & div,
358
+ .product-select-image {
359
+ // border-radius: 50%;
360
+ width: 100%;
361
+ height: 100%;
362
+ border-radius: inherit;
363
+ }
364
+ // border-radius: 50%;
365
+ }
349
366
 
350
- width: var(--toggle-width);
351
- // height: var(--toggle-height);
367
+ &:hover {
368
+ &[data-background-shape-hover="circle"] {
369
+ border-radius: 50%;
370
+ }
371
+ &[data-background-shape-hover="square"] {
372
+ border-radius: 5px;
373
+ }
374
+ &[data-background-shape-hover="capsule"] {
375
+ --toggle-height: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se);
376
+ --toggle-width: calc(var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se) * 1.5);
352
377
 
353
- border-radius: var(--toggle-height);
354
- /* Full pill shape */
355
- box-sizing: border-box;
356
- }
378
+ width: var(--toggle-width);
379
+ height: var(--toggle-height);
357
380
 
358
- &[data-swatch-shape-selected="circle"] {
381
+ border-radius: var(--toggle-height); /* Full pill shape */
382
+ box-sizing: border-box;
383
+ }
359
384
 
360
- & div,
361
- .product-select-image {
362
- border-radius: 50%;
385
+ &[data-swatch-shape-hover="circle"] {
386
+ & div,
387
+ .product-select-image {
388
+ border-radius: 50%;
389
+ }
390
+ // border-radius: 50%;
391
+ }
392
+ &[data-swatch-shape-hover="capsule"] {
393
+ & div,
394
+ .product-select-image {
395
+ // border-radius: 50%;
396
+ width: 100%;
397
+ height: 100%;
398
+ border-radius: inherit;
399
+ }
400
+ }
401
+ &[data-swatch-shape-hover="square"] {
402
+ & div,
403
+ .product-select-image {
404
+ border-radius: 5px;
405
+ }
406
+ }
363
407
  }
364
- }
408
+ &[data-selected="true"] {
409
+ border-color: var(--_sf-sd-br-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-cr));
410
+
411
+ background-color: var(
412
+ --_sf-sd-bd-cr,
413
+ prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-bd-cr)
414
+ );
415
+ border-style: var(--_sf-sd-br-se, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-se));
416
+ border-width: var(--_sf-sd-br-wh, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-br-wh));
417
+ box-shadow: var(--_sf-sd-sw-ae, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-ae))
418
+ var(--_sf-sd-sw-br, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-br))
419
+ var(--_sf-sd-sw-sd, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-sd))
420
+ var(--_sf-sd-sw-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-sw-cr));
421
+
422
+ &[data-background-shape-selected="circle"] {
423
+ border-radius: 50%;
424
+ }
425
+ &[data-background-shape-selected="square"] {
426
+ border-radius: 5px;
427
+ }
428
+ &[data-background-shape-selected="capsule"] {
429
+ --toggle-height: #{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se)};
430
+ --toggle-width: calc(#{prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-se)} * 1.5);
365
431
 
366
- &[data-swatch-shape-selected="capsule"] {
432
+ width: var(--toggle-width);
433
+ // height: var(--toggle-height);
367
434
 
368
- & div,
369
- .product-select-image {
370
- // border-radius: 50%;
371
- width: 100%;
372
- height: 100%;
373
- border-radius: inherit;
435
+ border-radius: var(--toggle-height); /* Full pill shape */
436
+ box-sizing: border-box;
437
+ }
438
+ &[data-swatch-shape-selected="circle"] {
439
+ & div,
440
+ .product-select-image {
441
+ border-radius: 50%;
442
+ }
443
+ }
444
+ &[data-swatch-shape-selected="capsule"] {
445
+ & div,
446
+ .product-select-image {
447
+ // border-radius: 50%;
448
+ width: 100%;
449
+ height: 100%;
450
+ border-radius: inherit;
451
+ }
452
+ }
453
+ &[data-swatch-shape-selected="square"] {
454
+ & div,
455
+ .product-select-image {
456
+ border-radius: 5px;
457
+ }
458
+ }
374
459
  }
375
- }
376
460
 
377
- &[data-swatch-shape-selected="square"] {
378
-
379
- & div,
380
- .product-select-image {
381
- border-radius: 5px;
461
+ .option__value__text {
462
+ color: var(--_sf-hr-cr, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-cr, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-cr)});
463
+ font-family: var(--_sf-hr-ft-fy, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-ft-fy, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-fy)});
464
+ text-transform: var(--_sf-hr-tt-tm, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-tt-tm, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-tt-tm)});
465
+ word-wrap: var(--_sf-hr-wd-wp, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-wd-wp, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-wd-wp)});
466
+ word-break: var(--_sf-hr-wd-bk, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-wd-bk, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-wd-bk)});
467
+ font-size: var(--_sf-hr-ft-se, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-ft-se, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-se)});
468
+ font-weight: var(--_sf-hr-ft-wt, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-ft-wt, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-wt)});
469
+ font-style: var(
470
+ --_sf-hr-ft-se-ic,
471
+ #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-ft-se-ic, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-se-ic)}
472
+ );
473
+ text-align: var(--_sf-hr-tt-an, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-tt-an, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-tt-an)});
474
+ letter-spacing: var(--_sf-hr-lr-sg, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-lr-sg, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-lr-sg)});
475
+ // The pre-split key is `le-ht-dc`; the new section is read under both spellings
476
+ // so whichever one the converter writes resolves.
477
+ line-height: var(--_sf-hr-le-ht, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-le-ht, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-le-ht-dc, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-le-ht-dc)}));
478
+ text-decoration: var(--_sf-hr-ue, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-ue, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ue)});
479
+ // The swatch item is a fixed box (Swatch Item Size), so a value like "Small"
480
+ // broke onto a second line inside it. Keep it on one line.
481
+ white-space: nowrap;
482
+ }
483
+ &.disabled {
484
+ color: #aaa;
485
+ background-color: #f9f9f9;
486
+ border-color: #ddd;
487
+ cursor: not-allowed;
488
+ opacity: 0.3;
489
+ overflow: hidden;
490
+ position: relative;
382
491
  }
383
- }
384
- }
385
-
386
- .option__value__text {
387
- color: var(--_sf-hr-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-cr));
388
- font-family: var(--_sf-hr-ft-fy, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-fy));
389
- text-transform: var(--_sf-hr-tt-tm, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-tt-tm));
390
- word-wrap: var(--_sf-hr-wd-wp, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-wd-wp));
391
- word-break: var(--_sf-hr-wd-bk, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-wd-bk));
392
- font-size: var(--_sf-hr-ft-se, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-se));
393
- font-weight: var(--_sf-hr-ft-wt, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-wt));
394
- font-style: var(--_sf-hr-ft-se-ic,
395
- prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-se-ic));
396
- text-align: var(--_sf-hr-tt-an, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-tt-an));
397
- letter-spacing: var(--_sf-hr-lr-sg, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-lr-sg));
398
- line-height: var(--_sf-hr-le-ht, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-le-ht-dc));
399
- text-decoration: var(--_sf-hr-ue, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ue));
400
- }
401
-
402
- &.disabled {
403
- color: #aaa;
404
- background-color: #f9f9f9;
405
- border-color: #ddd;
406
- cursor: not-allowed;
407
- opacity: 0.3;
408
- overflow: hidden;
409
- position: relative;
410
- }
411
-
412
- .cross-line {
413
- position: absolute;
414
- inset: 0;
415
- background-color: #cccccc;
416
- clip-path: polygon(100% 0, 100% 1px, 0 100%, 0 96%);
417
- pointer-events: none;
418
- }
419
- }
420
-
421
- // .disabled {
422
- // cursor: not-allowed;
423
- // opacity: 0.4;
424
-
425
- // &[data-swatch-type="Swatch image"] {
426
- // position: relative;
427
- // overflow: hidden;
428
- // &::after {
429
- // content: "";
430
- // width: 172%;
431
- // height: 1px;
432
- // position: absolute;
433
- // background: #f00;
434
- // left: -14px;
435
- // transform: rotate(48deg);
436
- // /* -webkit-transform: rotate(48deg); */
437
- // -moz-transform: rotate(48deg);
438
- // top: 14px;
439
- // box-shadow: 2px 0 5px rgba(255, 255, 255, 1);
440
- // }
441
- // &::before {
442
- // content: "";
443
- // width: 164%;
444
- // height: 1px;
445
- // position: absolute;
446
- // background: #f00;
447
- // left: -14px;
448
- // transform: rotate(-48deg);
449
- // -webkit-transform: rotate(-48deg);
450
- // -moz-transform: rotate(-48deg);
451
- // top: 14px;
452
- // box-shadow: 2px 0 5px rgba(255, 255, 255, 1);
453
- // }
454
- // }
455
- // }
456
-
457
- .option__value__text {
458
- color: var(--_sf-hr-cr, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-cr));
459
- font-family: var(--_sf-hr-ft-fy, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-fy));
460
- text-transform: var(--_sf-hr-tt-tm, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-tt-tm));
461
- word-wrap: var(--_sf-hr-wd-wp, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-wd-wp));
462
- word-break: var(--_sf-hr-wd-bk, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-wd-bk));
463
- font-size: var(--_sf-hr-ft-se, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-se));
464
- font-weight: var(--_sf-hr-ft-wt, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-wt));
465
- font-style: var(--_sf-hr-ft-se-ic, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-se-ic));
466
- text-align: var(--_sf-hr-tt-an, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-tt-an));
467
- letter-spacing: var(--_sf-hr-lr-sg, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-lr-sg));
468
- line-height: var(--_sf-hr-le-ht, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-le-ht-dc));
469
- text-decoration: var(--_sf-hr-ue, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ue));
470
- }
471
-
472
- .product-select-image {
473
- height: 100%;
474
- width: 100%;
475
- object-fit: cover;
476
- }
477
-
478
- .embla {
479
- width: 100%;
480
- height: 100%;
481
- position: relative;
482
- display: flex;
483
- flex-direction: column;
484
-
485
- .embla__viewport {
486
- width: 100%;
487
- height: 100%;
488
- position: relative;
489
- display: flex;
490
- flex-direction: column;
491
- overflow: hidden;
492
-
493
- .embla__container {
494
- width: 100%;
495
- height: 100%;
496
- display: flex;
497
- gap: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg)));
498
492
 
499
- .embla__slide {
500
- height: 100%;
493
+ .cross-line {
494
+ position: absolute;
495
+ inset: 0;
496
+ background-color: #cccccc;
497
+ clip-path: polygon(100% 0, 100% 1px, 0 100%, 0 96%);
498
+ pointer-events: none;
501
499
  }
502
500
  }
503
- }
504
501
 
505
- .arrow-navigation {
506
- display: flex;
507
- position: absolute;
508
- top: 50%;
509
- left: 50%;
510
- width: 100%;
511
- justify-content: space-between;
512
- transform: translate(-50%, -50%);
502
+ // .disabled {
503
+ // cursor: not-allowed;
504
+ // opacity: 0.4;
505
+
506
+ // &[data-swatch-type="Swatch image"] {
507
+ // position: relative;
508
+ // overflow: hidden;
509
+ // &::after {
510
+ // content: "";
511
+ // width: 172%;
512
+ // height: 1px;
513
+ // position: absolute;
514
+ // background: #f00;
515
+ // left: -14px;
516
+ // transform: rotate(48deg);
517
+ // /* -webkit-transform: rotate(48deg); */
518
+ // -moz-transform: rotate(48deg);
519
+ // top: 14px;
520
+ // box-shadow: 2px 0 5px rgba(255, 255, 255, 1);
521
+ // }
522
+ // &::before {
523
+ // content: "";
524
+ // width: 164%;
525
+ // height: 1px;
526
+ // position: absolute;
527
+ // background: #f00;
528
+ // left: -14px;
529
+ // transform: rotate(-48deg);
530
+ // -webkit-transform: rotate(-48deg);
531
+ // -moz-transform: rotate(-48deg);
532
+ // top: 14px;
533
+ // box-shadow: 2px 0 5px rgba(255, 255, 255, 1);
534
+ // }
535
+ // }
536
+ // }
513
537
 
514
- &[data-control-type="Bottom"] {
515
- transform: unset;
516
- position: static;
517
- width: 100%;
518
- justify-content: center;
519
- gap: 12px;
520
- margin-top: 10px;
538
+ .option__value__text {
539
+ color: var(--_sf-hr-cr, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-cr, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-cr)});
540
+ font-family: var(--_sf-hr-ft-fy, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-ft-fy, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-fy)});
541
+ text-transform: var(--_sf-hr-tt-tm, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-tt-tm, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-tt-tm)});
542
+ word-wrap: var(--_sf-hr-wd-wp, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-wd-wp, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-wd-wp)});
543
+ word-break: var(--_sf-hr-wd-bk, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-wd-bk, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-wd-bk)});
544
+ font-size: var(--_sf-hr-ft-se, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-ft-se, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-se)});
545
+ font-weight: var(--_sf-hr-ft-wt, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-ft-wt, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-wt)});
546
+ font-style: var(--_sf-hr-ft-se-ic, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-ft-se-ic, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ft-se-ic)});
547
+ text-align: var(--_sf-hr-tt-an, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-tt-an, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-tt-an)});
548
+ letter-spacing: var(--_sf-hr-lr-sg, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-lr-sg, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-lr-sg)});
549
+ // The pre-split key is `le-ht-dc`; the new section is read under both spellings
550
+ // so whichever one the converter writes resolves.
551
+ line-height: var(--_sf-hr-le-ht, prepareMediaVariable(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-le-ht, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-le-ht-dc, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-le-ht-dc)}));
552
+ text-decoration: var(--_sf-hr-ue, #{optionValueTextVar(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-tt-se-dt-se-ue, --_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-on-ve-se-dt-se-ue)});
553
+ // The swatch item is a fixed box (Swatch Item Size), so a value like "Small"
554
+ // broke onto a second line inside it. Keep it on one line.
555
+ white-space: nowrap;
521
556
  }
522
557
 
523
- &[data-control-type="Bottom-Overflow"] {
524
- transform: translateX(-50%);
558
+ .product-select-image {
559
+ height: 100%;
525
560
  width: 100%;
526
- justify-content: center;
527
- gap: 12px;
528
- top: unset;
529
- bottom: 6px;
561
+ object-fit: cover;
530
562
  }
531
563
 
532
- .left-button,
533
- .right-button {
534
- padding: 10px;
535
- border-radius: 50%;
536
- border: none;
537
- width: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se,
538
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se)));
539
- height: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se,
540
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se)));
564
+ .embla {
565
+ width: 100%;
566
+ height: 100%;
567
+ position: relative;
541
568
  display: flex;
542
- align-items: center;
543
- justify-content: center;
544
- cursor: pointer;
545
- outline: none;
569
+ flex-direction: column;
546
570
 
547
- &:disabled svg path {
548
- stroke: rgb(192, 192, 192);
571
+ .embla__viewport {
572
+ width: 100%;
573
+ height: 100%;
574
+ position: relative;
575
+ display: flex;
576
+ flex-direction: column;
577
+ overflow: hidden;
578
+
579
+ .embla__container {
580
+ width: 100%;
581
+ height: 100%;
582
+ display: flex;
583
+ gap: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg, var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-lt-sh-im-sg)));
584
+
585
+ .embla__slide {
586
+ height: 100%;
587
+ }
588
+ }
549
589
  }
550
- }
551
590
 
552
- .left-button {
553
- margin-left: 12px;
554
- }
555
-
556
- .right-button {
557
- margin-right: 12px;
558
- }
559
-
560
- .icon {
561
- display: flex;
591
+ .arrow-navigation {
592
+ display: flex;
593
+ position: absolute;
594
+ top: 50%;
595
+ left: 50%;
596
+ width: 100%;
597
+ justify-content: space-between;
598
+ transform: translate(-50%, -50%);
599
+
600
+ &[data-control-type="Bottom"] {
601
+ transform: unset;
602
+ position: static;
603
+ width: 100%;
604
+ justify-content: center;
605
+ gap: 12px;
606
+ margin-top: 10px;
607
+ }
608
+ &[data-control-type="Bottom-Overflow"] {
609
+ transform: translateX(-50%);
610
+ width: 100%;
611
+ justify-content: center;
612
+ gap: 12px;
613
+ top: unset;
614
+ bottom: 6px;
615
+ }
562
616
 
563
- svg {
564
- width: calc(var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se,
565
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se))) * 0.5);
566
- height: calc(var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se,
567
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se))) * 0.5);
617
+ .left-button,
618
+ .right-button {
619
+ padding: 10px;
620
+ border-radius: 50%;
621
+ border: none;
622
+ width: var(
623
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se,
624
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se))
625
+ );
626
+ height: var(
627
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se,
628
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se))
629
+ );
630
+ display: flex;
631
+ align-items: center;
632
+ justify-content: center;
633
+ cursor: pointer;
634
+ outline: none;
635
+
636
+ &:disabled svg path {
637
+ stroke: rgb(192, 192, 192);
638
+ }
639
+ }
640
+ .left-button {
641
+ margin-left: 12px;
642
+ }
643
+ .right-button {
644
+ margin-right: 12px;
645
+ }
568
646
 
569
- path {
570
- stroke: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr,
571
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr)));
647
+ .icon {
648
+ display: flex;
649
+ svg {
650
+ width: calc(
651
+ var(
652
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se,
653
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se))
654
+ ) *
655
+ 0.5
656
+ );
657
+ height: calc(
658
+ var(
659
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se,
660
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-se))
661
+ ) *
662
+ 0.5
663
+ );
664
+ path {
665
+ stroke: var(
666
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr,
667
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr))
668
+ );
669
+ }
670
+ }
572
671
  }
573
672
  }
574
- }
575
- }
576
-
577
- &[data-control-type="Side"] {
578
- display: flex;
579
- align-self: center;
580
- flex-direction: row;
581
-
582
- .left-button,
583
- .right-button {
584
- padding: 10px;
585
- border-radius: 50%;
586
- border: none;
587
- display: flex;
588
- align-items: center;
589
- justify-content: center;
590
- cursor: pointer;
591
- outline: none;
592
- background: transparent;
593
673
 
594
- svg {
595
- width: 16px;
596
- height: 16px;
674
+ &[data-control-type="Side"] {
675
+ display: flex;
676
+ align-self: center;
677
+ flex-direction: row;
678
+
679
+ .left-button,
680
+ .right-button {
681
+ padding: 10px;
682
+ border-radius: 50%;
683
+ border: none;
684
+ display: flex;
685
+ align-items: center;
686
+ justify-content: center;
687
+ cursor: pointer;
688
+ outline: none;
689
+ background: transparent;
690
+
691
+ svg {
692
+ width: 16px;
693
+ height: 16px;
694
+ path {
695
+ stroke: var(
696
+ --_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr,
697
+ var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr, currentColor))
698
+ );
699
+ }
700
+ }
701
+ }
597
702
 
598
- path {
599
- stroke: var(--_ctm-mob-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr,
600
- var(--_ctm-tab-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr, var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-as-aw-cr, currentColor)));
703
+ .left-button:disabled,
704
+ .right-button:disabled {
705
+ display: none;
601
706
  }
602
707
  }
603
- }
604
708
 
605
- .left-button:disabled,
606
- .right-button:disabled {
607
- display: none;
608
- }
609
- }
610
-
611
- .embla__dots {
612
- display: flex;
613
- flex-wrap: wrap;
614
- justify-content: center;
615
- align-items: center;
616
- gap: 6px;
617
- margin-top: 16px;
618
-
619
- &[data-control-type="Bottom-Overflow"] {
620
- position: absolute;
621
- bottom: 10px;
622
- left: 50%;
623
- transform: translateX(-50%);
624
- width: 75%;
625
- }
626
-
627
- .embla__dot {
628
- appearance: none;
629
- background-color: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-or-dt-cr);
630
- touch-action: manipulation;
631
- display: inline-flex;
632
- text-decoration: none;
633
- cursor: pointer;
634
- border: 0;
635
- padding: 0;
636
- margin: 0;
637
- width: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-dt-se);
638
- height: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-dt-se);
639
- align-items: center;
640
- justify-content: center;
641
- border-radius: 50%;
642
- }
643
-
644
- .embla__dot:after {
645
- width: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-dt-se);
646
- height: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-dt-se);
647
- border-radius: 50%;
648
- display: flex;
649
- align-items: center;
650
- content: "";
651
- }
652
-
653
- .embla__dot--selected:after {
654
- box-shadow: inset 0 0 0 1px var(--text-body);
655
- background-color: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-ct-dt-cr);
709
+ .embla__dots {
710
+ display: flex;
711
+ flex-wrap: wrap;
712
+ justify-content: center;
713
+ align-items: center;
714
+ gap: 6px;
715
+ margin-top: 16px;
716
+
717
+ &[data-control-type="Bottom-Overflow"] {
718
+ position: absolute;
719
+ bottom: 10px;
720
+ left: 50%;
721
+ transform: translateX(-50%);
722
+ width: 75%;
723
+ }
724
+ .embla__dot {
725
+ appearance: none;
726
+ background-color: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-or-dt-cr);
727
+ touch-action: manipulation;
728
+ display: inline-flex;
729
+ text-decoration: none;
730
+ cursor: pointer;
731
+ border: 0;
732
+ padding: 0;
733
+ margin: 0;
734
+ width: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-dt-se);
735
+ height: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-dt-se);
736
+ align-items: center;
737
+ justify-content: center;
738
+ border-radius: 50%;
739
+ }
740
+ .embla__dot:after {
741
+ width: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-dt-se);
742
+ height: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-dt-se);
743
+ border-radius: 50%;
744
+ display: flex;
745
+ align-items: center;
746
+ content: "";
747
+ }
748
+ .embla__dot--selected:after {
749
+ box-shadow: inset 0 0 0 1px var(--text-body);
750
+ background-color: var(--_ctm-catego-dn-pt-gd-dn-pt-os-pt-os-dn-pn-ds-ct-dt-cr);
751
+ }
752
+ }
656
753
  }
657
- }
658
- }
659
- }
754
+ }