@sc-360-v2/storefront-cms-library 0.5.71 → 0.5.73

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