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
@@ -0,0 +1,174 @@
1
+ .complete-card-dropdown {
2
+ position: relative;
3
+ width: 100%;
4
+ min-width: 0;
5
+ max-width: 100%;
6
+ margin-bottom: 18px;
7
+ overflow: visible;
8
+
9
+ &__toggle {
10
+ @include font-size(14);
11
+ @include line-height(24);
12
+
13
+ position: relative;
14
+ display: grid;
15
+ grid-template-columns: minmax(0, 1fr) auto;
16
+ align-items: center;
17
+ column-gap: 12px;
18
+ box-sizing: border-box;
19
+ width: 100%;
20
+ min-width: 0;
21
+ max-width: 100%;
22
+ min-height: 40px;
23
+ padding: 7px 12px;
24
+ overflow: hidden;
25
+ border: 1px solid $gray;
26
+ border-radius: 4px;
27
+ background-color: $white;
28
+ font-weight: 400;
29
+ text-align: left;
30
+ cursor: pointer;
31
+ }
32
+
33
+ &__value {
34
+ display: block;
35
+ width: 100%;
36
+ min-width: 0;
37
+ max-width: 100%;
38
+ overflow: hidden;
39
+ text-overflow: ellipsis;
40
+ white-space: nowrap;
41
+ }
42
+
43
+ &__icon {
44
+ position: static;
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+ min-width: 0;
49
+ pointer-events: none;
50
+ color: $blue;
51
+ transition: transform 0.2s;
52
+ }
53
+
54
+ &__menu {
55
+ position: absolute;
56
+ top: calc(100% + 4px);
57
+ left: 0;
58
+ z-index: $dropdown-z-index;
59
+ display: none;
60
+ width: 100%;
61
+ min-width: 0;
62
+ max-width: 100%;
63
+ max-height: 220px;
64
+ padding-top: 4px;
65
+ overflow-y: auto;
66
+ border-radius: 3px;
67
+ background-color: $white;
68
+ box-shadow: 0 0 15px $black-transparent20;
69
+ }
70
+
71
+ &__option {
72
+ @include font-size(14);
73
+ @include line-height(20);
74
+
75
+ display: block;
76
+ width: 100%;
77
+ min-width: 0;
78
+ max-width: 100%;
79
+ padding: 10px 12px;
80
+ border: 1px solid transparent;
81
+ background-color: $white;
82
+ color: $blue-dark;
83
+ text-align: left;
84
+ overflow: visible;
85
+ text-overflow: initial;
86
+ white-space: normal;
87
+ overflow-wrap: break-word;
88
+ word-break: normal;
89
+ cursor: pointer;
90
+ outline: none;
91
+
92
+ &:first-of-type {
93
+ pointer-events: none;
94
+ }
95
+
96
+ &:hover,
97
+ &:focus {
98
+ background-color: $ma-white;
99
+ outline: none;
100
+ }
101
+
102
+ &--selected {
103
+ border-color: $black;
104
+ }
105
+ }
106
+
107
+ &__error {
108
+ @include font-size(12);
109
+ @include line-height(16);
110
+
111
+ display: none;
112
+ margin-top: 4px;
113
+ color: $red;
114
+ font-weight: 400;
115
+ }
116
+
117
+ &--open {
118
+ .complete-card-dropdown {
119
+ &__toggle {
120
+ border-color: $blue;
121
+ }
122
+
123
+ &__icon {
124
+ transform: rotate(180deg);
125
+ }
126
+
127
+ &__menu {
128
+ display: block;
129
+ }
130
+ }
131
+ }
132
+
133
+ &--error {
134
+ .complete-card-dropdown {
135
+ &__toggle {
136
+ border-color: $red;
137
+ }
138
+
139
+ &__error {
140
+ display: block;
141
+ }
142
+ }
143
+ }
144
+ }
145
+
146
+ @include media-breakpoint-up(md) {
147
+ .complete-card-dropdown {
148
+ &__error {
149
+ position: absolute;
150
+ top: 44px;
151
+ }
152
+ }
153
+ }
154
+
155
+ @include media-breakpoint-down(sm) {
156
+ .complete-card-dropdown {
157
+ &__toggle {
158
+ @include font-size(14);
159
+ }
160
+ }
161
+ }
162
+
163
+ @media screen and (max-width: 375px) {
164
+ .complete-card-dropdown {
165
+ margin-bottom: 5px;
166
+
167
+ &__toggle {
168
+ @include font-size(12);
169
+
170
+ column-gap: 8px;
171
+ padding: 7px 12px;
172
+ }
173
+ }
174
+ }
@@ -0,0 +1,402 @@
1
+ .complete-card {
2
+ position: relative;
3
+ width: 100%;
4
+ max-width: 100%;
5
+ overflow: visible;
6
+ background-color: $white;
7
+ border: 1px dashed $gray;
8
+ border-radius: 4px;
9
+ padding: 12px;
10
+ margin-bottom: 8px;
11
+
12
+ &--selected {
13
+ border: 1px solid $blue;
14
+ }
15
+
16
+ &__select {
17
+ position: absolute;
18
+ top: -15px;
19
+ left: 0;
20
+ z-index: 2;
21
+
22
+ .chb ins .fa-check {
23
+ box-sizing: border-box;
24
+ }
25
+ }
26
+
27
+ &__inner {
28
+ position: relative;
29
+ display: flex;
30
+ flex-direction: row;
31
+ gap: 12px;
32
+ width: 100%;
33
+ min-width: 0;
34
+ max-width: 100%;
35
+ }
36
+
37
+ &__img {
38
+ width: 154px;
39
+ max-width: 100%;
40
+ max-height: 100%;
41
+
42
+ &-wrap {
43
+ flex: 0 0 154px;
44
+ width: 154px;
45
+ height: 154px;
46
+ min-width: 0;
47
+ max-width: 100%;
48
+ margin-bottom: 0;
49
+ }
50
+ }
51
+
52
+ &__content {
53
+ display: flex;
54
+ flex: 1 1 auto;
55
+ flex-direction: column;
56
+ min-width: 0;
57
+ max-width: 100%;
58
+ padding-top: 24px;
59
+ overflow: visible;
60
+ }
61
+
62
+ &__header,
63
+ &__options,
64
+ &__bottom {
65
+ width: 100%;
66
+ min-width: 0;
67
+ max-width: 100%;
68
+ }
69
+
70
+ &__header {
71
+ overflow: hidden;
72
+ }
73
+
74
+ &__options {
75
+ overflow: visible;
76
+ }
77
+
78
+ &__bottom {
79
+ flex: 1;
80
+ }
81
+
82
+ &__title {
83
+ @include font-size(12);
84
+ @include line-height(16);
85
+ @include clamp-text(2);
86
+ font-weight: 500;
87
+ margin-bottom: 8px;
88
+ text-decoration: none;
89
+
90
+ &:hover {
91
+ text-decoration: underline;
92
+ }
93
+ }
94
+
95
+ &__reviews {
96
+ display: flex;
97
+ align-items: center;
98
+ font-size: 0.75rem;
99
+ margin-bottom: 8px;
100
+
101
+ &-count {
102
+ display: inline-block;
103
+ margin-left: 6px;
104
+ }
105
+
106
+ .rating-bg {
107
+ color: $gray;
108
+ position: relative;
109
+
110
+ .fa-star {
111
+ margin-right: 0;
112
+ }
113
+ }
114
+
115
+ .rating-overlay {
116
+ color: $yellow;
117
+ position: absolute;
118
+ left: 0;
119
+ top: 0;
120
+ display: flex;
121
+ }
122
+
123
+ .star-overlay {
124
+ display: inline-block;
125
+ overflow: hidden;
126
+
127
+ & + .star-overlay {
128
+ margin-left: 3.3px;
129
+ }
130
+ }
131
+ }
132
+
133
+ &__count-stepper {
134
+ margin-top: 0;
135
+ margin-bottom: 12px;
136
+
137
+ .quantity-label {
138
+ display: none;
139
+ margin-right: 12px;
140
+ font-weight: 700;
141
+ }
142
+
143
+ .tbx_quantity {
144
+ border: 0;
145
+ }
146
+ }
147
+
148
+ &__price {
149
+ @include font-size(18);
150
+ @include line-height(18);
151
+ display: flex;
152
+ align-items: baseline;
153
+ font-weight: 700;
154
+ color: $blue-dark;
155
+ margin-bottom: 4px;
156
+ flex-wrap: wrap;
157
+
158
+ &_from {
159
+ @include font-size(14);
160
+ @include line-height(16);
161
+ padding-right: 4px;
162
+ white-space: nowrap;
163
+ }
164
+
165
+ &_sale {
166
+ color: $red;
167
+
168
+ .complete-card {
169
+ &__price-value {
170
+ @include font-size(14);
171
+ font-weight: 500;
172
+ color: $warm-grey;
173
+ text-decoration: line-through;
174
+ padding-right: 4px;
175
+ }
176
+ }
177
+ }
178
+
179
+ &__sale-price,
180
+ &-value {
181
+ margin-right: 4px;
182
+ }
183
+ }
184
+
185
+ &__vat-label {
186
+ @include font-size(12);
187
+ @include line-height(16);
188
+ font-weight: 500;
189
+ color: $blue-dark;
190
+ align-self: flex-end;
191
+ }
192
+
193
+ &__delivery {
194
+ @include font-size(12);
195
+ @include line-height(16);
196
+ font-weight: 400;
197
+ color: $squant;
198
+ margin-bottom: 0;
199
+ }
200
+
201
+ &__badge {
202
+ @include font-size(12);
203
+ @include line-height(16);
204
+ font-weight: 700;
205
+ margin-bottom: 0;
206
+ position: absolute;
207
+ top: 0;
208
+ right: 0;
209
+ z-index: $label-z-index;
210
+ color: $white;
211
+ padding: 4px 10px;
212
+ text-align: center;
213
+ }
214
+
215
+ &--skeleton {
216
+ .complete-card {
217
+ &__img {
218
+ width: 154px;
219
+ height: 154px;
220
+
221
+ &-wrap {
222
+ flex: 0 0 154px;
223
+ width: 154px;
224
+ height: 154px;
225
+ }
226
+ }
227
+
228
+ &__skeleton {
229
+ &-title {
230
+ height: 14px;
231
+ width: 80%;
232
+ margin-bottom: 6px;
233
+ }
234
+
235
+ &-title-short {
236
+ height: 14px;
237
+ width: 50%;
238
+ margin-bottom: 12px;
239
+ }
240
+
241
+ &-reviews {
242
+ height: 12px;
243
+ width: 40%;
244
+ margin-bottom: 12px;
245
+ }
246
+
247
+ &-stepper {
248
+ height: 32px;
249
+ width: 90px;
250
+ margin-bottom: 12px;
251
+ }
252
+
253
+ &-price {
254
+ height: 22px;
255
+ width: 60%;
256
+ margin-bottom: 6px;
257
+ }
258
+
259
+ &-delivery {
260
+ height: 12px;
261
+ width: 50%;
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+
268
+ @include media-breakpoint-up(sm) {
269
+ .complete-card {
270
+ &__img {
271
+ width: 200px;
272
+
273
+ &-wrap {
274
+ flex: 0 0 200px;
275
+ width: 200px;
276
+ height: 200px;
277
+ }
278
+ }
279
+
280
+ &--skeleton {
281
+ .complete-card {
282
+ &__img {
283
+ width: 200px;
284
+ height: 200px;
285
+
286
+ &-wrap {
287
+ flex: 0 0 200px;
288
+ width: 200px;
289
+ height: 200px;
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+
297
+ @include media-breakpoint-up(lg) {
298
+ .complete-card {
299
+ padding: 16px;
300
+ margin-bottom: 0;
301
+
302
+ &__inner {
303
+ flex-direction: column;
304
+ gap: 0;
305
+ }
306
+
307
+ &__img {
308
+ width: 154px;
309
+
310
+ &-wrap {
311
+ flex: 0 0 auto;
312
+ width: 154px;
313
+ height: 154px;
314
+ margin: 0 auto 12px;
315
+ }
316
+ }
317
+
318
+ &__content {
319
+ width: 100%;
320
+ padding-top: 0;
321
+ }
322
+
323
+ &__title {
324
+ @include font-size(14);
325
+ @include line-height(22);
326
+ margin-bottom: 8px;
327
+ }
328
+
329
+ &__reviews {
330
+ @include font-size(14);
331
+ margin-bottom: 8px;
332
+ }
333
+
334
+ &__count-stepper {
335
+ margin-bottom: 12px;
336
+
337
+ .quantity-label {
338
+ display: inline-block;
339
+ }
340
+ }
341
+
342
+ &__price {
343
+ @include font-size(24);
344
+ @include line-height(24);
345
+ margin-bottom: 8px;
346
+
347
+ &_from {
348
+ @include font-size(16);
349
+ @include line-height(24);
350
+ }
351
+
352
+ &_sale {
353
+ .complete-card {
354
+ &__price-value {
355
+ @include font-size(14);
356
+ @include line-height(24);
357
+ }
358
+ }
359
+ }
360
+ }
361
+
362
+ &__delivery {
363
+ @include font-size(12);
364
+ @include line-height(16);
365
+ }
366
+
367
+ &--skeleton {
368
+ .complete-card {
369
+ &__img {
370
+ width: 154px;
371
+ height: 154px;
372
+
373
+ &-wrap {
374
+ flex: 0 0 auto;
375
+ width: 154px;
376
+ height: 154px;
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+
384
+ @media screen and (max-width: 375px) {
385
+ .complete-card {
386
+ padding: 12px;
387
+
388
+ &__inner {
389
+ gap: 12px;
390
+ }
391
+
392
+ &__img {
393
+ width: 126px;
394
+
395
+ &-wrap {
396
+ flex: 0 0 126px;
397
+ width: 126px;
398
+ height: 126px;
399
+ }
400
+ }
401
+ }
402
+ }