wickes-css2 2.113.0-develop.2 → 2.113.0-develop.21

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 (301) hide show
  1. package/Readme.md +1 -1
  2. package/build/css/category-main.css +1 -1
  3. package/build/css/components/checkout-payment-details-v2.css +1 -1
  4. package/build/css/components/checkout-payment-repayment-terms.css +1 -1
  5. package/build/css/components/global-search.css +1 -1
  6. package/build/css/components/price-block-v2-critical.css +1 -1
  7. package/build/css/components/price-block-v2.css +1 -1
  8. package/build/css/components/store-locator-facilities.css +1 -1
  9. package/build/css/components/store-locator-lookup.css +1 -1
  10. package/build/css/components/tile-calculator.css +1 -1
  11. package/build/css/homepage-main.css +1 -1
  12. package/build/css/kitchen-plp-main.css +1 -1
  13. package/build/css/main.css +1 -1
  14. package/build/css/my-account-main-v2.css +1 -1
  15. package/build/css/my-account-main.css +1 -1
  16. package/build/css/pages/checkout-new.css +1 -1
  17. package/build/css/pages/checkout.css +1 -1
  18. package/build/css/pages/my-account-v2.css +1 -1
  19. package/build/css/pages/my-account.css +1 -1
  20. package/build/css/pages/page_address-book.css +1 -1
  21. package/build/css/pages/page_checkout_delivery-new.css +1 -1
  22. package/build/css/pages/page_default-store.css +1 -1
  23. package/build/css/pages/page_discount.css +1 -1
  24. package/build/css/pages/page_fi.css +1 -1
  25. package/build/css/pages/page_in-store-checkout.css +1 -1
  26. package/build/css/pages/page_merged-basket.css +1 -1
  27. package/build/css/pages/page_my-order.css +1 -1
  28. package/build/css/pages/page_my-orders.css +1 -1
  29. package/build/css/pages/page_product-details-critical.css +1 -1
  30. package/build/css/pages/page_product-details-v2-critical.css +1 -1
  31. package/build/css/pages/page_product-details-v2.css +1 -1
  32. package/build/css/pages/page_product-details.css +1 -1
  33. package/build/css/pages/page_products-list-combined.css +1 -1
  34. package/build/css/pages/page_products-list_v2.css +1 -1
  35. package/build/css/pages/page_shopping-cart-v2.css +1 -1
  36. package/build/css/pages/page_store-locator-details.css +1 -1
  37. package/build/css/pages/page_store-locator.css +1 -1
  38. package/build/css/pages/page_ti.css +1 -1
  39. package/build/css/pages/tradePro-discount.css +1 -1
  40. package/build/css/pages/tradePro-rewards-old.css +1 -1
  41. package/build/css/pages/tradePro-rewards.css +1 -1
  42. package/build/css/pdp-main-before-combine.css +1 -1
  43. package/build/css/pdp-main-critical.css +1 -1
  44. package/build/css/pdp-main-non-critical.css +1 -1
  45. package/build/css/pdp-main.css +1 -1
  46. package/build/css/plp-main.css +1 -1
  47. package/build/css/shopping-list-pdf.css +1 -1
  48. package/build/css/store-locator-main.css +1 -1
  49. package/build/img/emulation/low-trees.png +0 -0
  50. package/build/img/emulation/overhead-power-cables.png +0 -0
  51. package/build/img/emulation/parked-vehicles.png +0 -0
  52. package/build/img/emulation/traffic-access-issues.png +0 -0
  53. package/build/img/emulation/walls-or-fences.png +0 -0
  54. package/build/js/account-members.min.js +1 -1
  55. package/build/js/add-project-list-id.min.js +1 -1
  56. package/build/js/address-book.min.js +1 -1
  57. package/build/js/basket.min.js +2 -2
  58. package/build/js/bloomreach-widget.min.js +1 -1
  59. package/build/js/bundle.min.js +1 -1
  60. package/build/js/change-password.min.js +1 -1
  61. package/build/js/checkout.min.js +2 -2
  62. package/build/js/emulation.min.js +477 -3271
  63. package/build/js/general.bundle.min.js +1 -1
  64. package/build/js/gift-cards.min.js +1 -1
  65. package/build/js/kitchen/kitchen-plp.min.js +1 -1
  66. package/build/js/merged-checkout.min.js +2 -2
  67. package/build/js/package-bulk-add.min.js +1 -0
  68. package/build/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +319 -0
  69. package/build/js/page/bloomreach-widget/bloomreach-widget-core.js +390 -0
  70. package/build/js/page/bloomreach-widget/bloomreach-widget-tracking.js +16 -13
  71. package/build/js/page/bloomreach-widget/bloomreach-widget.js +13 -237
  72. package/build/js/page/bloomreach-widget/complete-your-project/cards.js +308 -0
  73. package/build/js/page/bloomreach-widget/complete-your-project/config.js +60 -0
  74. package/build/js/page/bloomreach-widget/complete-your-project/model.js +140 -0
  75. package/build/js/page/bloomreach-widget/complete-your-project/presenter.js +69 -0
  76. package/build/js/page/bloomreach-widget/complete-your-project/quantity.js +80 -0
  77. package/build/js/page/bloomreach-widget/complete-your-project/view.js +184 -0
  78. package/build/js/page/bloomreach-widget/complete-your-project/widget.js +184 -0
  79. package/build/js/page/bloomreach-widget/dont-forget-widget.js +15 -0
  80. package/build/js/page/bloomreach-widget/similar-products-widget.js +17 -0
  81. package/build/js/page/bloomreach-widget/why-not-add-widget.js +10 -228
  82. package/build/js/page/plp-load-more.js +81 -66
  83. package/build/js/page/ripple/bulk-add.js +71 -0
  84. package/build/js/page/ripple/package-bulk-add.js +43 -0
  85. package/build/js/page/ripple/postcode-checker.js +83 -0
  86. package/build/js/page/ripple/thumb-gallery.js +236 -0
  87. package/build/js/page/utils/validation.js +1 -1
  88. package/build/js/pdp.bundle.min.js +2 -2
  89. package/build/js/personal-details.min.js +1 -1
  90. package/build/js/plp.bundle.min.js +1 -1
  91. package/build/js/postcode-checker.min.js +1 -0
  92. package/build/js/project-list.min.js +2 -2
  93. package/build/js/quiz.min.js +1 -1
  94. package/build/js/track-my-order.min.js +1 -1
  95. package/package.json +4 -2
  96. package/src/badges-ripple.html +120 -0
  97. package/src/badges.html +9 -18
  98. package/src/components/base/button.hbs +7 -0
  99. package/src/components/bloomreach/complete-card.hbs +1 -1
  100. package/src/components/bloomreach/complete-your-project-skeleton.hbs +21 -0
  101. package/src/components/bloomreach/complete-your-project.hbs +6 -21
  102. package/src/components/bloomreach/why-not-add-card-skeleton.hbs +2 -2
  103. package/src/components/bloomreach/why-not-add-card.hbs +98 -60
  104. package/src/components/bloomreach/why-not-add-content.hbs +3 -3
  105. package/src/components/bloomreach/why-not-add.hbs +2 -2
  106. package/src/components/date-selection.hbs +19 -10
  107. package/src/components/fulfilment-accordions.hbs +1 -1
  108. package/src/components/heavy-banners-wrapper.hbs +21 -0
  109. package/src/components/image-accordion.hbs +18 -0
  110. package/src/components/kitchen/price.hbs +49 -29
  111. package/src/components/kitchen/strip-stickers.hbs +9 -3
  112. package/src/components/package-card.hbs +30 -0
  113. package/src/components/pdp-price-actions.hbs +17 -0
  114. package/src/components/postcode-checker.hbs +24 -0
  115. package/src/components/price-badges.hbs +12 -10
  116. package/src/components/price-block-v2.hbs +289 -199
  117. package/src/components/product-main-info-v2.hbs +2 -0
  118. package/src/components/suite-includes.hbs +66 -0
  119. package/src/components/suite-product-card.hbs +47 -0
  120. package/src/components/thumb-gallery.hbs +23 -0
  121. package/src/data/data_badges.json +143 -0
  122. package/src/data/data_bathroom-plp.json +814 -0
  123. package/src/data/data_heavy-banner.json +29 -0
  124. package/src/data/data_suite-includes-products.json +134 -0
  125. package/src/data/my-account/data_my-account.json +1 -1
  126. package/src/data/my-account/data_my-order.json +1 -1
  127. package/src/data/my-account/data_my-orders.json +1 -1
  128. package/src/img/emulation/low-trees.png +0 -0
  129. package/src/img/emulation/overhead-power-cables.png +0 -0
  130. package/src/img/emulation/parked-vehicles.png +0 -0
  131. package/src/img/emulation/traffic-access-issues.png +0 -0
  132. package/src/img/emulation/walls-or-fences.png +0 -0
  133. package/src/js/components/banner-placement-manager.js +25 -9
  134. package/src/js/components/general/cart-slider.js +41 -4
  135. package/src/js/components/general/image-accordion.js +54 -0
  136. package/src/js/components/general/switchVat.js +8 -1
  137. package/src/js/components/package-card.js +69 -0
  138. package/src/js/components/store-locator-cards.js +76 -0
  139. package/src/js/emulation/banner-placement-manager.js +219 -188
  140. package/src/js/emulation/bloomreach-widget-calculations.js +1 -1
  141. package/src/js/emulation/complete-your-project-loading.js +16 -0
  142. package/src/js/emulation/custom-slider-emulation.js +21 -8
  143. package/src/js/emulation/date-selection.js +2 -2
  144. package/src/js/emulation/dont-forget-loading.js +36 -0
  145. package/src/js/emulation/just-added-scenarios-emulation.js +131 -0
  146. package/src/js/emulation/mini-basket.js +34 -34
  147. package/src/js/emulation/mock.js +495 -38
  148. package/src/js/emulation/plp-load-more.js +13 -4
  149. package/src/js/emulation/postcode-checker.js +11 -0
  150. package/src/js/emulation/similar-products-loading.js +22 -0
  151. package/src/js/emulation/why-not-add-loading.js +14 -3
  152. package/src/js/emulation/why-not-add.js +12 -14
  153. package/src/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +319 -0
  154. package/src/js/page/bloomreach-widget/bloomreach-widget-core.js +390 -0
  155. package/src/js/page/bloomreach-widget/bloomreach-widget-tracking.js +16 -13
  156. package/src/js/page/bloomreach-widget/bloomreach-widget.js +13 -237
  157. package/src/js/page/bloomreach-widget/complete-your-project/cards.js +308 -0
  158. package/src/js/page/bloomreach-widget/complete-your-project/config.js +60 -0
  159. package/src/js/page/bloomreach-widget/complete-your-project/model.js +140 -0
  160. package/src/js/page/bloomreach-widget/complete-your-project/presenter.js +69 -0
  161. package/src/js/page/bloomreach-widget/complete-your-project/quantity.js +80 -0
  162. package/src/js/page/bloomreach-widget/complete-your-project/view.js +184 -0
  163. package/src/js/page/bloomreach-widget/complete-your-project/widget.js +184 -0
  164. package/src/js/page/bloomreach-widget/dont-forget-widget.js +15 -0
  165. package/src/js/page/bloomreach-widget/similar-products-widget.js +17 -0
  166. package/src/js/page/bloomreach-widget/why-not-add-widget.js +10 -228
  167. package/src/js/page/plp-load-more.js +81 -66
  168. package/src/js/page/ripple/bulk-add.js +71 -0
  169. package/src/js/page/ripple/package-bulk-add.js +43 -0
  170. package/src/js/page/ripple/postcode-checker.js +83 -0
  171. package/src/js/page/ripple/thumb-gallery.js +236 -0
  172. package/src/js/page/utils/validation.js +1 -1
  173. package/src/page_bathroom-plp-vat.html +81 -0
  174. package/src/page_bathroom-plp-without-load-more.html +83 -0
  175. package/src/page_bathroom-plp.html +98 -0
  176. package/src/page_checkout_big-bulky-delivery-details.html +272 -0
  177. package/src/page_checkout_delivery-details-v2-calendar-not-loaded.html +167 -0
  178. package/src/page_checkout_payment-details-v2-asm.html +2 -3
  179. package/src/page_checkout_payment-details-v2.html +2 -3
  180. package/src/page_checkout_payment-details_with-card-loader.html +2 -3
  181. package/src/page_checkout_payment-details_with-klarna-loader.html +2 -3
  182. package/src/page_checkout_payment-details_with-loader-v2.html +2 -3
  183. package/src/page_checkout_premium-delivery-details.html +2 -2
  184. package/src/page_klarna_payment-details_with-klarna.html +2 -3
  185. package/src/page_payment-details-billie-registered-only.html +2 -3
  186. package/src/page_payment-details-billie-unregistered-only.html +2 -3
  187. package/src/page_payment-details-with-billie.html +2 -3
  188. package/src/page_payment-details-with-clearpay.html +2 -3
  189. package/src/page_payment-details-with-gift-card.html +2 -3
  190. package/src/page_payment-details_with_apple-pay.html +0 -1
  191. package/src/page_payment-details_with_google-pay.html +2 -3
  192. package/src/page_product-details-banner.html +1 -3
  193. package/src/page_product-details-big-wins-disabled-delivery.html +1 -3
  194. package/src/page_product-details-big-wins-non-registered.html +1 -3
  195. package/src/page_product-details-big-wins-out-nearest.html +1 -3
  196. package/src/page_product-details-big-wins-unhappy.html +1 -3
  197. package/src/page_product-details-big-wins.html +1 -3
  198. package/src/page_product-details-billie.html +1 -3
  199. package/src/page_product-details-calculator.html +1 -3
  200. package/src/page_product-details-cashback-v2.html +1 -3
  201. package/src/page_product-details-clearpay.html +1 -3
  202. package/src/page_product-details-cnc-error-notification.html +1 -3
  203. package/src/page_product-details-cnc-success-notification-vat.html +1 -4
  204. package/src/page_product-details-cnc-success-notification.html +1 -3
  205. package/src/page_product-details-default-store.html +1 -3
  206. package/src/page_product-details-energy-efficiency.html +1 -3
  207. package/src/page_product-details-flooring-with-pr-placeholder.html +1 -3
  208. package/src/page_product-details-flooring.html +1 -3
  209. package/src/page_product-details-gallery-actual.html +1 -3
  210. package/src/page_product-details-mfe-calculator.html +1 -3
  211. package/src/page_product-details-mtm-doors.html +1 -3
  212. package/src/page_product-details-only-clearpay.html +1 -3
  213. package/src/page_product-details-paint-mixing.html +1 -3
  214. package/src/page_product-details-ripple-gallery-1-image.html +120 -0
  215. package/src/page_product-details-ripple-gallery-missing-image.html +121 -0
  216. package/src/page_product-details-ripple-gallery.html +121 -0
  217. package/src/page_product-details-saved-pl.html +1 -3
  218. package/src/page_product-details-suite-includes-banners.html +139 -0
  219. package/src/page_product-details-suite-includes-billie.html +128 -0
  220. package/src/page_product-details-suite-includes-klarna.html +120 -0
  221. package/src/page_product-details-suite-includes-vat.html +126 -0
  222. package/src/page_product-details-suite-includes.html +122 -0
  223. package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -3
  224. package/src/page_product-details-tile-steps-logout.html +1 -3
  225. package/src/page_product-details-tile-steps-no-new-project-list.html +1 -3
  226. package/src/page_product-details-tile-steps-with-klarna.html +1 -3
  227. package/src/page_product-details-tile-steps.html +1 -3
  228. package/src/page_product-details-v2.html +1 -3
  229. package/src/page_product-details-vat.html +1 -3
  230. package/src/page_product-details-wisdom-mcfc-registered.html +1 -3
  231. package/src/page_product-details-wisdom-mcfc.html +1 -3
  232. package/src/page_product-details-wisdom-oos-registered.html +1 -3
  233. package/src/page_product-details-wisdom-oos.html +1 -3
  234. package/src/page_product-details-wisdom-registered.html +1 -3
  235. package/src/page_product-details-wisdom.html +1 -3
  236. package/src/page_product-details-with-favourite.html +1 -3
  237. package/src/page_product-details-with-global-search-v2.html +6 -9
  238. package/src/page_product-details-with-similar-products-widget.html +132 -0
  239. package/src/page_product-details-with-why-not-add-single.html +2 -1
  240. package/src/page_product-details_no-previous-default.html +1 -3
  241. package/src/scss/common/_loading-button.scss +3 -1
  242. package/src/scss/components/_cards-slider.scss +3 -1
  243. package/src/scss/components/_checkout_order.scss +2 -1
  244. package/src/scss/components/_date-selection-add-new-styles.scss +53 -3
  245. package/src/scss/components/_gift-cards.scss +1 -1
  246. package/src/scss/components/_heavy-banners.scss +216 -0
  247. package/src/scss/components/_image-accordion.scss +54 -0
  248. package/src/scss/components/_kitchen-card.scss +1 -0
  249. package/src/scss/components/_map.scss +38 -0
  250. package/src/scss/components/_package-card.scss +65 -0
  251. package/src/scss/components/_package-plp.scss +88 -0
  252. package/src/scss/components/_postcode-checker.scss +115 -0
  253. package/src/scss/components/_price-badges-critical.scss +10 -0
  254. package/src/scss/components/_price-badges.scss +10 -0
  255. package/src/scss/components/_price-block-critical.scss +1 -0
  256. package/src/scss/components/_price-block.scss +1 -0
  257. package/src/scss/components/_sticky-element-appearance.scss +6 -2
  258. package/src/scss/components/_suite-includes.scss +141 -0
  259. package/src/scss/components/_suite-product-card.scss +98 -0
  260. package/src/scss/components/_thumb-gallery-critical.scss +35 -0
  261. package/src/scss/components/_thumb-gallery.scss +200 -0
  262. package/src/scss/components/bloomreach/_bloomreach.scss +1 -0
  263. package/src/scss/components/bloomreach/_card-shared.scss +24 -0
  264. package/src/scss/components/bloomreach/_complete-card.scss +1 -9
  265. package/src/scss/components/bloomreach/_reviews.scss +0 -2
  266. package/src/scss/components/bloomreach/_why-not-add-card.scss +137 -10
  267. package/src/scss/components/bloomreach/_why-not-add.scss +34 -3
  268. package/src/scss/components/checkout-payment-details-v2.scss +44 -20
  269. package/src/scss/components/checkout-payment-repayment-terms.scss +0 -1
  270. package/src/scss/components/energy-efficiency.scss +2 -2
  271. package/src/scss/components/global-search.scss +6 -2
  272. package/src/scss/components/kitchen/_price.scss +10 -0
  273. package/src/scss/components/kitchen/_strip-stickers.scss +46 -0
  274. package/src/scss/components/my-account/_active-orders.scss +9 -9
  275. package/src/scss/components/price-block-v2-critical.scss +62 -0
  276. package/src/scss/components/price-block-v2.scss +62 -0
  277. package/src/scss/helpers/helpers-pdp-critical/_helpers-critical-pdp.scss +13 -8
  278. package/src/scss/libs/_bootstrap-extracted.scss +5 -0
  279. package/src/scss/main.scss +1 -0
  280. package/src/scss/pages/_checkout_delivery-details.scss +16 -104
  281. package/src/scss/pages/iframe-paypage.scss +9 -11
  282. package/src/scss/pages/page_checkout_delivery-new.scss +256 -164
  283. package/src/scss/pages/page_cms_homepage.scss +10 -4
  284. package/src/scss/pages/page_installation.scss +2 -2
  285. package/src/scss/pages/page_online-exclusive.scss +7 -3
  286. package/src/scss/pages/page_product-details-v2-critical.scss +216 -109
  287. package/src/scss/pages/page_product-details-v2.scss +168 -107
  288. package/src/scss/pages/page_product-details.scss +11 -0
  289. package/src/scss/pages/page_products-list-combined.scss +8 -6
  290. package/src/scss/pages/page_products-list_v2.scss +8 -6
  291. package/src/scss/pages/page_top-rated.scss +38 -23
  292. package/src/scss/pdp-main-critical.scss +1 -0
  293. package/src/scss/pdp-main.scss +6 -0
  294. package/src/scss/plp-main.scss +5 -0
  295. package/src/sitemap.html +31 -6
  296. package/build/css/components/kitchen/strip-stickers.css +0 -1
  297. package/build/css/components/strip-stickers.css +0 -1
  298. package/build/js/page/bloomreach-widget/complete-your-project-widget.js +0 -1100
  299. package/src/js/page/bloomreach-widget/complete-your-project-widget.js +0 -1100
  300. package/src/scss/components/kitchen/strip-stickers.scss +0 -18
  301. package/src/scss/components/strip-stickers.scss +0 -18
@@ -0,0 +1,200 @@
1
+ .thumb-gallery {
2
+ position: relative;
3
+ user-select: none;
4
+
5
+ &__next-btn,
6
+ &__prev-btn {
7
+ width: 24px;
8
+ height: 24px;
9
+ border-radius: 50%;
10
+ position: absolute;
11
+ top: 50%;
12
+ transform: translateY(-50%);
13
+ z-index: 1;
14
+ background: rgba($black, 0.3);
15
+ display: flex;
16
+ justify-content: center;
17
+ align-items: center;
18
+ color: $white;
19
+ font-size: 18px;
20
+ cursor: pointer;
21
+ }
22
+
23
+ &__next-btn {
24
+ right: 16px;
25
+ }
26
+
27
+ &__prev-btn {
28
+ left: 16px;
29
+ }
30
+
31
+ .swiper-container-main {
32
+ aspect-ratio: 16 / 9;
33
+ }
34
+
35
+ .swiper-slide-main,
36
+ .swiper-slide-thumbs {
37
+ aspect-ratio: 16 / 9;
38
+ object-fit: cover;
39
+ width: 100%;
40
+ height: 100%;
41
+ }
42
+
43
+ &--missing-image {
44
+ .swiper-slide-main,
45
+ .swiper-slide-thumbs {
46
+ object-fit: contain;
47
+ }
48
+ }
49
+
50
+ .swiper-container-thumbs {
51
+ margin-top: 16px;
52
+ padding: 0 16px;
53
+
54
+ &__next-btn,
55
+ &__prev-btn {
56
+ position: absolute;
57
+ top: 0;
58
+ width: 24px;
59
+ height: 100%;
60
+ z-index: 1;
61
+ display: flex;
62
+ justify-content: center;
63
+ align-items: center;
64
+ color: $blue;
65
+ font-size: 12px;
66
+ cursor: pointer;
67
+
68
+ svg {
69
+ position: relative;
70
+ z-index: 1;
71
+ width: 24px;
72
+ height: 24px;
73
+ }
74
+ }
75
+
76
+ &__next-btn {
77
+ right: 16px;
78
+
79
+ &::before {
80
+ content: '';
81
+ position: absolute;
82
+ top: 0;
83
+ right: -16px;
84
+ bottom: 0;
85
+ width: 71px;
86
+ background: linear-gradient(270deg, $white 37%, transparent 100%);
87
+ pointer-events: none;
88
+ }
89
+ }
90
+
91
+ &__prev-btn {
92
+ left: 16px;
93
+
94
+ &::before {
95
+ content: '';
96
+ position: absolute;
97
+ top: 0;
98
+ left: -16px;
99
+ bottom: 0;
100
+ width: 71px;
101
+ background: linear-gradient(90deg, $white 37%, transparent 100%);
102
+ pointer-events: none;
103
+ }
104
+ }
105
+
106
+ .swiper-true-active {
107
+ position: relative;
108
+ pointer-events: none;
109
+
110
+ &::after {
111
+ content: '';
112
+ position: absolute;
113
+ top: 0;
114
+ left: 0;
115
+ right: 0;
116
+ bottom: 0;
117
+ background: rgba($white, 0.6);
118
+ border: 2px solid $blue;
119
+ }
120
+ }
121
+
122
+ .thumb-gallery__slide-wrapper {
123
+ max-width: 105px;
124
+ }
125
+ }
126
+
127
+ .swiper-slide-thumbs {
128
+ cursor: pointer;
129
+ }
130
+ }
131
+
132
+ .thumb-gallery[data-length='1'] {
133
+ .thumb-gallery__next-btn,
134
+ .thumb-gallery__prev-btn,
135
+ .swiper-container-thumbs__next-btn,
136
+ .swiper-container-thumbs__prev-btn,
137
+ .swiper-pagination {
138
+ display: none;
139
+ }
140
+ }
141
+
142
+ @include media-breakpoint-up(sm) {
143
+ .thumb-gallery {
144
+ .swiper-container-thumbs {
145
+ padding: 0;
146
+
147
+ &__next-btn {
148
+ right: 0;
149
+
150
+ &::before {
151
+ right: 0;
152
+ background: linear-gradient(270deg, $white 25%, transparent 100%);
153
+ }
154
+ }
155
+
156
+ &__prev-btn {
157
+ left: 0;
158
+
159
+ &::before {
160
+ left: 0;
161
+ background: linear-gradient(90deg, $white 25%, transparent 100%);
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+
168
+ @include media-breakpoint-up(lg) {
169
+ .thumb-gallery {
170
+ &__next-btn,
171
+ &__prev-btn {
172
+ width: 40px;
173
+ height: 40px;
174
+ }
175
+
176
+ .swiper-container-thumbs {
177
+ &__next-btn,
178
+ &__prev-btn {
179
+ width: 48px;
180
+
181
+ svg {
182
+ width: 38px;
183
+ height: 38px;
184
+ }
185
+ }
186
+
187
+ &__next-btn {
188
+ &::before {
189
+ background: linear-gradient(270deg, $white 25%, rgba(255, 255, 255, 0) 100%);
190
+ }
191
+ }
192
+
193
+ &__prev-btn {
194
+ &::before {
195
+ background: linear-gradient(90deg, $white 25%, rgba(255, 255, 255, 0) 100%);
196
+ }
197
+ }
198
+ }
199
+ }
200
+ }
@@ -1,3 +1,4 @@
1
+ @import 'card-shared';
1
2
  @import 'complete-your-project';
2
3
  @import 'complete-card';
3
4
  @import 'complete-card-dropdown';
@@ -0,0 +1,24 @@
1
+ @mixin bloomreach-card-badge {
2
+ @include font-size(12);
3
+ @include line-height(16);
4
+ position: absolute;
5
+ top: 0;
6
+ right: 0;
7
+ z-index: $label-z-index;
8
+ padding: 4px 10px;
9
+ border-top-right-radius: $border-radius-sm;
10
+ font-weight: 700;
11
+ text-align: center;
12
+ }
13
+
14
+ @include media-breakpoint-down(sm) {
15
+ .why-not-add-card-wrapper .why-not-add-card,
16
+ .complete-widget {
17
+ .btn {
18
+ &:hover {
19
+ background-color: $green;
20
+ color: $white;
21
+ }
22
+ }
23
+ }
24
+ }
@@ -167,17 +167,9 @@
167
167
  }
168
168
 
169
169
  &__badge {
170
- @include font-size(12);
171
- @include line-height(16);
172
- font-weight: 700;
170
+ @include bloomreach-card-badge;
173
171
  margin-bottom: 0;
174
- position: absolute;
175
- top: 0;
176
- right: 0;
177
- z-index: $label-z-index;
178
172
  color: $white;
179
- padding: 4px 10px;
180
- text-align: center;
181
173
  }
182
174
 
183
175
  &--skeleton {
@@ -37,11 +37,9 @@
37
37
  margin-left: 3.3px;
38
38
  }
39
39
  }
40
-
41
40
  }
42
41
 
43
42
  .why-not-add {
44
-
45
43
  .reviews {
46
44
  margin-bottom: 7px;
47
45
 
@@ -1,10 +1,14 @@
1
- .why-not-add-card {
2
- display: flex;
3
- gap: 8px;
1
+ .why-not-add-card-wrapper {
4
2
  padding: 12px;
5
3
  border: 1px solid $gray;
6
4
  border-radius: 4px;
7
5
  background-color: $white;
6
+ position: relative;
7
+ }
8
+
9
+ .why-not-add-card {
10
+ display: flex;
11
+ gap: 8px;
8
12
 
9
13
  &__image {
10
14
  display: block;
@@ -129,10 +133,6 @@
129
133
  }
130
134
  }
131
135
 
132
- &__cta-icon {
133
- font-size: 18px;
134
- }
135
-
136
136
  &__loader {
137
137
  .loader-path {
138
138
  stroke: $white;
@@ -201,23 +201,150 @@
201
201
  }
202
202
  }
203
203
  }
204
- }
205
204
 
206
- @include media-breakpoint-down(sm) {
207
- .why-not-add-card {
205
+ &__badge {
206
+ @include bloomreach-card-badge;
207
+ max-width: calc(100% - 52px);
208
+ white-space: normal;
209
+ }
210
+
211
+ &__error {
212
+ @include font-size(14);
213
+ @include line-height(22);
214
+
215
+ margin-top: 8px;
216
+ width: 100%;
217
+ background: rgba($red, 0.05);
218
+ padding: 8px 10px;
219
+ column-gap: 17px;
220
+ display: flex;
221
+ align-items: center;
222
+ font-weight: 500;
223
+
224
+ .icon {
225
+ height: 16px;
226
+ font-size: 16px;
227
+ color: $red;
228
+ }
229
+ }
230
+
231
+ &--added {
208
232
  .btn {
233
+ opacity: 0.4;
234
+ pointer-events: none;
235
+ cursor: default;
236
+
209
237
  &:hover {
210
238
  background-color: $green;
211
239
  color: $white;
212
240
  }
213
241
  }
214
242
  }
243
+
244
+ &--failed {
245
+ .btn {
246
+ opacity: 0.4;
247
+ pointer-events: none;
248
+ cursor: default;
249
+ }
250
+ }
251
+
252
+ &__cta {
253
+ .button__icon--success {
254
+ margin-right: 0;
255
+ }
256
+
257
+ &--success,
258
+ &--error {
259
+ opacity: 1;
260
+ pointer-events: none;
261
+ }
262
+
263
+ &--success {
264
+ background-color: $green;
265
+ border-color: $green;
266
+ color: $white;
267
+ }
268
+
269
+ &--error {
270
+ background-color: $gray;
271
+ border-color: $gray;
272
+ color: $white;
273
+ }
274
+ }
275
+ }
276
+
277
+ .why-not-add--dont-forget {
278
+ margin-top: 4px;
279
+
280
+ .why-not-add-card {
281
+ .why-not-add-card__image {
282
+ width: 124px;
283
+ height: 124px;
284
+ }
285
+ }
286
+
287
+ .why-not-add-card {
288
+ &__badge + .why-not-add-card__image,
289
+ &__badge ~ .why-not-add-card__content {
290
+ margin-top: 16px;
291
+ }
292
+
293
+ &__bottom {
294
+ flex-grow: 1;
295
+ }
296
+ }
297
+ }
298
+
299
+ [data-dont-forget-widget] {
300
+ .why-not-add-card {
301
+ &--added {
302
+ .btn {
303
+ opacity: 0.6;
304
+
305
+ .button__icon--success {
306
+ margin-right: 0;
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+
313
+ @include media-breakpoint-up(sm) {
314
+ .why-not-add--dont-forget {
315
+ margin-top: 0;
316
+
317
+ .why-not-add-card {
318
+ &__badge + .why-not-add-card__image {
319
+ margin-top: 0;
320
+ }
321
+ }
322
+ }
323
+ }
324
+
325
+ @include media-breakpoint-up(md) {
326
+ .why-not-add--dont-forget {
327
+ margin-top: 12px;
328
+ }
215
329
  }
216
330
 
217
331
  @media screen and (max-width: 375px) {
332
+ .why-not-add--dont-forget {
333
+ .why-not-add-card {
334
+ .why-not-add-card__image {
335
+ width: 68px;
336
+ height: 68px;
337
+ }
338
+ }
339
+ }
340
+
218
341
  .why-not-add-card {
219
342
  &__vat-label {
220
343
  width: 100%;
221
344
  }
345
+
346
+ &__error {
347
+ @include font-size(12);
348
+ }
222
349
  }
223
350
  }
@@ -136,8 +136,39 @@
136
136
  }
137
137
  }
138
138
  }
139
+
140
+ &--dont-forget {
141
+ padding: 0;
142
+ margin-bottom: 0;
143
+
144
+ .why-not-add {
145
+ &__title {
146
+ @include font-size(16);
147
+ @include line-height(24);
148
+
149
+ font-weight: 500;
150
+ }
151
+ }
152
+ }
139
153
  }
140
154
 
141
- [data-why-not-add-widget] + .pdp-price__quantity-calculator {
142
- margin-top: 20px
143
- }
155
+ @include media-breakpoint-up(md) {
156
+ .why-not-add {
157
+ &--dont-forget {
158
+ .why-not-add {
159
+ &__title {
160
+ @include font-size(18);
161
+ @include line-height(22);
162
+
163
+ font-weight: 700;
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
169
+
170
+ [data-why-not-add-widget] + .pdp-price__quantity-calculator,
171
+ [data-similar-products-widget] + .pdp-price__klarna-payment,
172
+ [data-similar-products-widget] + .pdp-price__billie-payment {
173
+ margin-top: 20px;
174
+ }
@@ -2,10 +2,27 @@
2
2
  @import '../components/tooltip';
3
3
  @import '../components/gift-cards';
4
4
 
5
+
6
+ body main {
7
+ padding: 24px 0 40px;
8
+ };
9
+
5
10
  .checkout-payment-details-v2 {
6
11
  .checkout-payment-details {
7
12
  margin: 0;
8
13
 
14
+ &__payment-method {
15
+ .checkout-payment-details__row:first-child {
16
+ .checkout-payment-details__descr:first-child {
17
+ margin-bottom: 24px;
18
+
19
+ &::after {
20
+ display: none;
21
+ }
22
+ }
23
+ }
24
+ }
25
+
9
26
  .warning-required {
10
27
  margin: 16px 0;
11
28
  }
@@ -96,6 +113,10 @@
96
113
  padding-right: 0;
97
114
  }
98
115
 
116
+ &.giftcard-row {
117
+ margin-bottom: 0;
118
+ }
119
+
99
120
  &.first-name {
100
121
  flex: 0 0 100%;
101
122
  margin-top: 16px;
@@ -132,7 +153,17 @@
132
153
  }
133
154
 
134
155
  &__card-details {
135
- margin: 20px 0 0;
156
+ margin-bottom: 0;
157
+ }
158
+
159
+ .checkout-payment-details__card-details:not(form) {
160
+ &::before {
161
+ display: block;
162
+ margin: 24px 0;
163
+ content: '';
164
+ height: 1px;
165
+ background: $gray;
166
+ }
136
167
  }
137
168
 
138
169
  &__title {
@@ -140,6 +171,7 @@
140
171
  font-weight: 400;
141
172
  font-size: 1.25rem;
142
173
  line-height: 2rem;
174
+ margin-bottom: 16px;
143
175
  }
144
176
 
145
177
  &__descr {
@@ -166,6 +198,10 @@
166
198
  .form-row__col-terms {
167
199
  @include make-col(12);
168
200
  margin: 0;
201
+
202
+ p {
203
+ margin: 0;
204
+ }
169
205
  }
170
206
  }
171
207
 
@@ -181,8 +217,8 @@
181
217
  &__klarna {
182
218
  .klarna-info {
183
219
  background: $white;
184
- margin-bottom: 32px;
185
- padding: 20px;
220
+ margin-bottom: 24px;
221
+ padding: 0 20px;
186
222
 
187
223
  &__header {
188
224
  display: flex;
@@ -235,8 +271,8 @@
235
271
  &__billie {
236
272
  .billie-info {
237
273
  background: $white;
238
- margin-bottom: 20px;
239
- padding: 20px;
274
+ margin: 24px 0;
275
+ padding: 0 24px;
240
276
 
241
277
  &__header {
242
278
  display: flex;
@@ -378,7 +414,7 @@
378
414
  }
379
415
 
380
416
  &__clearpay {
381
- padding-bottom: 24px;
417
+ margin-bottom: 24px;
382
418
 
383
419
  .clearpay-widget {
384
420
  max-width: 360px;
@@ -393,21 +429,12 @@
393
429
  flex: 0 0 50%;
394
430
  max-width: 50%;
395
431
  }
396
-
397
- &::after {
398
- position: absolute;
399
- content: '';
400
- height: 2px;
401
- background: $gray-light;
402
- left: 15px;
403
- right: 15px;
404
- }
405
432
  }
406
433
  }
407
434
  }
408
435
 
409
436
  .js-billie-repayment-terms {
410
- margin-bottom: 20px;
437
+ margin-bottom: 24px;
411
438
 
412
439
  &--has-selection {
413
440
  margin-bottom: 0;
@@ -485,6 +512,7 @@
485
512
  .checkout-payment-details {
486
513
  &__title {
487
514
  font-size: 1.5rem;
515
+ margin-bottom: 24px;
488
516
  }
489
517
 
490
518
  &__descr {
@@ -522,10 +550,6 @@
522
550
  text-align: left;
523
551
  }
524
552
  }
525
-
526
- &__clearpay {
527
- padding-bottom: 32px;
528
- }
529
553
  }
530
554
  }
531
555
  }
@@ -1,7 +1,6 @@
1
1
  @import '../helpers/variables';
2
2
 
3
3
  .repayment-terms {
4
- background: $gray-bg;
5
4
  display: flex;
6
5
  flex-direction: column;
7
6
  gap: 16px;
@@ -80,7 +80,8 @@
80
80
 
81
81
  &:before {
82
82
  content: '';
83
- background: $white url('../../img/energy-efficiency/energy-marker.svg') no-repeat center / cover;
83
+ background: $white url('../../img/energy-efficiency/energy-marker.svg') no-repeat center /
84
+ cover;
84
85
  width: 9px;
85
86
  height: 100%;
86
87
  position: absolute;
@@ -310,7 +311,6 @@
310
311
  }
311
312
  }
312
313
 
313
-
314
314
  @media print {
315
315
  .energy-efficiency {
316
316
  display: none !important;
@@ -409,7 +409,10 @@
409
409
  left: 50%;
410
410
  transform: translate(-50%, 0);
411
411
  border-radius: 10px;
412
- box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
412
+ box-shadow:
413
+ 0 1px 5px rgba(0, 0, 0, 0.12),
414
+ 0 2px 2px rgba(0, 0, 0, 0.14),
415
+ 0 3px 1px -2px rgba(0, 0, 0, 0.2);
413
416
  padding: 15px;
414
417
 
415
418
  &--has-tradepro-banner {
@@ -572,7 +575,8 @@
572
575
  }
573
576
 
574
577
  .global-search__body-head {
575
- .nav-item:nth-of-type(2), #content-page-tab {
578
+ .nav-item:nth-of-type(2),
579
+ #content-page-tab {
576
580
  display: none;
577
581
  }
578
582
  }
@@ -10,6 +10,16 @@
10
10
  gap: 8px 4px;
11
11
  }
12
12
 
13
+ &__vat {
14
+ display: flex;
15
+ column-gap: 4px;
16
+ align-items: end;
17
+
18
+ & .price-vat {
19
+ line-height: 0.875rem;
20
+ }
21
+ }
22
+
13
23
  &__item {
14
24
  font-size: 2.125rem;
15
25
  font-weight: 700;