wickes-css2 2.107.0-ripple.2 → 2.107.0-ripple.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 (307) hide show
  1. package/build/css/category-main.css +1 -1
  2. package/build/css/components/card-product-banner.css +1 -1
  3. package/build/css/components/checkout-chip.css +1 -1
  4. package/build/css/components/checkout-payment-details-v2.css +1 -1
  5. package/build/css/components/price-block-v2-critical.css +1 -1
  6. package/build/css/components/price-block-v2.css +1 -1
  7. package/build/css/components/special-opening-schedule-v2.css +1 -1
  8. package/build/css/components/special-opening-schedule.css +1 -1
  9. package/build/css/emulation.css +1 -1
  10. package/build/css/homepage-main.css +1 -1
  11. package/build/css/kitchen-plp-main.css +1 -1
  12. package/build/css/main.css +1 -1
  13. package/build/css/my-account-main-v2.css +1 -1
  14. package/build/css/my-account-main.css +1 -1
  15. package/build/css/pages/checkout-new.css +1 -1
  16. package/build/css/pages/my-account-v2.css +1 -1
  17. package/build/css/pages/page_checkout_delivery-new.css +1 -1
  18. package/build/css/pages/page_merged-basket.css +1 -1
  19. package/build/css/pages/page_personal-details.css +1 -1
  20. package/build/css/pages/page_product-details-v2-critical.css +1 -1
  21. package/build/css/pages/page_product-details-v2.css +1 -1
  22. package/build/css/pages/page_product-details.css +1 -1
  23. package/build/css/pages/page_products-list-combined.css +1 -1
  24. package/build/css/pages/page_products-list.css +1 -1
  25. package/build/css/pages/page_shopping-cart-v2.css +1 -1
  26. package/build/css/pages/page_store-locator-details.css +1 -1
  27. package/build/css/pages/page_store-locator.css +1 -1
  28. package/build/css/pdp-main-before-combine.css +1 -1
  29. package/build/css/pdp-main-critical.css +1 -1
  30. package/build/css/pdp-main-non-critical.css +1 -1
  31. package/build/css/pdp-main.css +1 -1
  32. package/build/css/plp-main.css +1 -1
  33. package/build/css/store-locator-main.css +1 -1
  34. package/build/js/account-hub.min.js +1 -1
  35. package/build/js/basket.min.js +2 -2
  36. package/build/js/bloomreach-widget.min.js +1 -0
  37. package/build/js/bundle.min.js +1 -1
  38. package/build/js/checkout.min.js +2 -2
  39. package/build/js/components/general/accordion.js +69 -0
  40. package/build/js/components/general/back-to-top.js +45 -0
  41. package/build/js/components/general/backdrop.js +23 -0
  42. package/build/js/components/general/cart-slider.js +36 -0
  43. package/build/js/components/general/clamp-content.js +95 -0
  44. package/build/js/components/general/clamp.js +216 -0
  45. package/build/js/components/general/clear-input.js +33 -0
  46. package/build/js/components/general/cookie-chat-back.js +51 -0
  47. package/build/js/components/general/cookies-policy.js +9 -0
  48. package/build/js/components/general/create-popup-slider.js +194 -0
  49. package/build/js/components/general/device-type.js +6 -0
  50. package/build/js/components/general/footer.js +67 -0
  51. package/build/js/components/general/handleAccordion.js +35 -0
  52. package/build/js/components/general/image-accordion.js +54 -0
  53. package/build/js/components/general/is-trade-pro.js +38 -0
  54. package/build/js/components/general/main-nav.js +16 -0
  55. package/build/js/components/general/main-navigation.js +275 -0
  56. package/build/js/components/general/notification.js +70 -0
  57. package/build/js/components/general/offer-banner.js +74 -0
  58. package/build/js/components/general/scroll-disable.js +54 -0
  59. package/build/js/components/general/search.js +43 -0
  60. package/build/js/components/general/snack-bar.js +160 -0
  61. package/build/js/components/general/sticky_header.js +62 -0
  62. package/build/js/components/general/switchVat.js +161 -0
  63. package/build/js/components/general/text-clamp.js +102 -0
  64. package/build/js/components/general/tooltips.js +8 -0
  65. package/build/js/components/general/validation.js +48 -0
  66. package/build/js/emulation.min.js +3377 -164
  67. package/build/js/general.bundle.min.js +1 -1
  68. package/build/js/gift-cards.min.js +1 -1
  69. package/build/js/kitchen/kitchen-plp.min.js +1 -1
  70. package/build/js/merged-checkout.min.js +2 -2
  71. package/build/js/mini-basket-slider.min.js +1 -1
  72. package/build/js/package-bulk-add.min.js +1 -0
  73. package/build/js/page/basket/mini-basket-total.js +17 -2
  74. package/build/js/page/bloomreach-widget.js +1148 -0
  75. package/build/js/page/checkout-payment-details.js +12 -1
  76. package/build/js/page/checkout.js +1 -1
  77. package/build/js/page/components/notify-me.js +99 -0
  78. package/build/js/page/components/order-summary.js +35 -0
  79. package/build/js/page/plp-load-more.js +81 -66
  80. package/build/js/page/ripple/bulk-add.js +63 -0
  81. package/build/js/page/ripple/package-bulk-add.js +43 -0
  82. package/build/js/page/ripple/postcode-checker.js +83 -0
  83. package/build/js/page/ripple/thumb-gallery.js +168 -0
  84. package/build/js/page/utils/create-count-stepper.js +30 -9
  85. package/build/js/page/utils/create-loading-button.js +37 -0
  86. package/build/js/page/utils/create-toast.js +79 -0
  87. package/build/js/page/utils/custom-dropdown.js +80 -0
  88. package/build/js/pdp-count-stepper.min.js +1 -1
  89. package/build/js/pdp.bundle.min.js +2 -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 +1 -1
  93. package/build/js/saving-shopping-list.min.js +1 -1
  94. package/build/js/wickes-dc.js +1 -0
  95. package/package.json +1 -4
  96. package/src/badges-ripple.html +120 -0
  97. package/src/badges.html +9 -18
  98. package/src/components/base/button.hbs +23 -5
  99. package/src/components/bloomreach/complete-card-dropdown.hbs +47 -0
  100. package/src/components/bloomreach/complete-card-skeleton.hbs +19 -0
  101. package/src/components/bloomreach/complete-card.hbs +138 -0
  102. package/src/components/bloomreach/complete-divider.hbs +3 -0
  103. package/src/components/bloomreach/complete-summary-skeleton.hbs +12 -0
  104. package/src/components/bloomreach/complete-summary.hbs +43 -0
  105. package/src/components/bloomreach/complete-wrapper.hbs +1 -0
  106. package/src/components/bloomreach/complete-your-project.hbs +21 -0
  107. package/src/components/card-store-locator.hbs +70 -33
  108. package/src/components/card_bloomreach_media_banner.hbs +10 -0
  109. package/src/components/card_product_banner_v2.hbs +4 -1
  110. package/src/components/card_sponsor_banner.hbs +4 -1
  111. package/src/components/cart-voucher.hbs +10 -1
  112. package/src/components/checkout_order-summary-new.hbs +11 -2
  113. package/src/components/click-and-collect-modal.hbs +0 -14
  114. package/src/components/date-selection.hbs +1 -1
  115. package/src/components/delivery-types.hbs +11 -3
  116. package/src/components/fulfilment-accordions.hbs +1 -1
  117. package/src/components/gift-cards.hbs +1 -1
  118. package/src/components/injected-content.hbs +6 -1
  119. package/src/components/kitchen/price.hbs +49 -29
  120. package/src/components/kitchen/strip-stickers.hbs +9 -3
  121. package/src/components/modal.hbs +1 -1
  122. package/src/components/modals/notify-me-modal.hbs +76 -0
  123. package/src/components/order-item.hbs +18 -5
  124. package/src/components/order-summary.hbs +2 -2
  125. package/src/components/package-card.hbs +30 -0
  126. package/src/components/pdp-price-actions.hbs +17 -0
  127. package/src/components/postcode-checker.hbs +24 -0
  128. package/src/components/potential-promotion.hbs +12 -3
  129. package/src/components/price-badges.hbs +14 -0
  130. package/src/components/price-block-v2.hbs +91 -31
  131. package/src/components/product-main-info-v2.hbs +2 -0
  132. package/src/components/sponsor-top-banner.hbs +10 -0
  133. package/src/components/suite-includes.hbs +43 -12
  134. package/src/components/suite-product-card.hbs +37 -15
  135. package/src/components/thumb-gallery.hbs +23 -0
  136. package/src/data/data_badges.json +143 -0
  137. package/src/data/data_bathroom-plp.json +814 -0
  138. package/src/data/data_delivery-address-v2.json +1 -1
  139. package/src/data/data_locators.json +441 -135
  140. package/src/data/data_search-results_v2.json +20 -2
  141. package/src/data/data_shopping-cart-v2.json +23 -5
  142. package/src/data/data_spr_injected_content.json +4 -0
  143. package/src/data/data_suite-includes-products.json +73 -2
  144. package/src/elements/checkbox.hbs +8 -1
  145. package/src/js/components/banner-placement-manager.js +25 -9
  146. package/src/js/components/general/accordion.js +25 -2
  147. package/src/js/components/general/cart-slider.js +19 -6
  148. package/src/js/components/package-card.js +69 -0
  149. package/src/js/components/store-locator-cards.js +76 -0
  150. package/src/js/emulation/banner-placement-manager.js +285 -53
  151. package/src/js/emulation/bloomreach-widget-calculations.js +132 -0
  152. package/src/js/emulation/bloomreach-widget-loading.js +11 -0
  153. package/src/js/emulation/checkout-delivery-details.js +28 -25
  154. package/src/js/emulation/custom-slider-emulation.js +1 -1
  155. package/src/js/emulation/date-selection.js +136 -24
  156. package/src/js/emulation/forms.js +12 -0
  157. package/src/js/emulation/gift-cards.js +1 -1
  158. package/src/js/emulation/mini-basket-data.js +3 -3
  159. package/src/js/emulation/mock.js +3112 -4
  160. package/src/js/emulation/notify-me.js +9 -0
  161. package/src/js/emulation/plp-load-more.js +13 -4
  162. package/src/js/emulation/postcode-checker.js +11 -0
  163. package/src/js/emulation/store-locator-load-more.js +69 -0
  164. package/src/js/emulation/switchCalendar.js +12 -8
  165. package/src/js/page/basket/mini-basket-total.js +17 -2
  166. package/src/js/page/bloomreach-widget.js +1148 -0
  167. package/src/js/page/checkout-payment-details.js +12 -1
  168. package/src/js/page/checkout.js +1 -1
  169. package/src/js/page/components/notify-me.js +99 -0
  170. package/src/js/page/components/order-summary.js +35 -0
  171. package/src/js/page/plp-load-more.js +81 -66
  172. package/src/js/page/ripple/bulk-add.js +63 -0
  173. package/src/js/page/ripple/package-bulk-add.js +43 -0
  174. package/src/js/page/ripple/postcode-checker.js +83 -0
  175. package/src/js/page/ripple/thumb-gallery.js +168 -0
  176. package/src/js/page/utils/create-count-stepper.js +30 -9
  177. package/src/js/page/utils/create-loading-button.js +37 -0
  178. package/src/js/page/utils/create-toast.js +79 -0
  179. package/src/js/page/utils/custom-dropdown.js +80 -0
  180. package/src/page_bathroom-plp-vat.html +81 -0
  181. package/src/page_bathroom-plp-without-load-more.html +83 -0
  182. package/src/page_bathroom-plp.html +98 -0
  183. package/src/page_checkout_next-day-delivery-details.html +2 -2
  184. package/src/page_checkout_payment-details-v2-asm.html +1 -1
  185. package/src/page_checkout_payment-details-v2.html +1 -1
  186. package/src/page_checkout_payment-details_with-card-loader.html +1 -1
  187. package/src/page_checkout_payment-details_with-klarna-loader.html +1 -1
  188. package/src/page_checkout_payment-details_with-loader-v2.html +1 -1
  189. package/src/page_checkout_rapid-delivery-details.html +7 -5
  190. package/src/page_klarna_payment-details_with-klarna.html +1 -1
  191. package/src/page_my-account-installer-carousel.html +131 -0
  192. package/src/page_payment-details-with-billie.html +1 -1
  193. package/src/page_payment-details-with-clearpay.html +1 -1
  194. package/src/page_payment-details-with-gift-card.html +1 -1
  195. package/src/page_payment-details_with_apple-pay.html +1 -1
  196. package/src/page_payment-details_with_google-pay.html +1 -1
  197. package/src/page_plp_bloomreach.html +81 -0
  198. package/src/page_plp_v2.html +6 -0
  199. package/src/page_product-details-banner.html +1 -4
  200. package/src/page_product-details-big-wins-disabled-delivery.html +1 -4
  201. package/src/page_product-details-big-wins-non-registered.html +1 -4
  202. package/src/page_product-details-big-wins-out-nearest.html +1 -4
  203. package/src/page_product-details-big-wins-unhappy.html +1 -4
  204. package/src/page_product-details-big-wins.html +1 -4
  205. package/src/page_product-details-billie.html +1 -4
  206. package/src/page_product-details-bloomreach.html +130 -0
  207. package/src/page_product-details-calculator.html +1 -4
  208. package/src/page_product-details-cashback-v2.html +1 -4
  209. package/src/page_product-details-clearpay.html +1 -4
  210. package/src/page_product-details-cnc-error-notification.html +1 -4
  211. package/src/page_product-details-cnc-success-notification-vat.html +1 -5
  212. package/src/page_product-details-cnc-success-notification.html +1 -4
  213. package/src/page_product-details-default-store.html +1 -4
  214. package/src/page_product-details-energy-efficiency.html +1 -4
  215. package/src/page_product-details-flooring-with-pr-placeholder.html +1 -4
  216. package/src/page_product-details-flooring.html +1 -4
  217. package/src/page_product-details-gallery-actual.html +1 -4
  218. package/src/page_product-details-mfe-calculator.html +10 -7
  219. package/src/page_product-details-minimum-v2.html +0 -1
  220. package/src/page_product-details-mtm-doors.html +1 -4
  221. package/src/page_product-details-only-clearpay.html +1 -4
  222. package/src/page_product-details-paint-mixing.html +1 -4
  223. package/src/page_product-details-ripple-gallery.html +119 -0
  224. package/src/page_product-details-saved-pl.html +1 -4
  225. package/src/page_product-details-suite-includes-banners.html +139 -0
  226. package/src/page_product-details-suite-includes-vat.html +126 -0
  227. package/src/page_product-details-suite-includes.html +32 -20
  228. package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -4
  229. package/src/page_product-details-tile-steps-logout.html +1 -4
  230. package/src/page_product-details-tile-steps-no-new-project-list.html +1 -4
  231. package/src/page_product-details-tile-steps-with-klarna.html +1 -4
  232. package/src/page_product-details-tile-steps.html +1 -4
  233. package/src/page_product-details-v2.html +1 -4
  234. package/src/page_product-details-vat.html +1 -4
  235. package/src/page_product-details-wisdom-mcfc-registered.html +1 -4
  236. package/src/page_product-details-wisdom-mcfc.html +1 -4
  237. package/src/page_product-details-wisdom-oos-registered.html +1 -4
  238. package/src/page_product-details-wisdom-oos.html +1 -4
  239. package/src/page_product-details-wisdom-registered.html +1 -4
  240. package/src/page_product-details-wisdom.html +1 -4
  241. package/src/page_product-details-with-favourite.html +1 -4
  242. package/src/page_product-details-with-global-search-v2.html +8 -4
  243. package/src/page_product-details_no-previous-default.html +1 -4
  244. package/src/page_shopping-cart-v2-vat.html +2 -1
  245. package/src/page_store-locator-list.html +17 -28
  246. package/src/page_track-my-order-result.html +1 -0
  247. package/src/partials/scripts.hbs +1 -0
  248. package/src/scss/common/_CTAs.scss +7 -3
  249. package/src/scss/common/_common.scss +1 -0
  250. package/src/scss/common/_elements.scss +13 -1
  251. package/src/scss/common/_loading-button.scss +49 -0
  252. package/src/scss/components/_card-store-locator.scss +139 -32
  253. package/src/scss/components/_custom-slider.scss +18 -0
  254. package/src/scss/components/_date-selection-add-new-styles.scss +43 -1
  255. package/src/scss/components/_image-accordion.scss +5 -2
  256. package/src/scss/components/_kitchen-card.scss +5 -4
  257. package/src/scss/components/_notifications.scss +86 -5
  258. package/src/scss/components/_notify-me-modal.scss +139 -0
  259. package/src/scss/components/_order-summary.scss +25 -12
  260. package/src/scss/components/_package-card.scss +63 -0
  261. package/src/scss/components/_package-plp.scss +88 -0
  262. package/src/scss/components/_pdp-action-v2-critical.scss +12 -0
  263. package/src/scss/components/_pdp-action-v2.scss +12 -0
  264. package/src/scss/components/_postcode-checker.scss +115 -0
  265. package/src/scss/components/_price-badges-critical.scss +10 -1
  266. package/src/scss/components/_price-badges.scss +10 -2
  267. package/src/scss/components/_price-block-critical.scss +11 -3
  268. package/src/scss/components/_price-block.scss +15 -4
  269. package/src/scss/components/_suite-includes.scss +29 -26
  270. package/src/scss/components/_suite-product-card.scss +33 -23
  271. package/src/scss/components/_thumb-gallery-critical.scss +34 -0
  272. package/src/scss/components/_thumb-gallery.scss +192 -0
  273. package/src/scss/components/bloomreach/_bloomreach.scss +3 -0
  274. package/src/scss/components/bloomreach/_complete-card-dropdown.scss +174 -0
  275. package/src/scss/components/bloomreach/_complete-card.scss +402 -0
  276. package/src/scss/components/bloomreach/_complete-your-project.scss +207 -0
  277. package/src/scss/components/card-product-banner.scss +35 -27
  278. package/src/scss/components/checkout-chip.scss +1 -0
  279. package/src/scss/components/checkout-payment-details-v2.scss +12 -0
  280. package/src/scss/components/kitchen/_price.scss +10 -0
  281. package/src/scss/components/kitchen/_strip-stickers.scss +46 -0
  282. package/src/scss/components/my-account/_clipboard-code.scss +4 -0
  283. package/src/scss/components/price-block-v2-critical.scss +54 -1
  284. package/src/scss/components/price-block-v2.scss +54 -3
  285. package/src/scss/components/special-opening-schedule-v2.scss +2 -6
  286. package/src/scss/components/special-opening-schedule.scss +17 -4
  287. package/src/scss/emulation.scss +0 -6
  288. package/src/scss/helpers/_CTAs.scss +15 -5
  289. package/src/scss/helpers/_variables.scss +1 -0
  290. package/src/scss/pages/page_checkout_delivery-new.scss +36 -0
  291. package/src/scss/pages/page_product-details-v2-critical.scss +217 -111
  292. package/src/scss/pages/page_product-details-v2.scss +200 -109
  293. package/src/scss/pages/page_product-details.scss +0 -2
  294. package/src/scss/pages/page_products-list-combined.scss +8 -1
  295. package/src/scss/pages/page_products-list.scss +8 -1
  296. package/src/scss/pages/page_shopping-cart-v2.scss +34 -10
  297. package/src/scss/pages/page_store-locator.scss +48 -26
  298. package/src/scss/pdp-main-critical.scss +1 -1
  299. package/src/scss/pdp-main.scss +5 -1
  300. package/src/scss/plp-main.scss +5 -0
  301. package/src/scss/store-locator-main.scss +15 -1
  302. package/src/sitemap.html +15 -0
  303. package/build/css/components/kitchen/strip-stickers.css +0 -1
  304. package/build/css/components/strip-stickers.css +0 -1
  305. package/src/js/emulation/store-locator-list.js +0 -19
  306. package/src/scss/components/kitchen/strip-stickers.scss +0 -18
  307. package/src/scss/components/strip-stickers.scss +0 -18
@@ -4,6 +4,16 @@
4
4
  width: 140px;
5
5
  padding: 0;
6
6
 
7
+ &.pdp__badges--static .pdp__badge {
8
+ min-width: auto;
9
+ padding: 4px 12px;
10
+ overflow: hidden;
11
+ text-overflow: ellipsis;
12
+ white-space: nowrap;
13
+ font-size: 0.875rem;
14
+ line-height: 1.375rem;
15
+ }
16
+
7
17
  &-cashback {
8
18
  width: auto;
9
19
  padding: 0 10px;
@@ -35,7 +45,6 @@
35
45
 
36
46
  & .products-list-v2__badge {
37
47
  background: $yellow;
38
-
39
48
  }
40
49
  }
41
50
 
@@ -70,7 +79,6 @@
70
79
  &-text-white {
71
80
  color: $white;
72
81
  }
73
-
74
82
  }
75
83
  }
76
84
  }
@@ -21,13 +21,13 @@
21
21
 
22
22
  .pdp-price__oos {
23
23
  border-top: 1px solid $gray;
24
- margin-bottom: 8px;
24
+ margin-bottom: 12px;
25
25
  }
26
26
 
27
27
  .pdp-price__value_extended,
28
28
  .pdp-price__oos,
29
29
  .pdp-price__in-store-only {
30
- padding: 10px 0;
30
+ padding: 12px 0;
31
31
 
32
32
  p {
33
33
  margin-bottom: 0;
@@ -69,6 +69,7 @@
69
69
  .pdp-price-sale__value .pdp-price__old-price {
70
70
  color: $warm-grey;
71
71
  font-weight: 500;
72
+ line-height: 1rem;
72
73
 
73
74
  s {
74
75
  text-decoration-color: $line-through;
@@ -120,6 +121,14 @@
120
121
  text-align: center;
121
122
  }
122
123
 
124
+ .pdp-price__control-holder {
125
+ flex-flow: wrap;
126
+
127
+ p {
128
+ width: 100%;
129
+ }
130
+ }
131
+
123
132
  .pdp-price__control-holder,
124
133
  .pdp-price__control-installation {
125
134
  padding-top: 20px;
@@ -178,7 +187,6 @@
178
187
  border-bottom-color: $red;
179
188
  }
180
189
  }
181
-
182
190
  }
183
191
  }
184
192
 
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  .pdp-price__from {
18
- font-size: .6em;
18
+ font-size: 0.6em;
19
19
  margin-right: 4px;
20
20
  }
21
21
 
@@ -32,18 +32,29 @@
32
32
 
33
33
  .pdp-price__oos {
34
34
  border-top: 1px solid $gray;
35
- margin-bottom: 8px;
35
+ margin-bottom: 12px;
36
36
 
37
37
  & + .pdp-price__controls,
38
38
  &:last-child {
39
39
  margin-bottom: 0;
40
40
  }
41
+
42
+ .btn--notify-open {
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ gap: 12px;
47
+
48
+ .fa-bell {
49
+ @include font-size(18);
50
+ }
51
+ }
41
52
  }
42
53
 
43
54
  .pdp-price__value_extended,
44
55
  .pdp-price__oos,
45
56
  .pdp-price__in-store-only {
46
- padding: 10px 0;
57
+ padding: 12px 0;
47
58
 
48
59
  p {
49
60
  margin-bottom: 0;
@@ -103,6 +114,7 @@
103
114
  .pdp-price-sale__value .pdp-price__old-price {
104
115
  color: $warm-grey;
105
116
  font-weight: 500;
117
+ line-height: 1rem;
106
118
 
107
119
  s {
108
120
  text-decoration-color: $line-through;
@@ -250,7 +262,6 @@
250
262
  border-bottom-color: $red;
251
263
  }
252
264
  }
253
-
254
265
  }
255
266
  }
256
267
 
@@ -28,8 +28,8 @@
28
28
 
29
29
  &__old-price {
30
30
  font-weight: 500;
31
- font-size: 16px;
32
- line-height: 1.5;
31
+ font-size: 1rem;
32
+ line-height: 1.5rem;
33
33
  color: $warm-grey;
34
34
 
35
35
  & s {
@@ -38,18 +38,33 @@
38
38
  }
39
39
  }
40
40
 
41
- &__new-price {
41
+ &__price {
42
42
  font-weight: 700;
43
- font-size: 34px;
44
- line-height: 1.05;
45
- color: $red;
43
+ font-size: 2.125rem;
44
+ line-height: 2.25rem;
45
+ color: $blue-dark;
46
+
47
+ &--offer {
48
+ color: $red;
49
+ }
46
50
  }
47
51
 
48
- &__inc-vat {
49
- margin-left: 8px;
50
- font-weight: 500;
51
- font-size: 16px;
52
- color: $blue-dark;
52
+ &__vat {
53
+ display: flex;
54
+ column-gap: 8px;
55
+ align-items: end;
56
+
57
+ &-text {
58
+ font-weight: 500;
59
+ font-size: 1rem;
60
+ line-height: 1.5rem;
61
+ color: $blue-dark;
62
+ }
63
+ }
64
+
65
+ &__delivery {
66
+ font-size: 0.75rem;
67
+ line-height: 1rem;
53
68
  }
54
69
  }
55
70
 
@@ -60,22 +75,12 @@
60
75
  margin-left: 0;
61
76
  border: 1px solid $gray;
62
77
  border-radius: 4px;
63
-
64
- & img {
65
- width: 73px;
66
- height: 73px;
67
- }
68
78
  }
69
79
  }
70
80
 
71
81
  @include media-breakpoint-up(md) {
72
82
  .suite-includes {
73
83
  min-width: 345px;
74
-
75
- & img {
76
- width: 45px;
77
- height: 45px;
78
- }
79
84
  }
80
85
  }
81
86
 
@@ -84,9 +89,8 @@
84
89
  padding: 24px;
85
90
  min-width: 622px;
86
91
 
87
- & img {
88
- width: 60px;
89
- height: 60px;
92
+ &__header {
93
+ margin-bottom: 16px;
90
94
  }
91
95
 
92
96
  & .image-accordion {
@@ -123,8 +127,7 @@
123
127
  }
124
128
 
125
129
  &__button {
126
- max-width: fit-content;
127
- height: 40px;
130
+ min-width: 120px;
128
131
  }
129
132
  }
130
133
  }
@@ -12,8 +12,8 @@
12
12
  }
13
13
 
14
14
  & img {
15
- width: 51px;
16
- height: 51px;
15
+ width: 60px;
16
+ height: 60px;
17
17
  }
18
18
 
19
19
  &__info {
@@ -21,9 +21,10 @@
21
21
  }
22
22
 
23
23
  &__title {
24
+ margin-bottom: 8px;
24
25
  font-weight: 500;
25
- font-size: 12px;
26
- line-height: 1.3;
26
+ font-size: 0.75rem;
27
+ line-height: 1rem;
27
28
 
28
29
  text-decoration: none;
29
30
  overflow: hidden;
@@ -33,42 +34,51 @@
33
34
  -webkit-line-clamp: 2;
34
35
  }
35
36
 
36
- &__promotion {
37
- display: block;
38
- margin-top: 8px;
39
- margin-bottom: 8px;
40
-
41
- font-size: 12px;
37
+ &__old-price {
38
+ margin-bottom: 4px;
42
39
  font-weight: 500;
43
- line-height: 1.3;
44
- color: $red;
40
+ line-height: 0.875rem;
41
+ color: $warm-grey;
42
+
43
+ & s {
44
+ text-decoration: line-through;
45
+ text-decoration-color: $gray-dark;
46
+ }
45
47
  }
46
48
 
47
49
  &__price-qty {
48
50
  display: flex;
49
51
  justify-content: space-between;
50
- margin-top: 8px;
52
+ align-items: end;
51
53
  }
52
54
 
53
55
  &__price {
54
- font-size: 16px;
56
+ font-size: 1rem;
55
57
  font-weight: 700;
56
- line-height: 1.25;
58
+ line-height: 1.25rem;
57
59
  color: $blue-dark;
60
+
61
+ &--red {
62
+ color: $red;
63
+ }
58
64
  }
59
65
 
60
- &__inc-vat {
61
- margin-left: 4px;
66
+ &__vat {
67
+ display: flex;
68
+ column-gap: 4px;
69
+ align-items: baseline;
62
70
 
63
- font-weight: 500;
64
- font-size: 12px;
65
- line-height: 1.15;
66
- color: $blue-dark;
71
+ &-text {
72
+ font-weight: 500;
73
+ font-size: 0.75rem;
74
+ line-height: 0.875rem;
75
+ color: $blue-dark;
76
+ }
67
77
  }
68
78
 
69
79
  &__quantity {
70
- font-size: 12px;
71
- line-height: 1.3;
80
+ font-size: 0.75rem;
81
+ line-height: 1rem;
72
82
  color: $squant;
73
83
 
74
84
  & span {
@@ -0,0 +1,34 @@
1
+ .thumb-gallery {
2
+ position: relative;
3
+
4
+ .swiper-container-main {
5
+ aspect-ratio: 16 / 9;
6
+ }
7
+
8
+ .swiper-container-thumbs {
9
+ margin-top: 16px;
10
+ padding: 0 16px;
11
+ }
12
+
13
+ .swiper-slide-main,
14
+ .swiper-slide-thumbs {
15
+ aspect-ratio: 16 / 9;
16
+ object-fit: cover;
17
+ width: 100%;
18
+ height: 100%;
19
+ }
20
+ }
21
+
22
+ .thumb-gallery[data-length='1'] {
23
+ .swiper-container-thumbs {
24
+ display: none;
25
+ }
26
+ }
27
+
28
+ @include media-breakpoint-up(sm) {
29
+ .thumb-gallery {
30
+ .swiper-container-thumbs {
31
+ padding: 0;
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,192 @@
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
+ .swiper-container-thumbs {
44
+ margin-top: 16px;
45
+ padding: 0 16px;
46
+
47
+ &__next-btn,
48
+ &__prev-btn {
49
+ position: absolute;
50
+ top: 0;
51
+ width: 24px;
52
+ height: 100%;
53
+ z-index: 1;
54
+ display: flex;
55
+ justify-content: center;
56
+ align-items: center;
57
+ color: $blue;
58
+ font-size: 12px;
59
+ cursor: pointer;
60
+
61
+ svg {
62
+ position: relative;
63
+ z-index: 1;
64
+ width: 24px;
65
+ height: 24px;
66
+ }
67
+ }
68
+
69
+ &__next-btn {
70
+ right: 16px;
71
+
72
+ &::before {
73
+ content: '';
74
+ position: absolute;
75
+ top: 0;
76
+ right: -16px;
77
+ bottom: 0;
78
+ width: 71px;
79
+ background: linear-gradient(270deg, $white 37%, transparent 100%);
80
+ pointer-events: none;
81
+ }
82
+ }
83
+
84
+ &__prev-btn {
85
+ left: 16px;
86
+
87
+ &::before {
88
+ content: '';
89
+ position: absolute;
90
+ top: 0;
91
+ left: -16px;
92
+ bottom: 0;
93
+ width: 71px;
94
+ background: linear-gradient(90deg, $white 37%, transparent 100%);
95
+ pointer-events: none;
96
+ }
97
+ }
98
+
99
+ .swiper-true-active {
100
+ position: relative;
101
+ pointer-events: none;
102
+
103
+ &::after {
104
+ content: '';
105
+ position: absolute;
106
+ top: 0;
107
+ left: 0;
108
+ right: 0;
109
+ bottom: 0;
110
+ background: rgba($white, 0.6);
111
+ border: 2px solid $blue;
112
+ }
113
+ }
114
+
115
+ .thumb-gallery__slide-wrapper {
116
+ max-width: 105px;
117
+ }
118
+ }
119
+
120
+ .swiper-slide-thumbs {
121
+ cursor: pointer;
122
+ }
123
+ }
124
+
125
+ .thumb-gallery[data-length='1'] {
126
+ .thumb-gallery__next-btn,
127
+ .thumb-gallery__prev-btn,
128
+ .swiper-container-thumbs,
129
+ .swiper-pagination {
130
+ display: none;
131
+ }
132
+ }
133
+
134
+ @include media-breakpoint-up(sm) {
135
+ .thumb-gallery {
136
+ .swiper-container-thumbs {
137
+ padding: 0;
138
+
139
+ &__next-btn {
140
+ right: 0;
141
+
142
+ &::before {
143
+ right: 0;
144
+ background: linear-gradient(270deg, $white 25%, transparent 100%);
145
+ }
146
+ }
147
+
148
+ &__prev-btn {
149
+ left: 0;
150
+
151
+ &::before {
152
+ left: 0;
153
+ background: linear-gradient(90deg, $white 25%, transparent 100%);
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+
160
+ @include media-breakpoint-up(lg) {
161
+ .thumb-gallery {
162
+ &__next-btn,
163
+ &__prev-btn {
164
+ width: 40px;
165
+ height: 40px;
166
+ }
167
+
168
+ .swiper-container-thumbs {
169
+ &__next-btn,
170
+ &__prev-btn {
171
+ width: 48px;
172
+
173
+ svg {
174
+ width: 38px;
175
+ height: 38px;
176
+ }
177
+ }
178
+
179
+ &__next-btn {
180
+ &::before {
181
+ background: linear-gradient(270deg, $white 25%, rgba(255, 255, 255, 0) 100%);
182
+ }
183
+ }
184
+
185
+ &__prev-btn {
186
+ &::before {
187
+ background: linear-gradient(90deg, $white 25%, rgba(255, 255, 255, 0) 100%);
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
@@ -0,0 +1,3 @@
1
+ @import 'complete-your-project';
2
+ @import 'complete-card';
3
+ @import 'complete-card-dropdown';