hemfixarna-web-components 0.3.1 → 0.9.2

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 (156) hide show
  1. package/dist/cjs/hemfixarna-address_16.cjs.entry.js +1753 -0
  2. package/dist/cjs/hemfixarna-address_16.cjs.entry.js.map +1 -0
  3. package/dist/cjs/hemfixarna-components.cjs.js +28 -0
  4. package/dist/cjs/hemfixarna-components.cjs.js.map +1 -0
  5. package/dist/cjs/index-d9e286dc.js +1652 -0
  6. package/dist/cjs/index-d9e286dc.js.map +1 -0
  7. package/dist/cjs/index.cjs.js +4 -0
  8. package/dist/cjs/index.cjs.js.map +1 -0
  9. package/dist/cjs/loader.cjs.js +24 -0
  10. package/dist/cjs/loader.cjs.js.map +1 -0
  11. package/dist/collection/assets/back.svg +3 -0
  12. package/dist/collection/assets/cart.svg +10 -0
  13. package/dist/collection/assets/checked.svg +10 -0
  14. package/dist/collection/assets/close.svg +5 -0
  15. package/dist/collection/assets/copy.png +0 -0
  16. package/dist/collection/assets/date.svg +6 -0
  17. package/dist/collection/assets/down.svg +3 -0
  18. package/dist/collection/assets/hemfixarna.svg +11 -0
  19. package/dist/collection/assets/info.svg +5 -0
  20. package/dist/collection/assets/minus.svg +4 -0
  21. package/dist/collection/assets/plus.svg +5 -0
  22. package/dist/collection/collection-manifest.json +27 -0
  23. package/dist/collection/components/hemfixarna-address/hemfixarna-address.js +67 -0
  24. package/dist/collection/components/hemfixarna-address/hemfixarna-address.js.map +1 -0
  25. package/dist/collection/components/hemfixarna-box/hemfixarna-box.js +97 -0
  26. package/dist/collection/components/hemfixarna-box/hemfixarna-box.js.map +1 -0
  27. package/dist/{hemfixarna-components/hemfixarna-breadcrumbs.entry.js → collection/components/hemfixarna-breadcrumbs/hemfixarna-breadcrumbs.js} +46 -11
  28. package/dist/collection/components/hemfixarna-breadcrumbs/hemfixarna-breadcrumbs.js.map +1 -0
  29. package/dist/collection/components/hemfixarna-byggmax/hemfixarna-byggmax.css +0 -0
  30. package/dist/collection/components/hemfixarna-byggmax/hemfixarna-byggmax.js +50 -0
  31. package/dist/collection/components/hemfixarna-byggmax/hemfixarna-byggmax.js.map +1 -0
  32. package/dist/collection/components/hemfixarna-cart/hemfixarna-cart.js +41 -0
  33. package/dist/collection/components/hemfixarna-cart/hemfixarna-cart.js.map +1 -0
  34. package/dist/collection/components/hemfixarna-category.tsx/hemfixarna-category.js +18 -0
  35. package/dist/collection/components/hemfixarna-category.tsx/hemfixarna-category.js.map +1 -0
  36. package/dist/collection/components/hemfixarna-checkout/hemfixarna-checkout.js +92 -0
  37. package/dist/collection/components/hemfixarna-checkout/hemfixarna-checkout.js.map +1 -0
  38. package/dist/collection/components/hemfixarna-component/hemfixarna-component.js +221 -0
  39. package/dist/collection/components/hemfixarna-component/hemfixarna-component.js.map +1 -0
  40. package/dist/collection/components/hemfixarna-component/hemfixarna.css +752 -0
  41. package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.css +118 -0
  42. package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.js +76 -0
  43. package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.js.map +1 -0
  44. package/dist/collection/components/hemfixarna-getuser/hemfixarna-getuser.js +84 -0
  45. package/dist/collection/components/hemfixarna-getuser/hemfixarna-getuser.js.map +1 -0
  46. package/dist/{hemfixarna-components/hemfixarna-info.entry.js → collection/components/hemfixarna-info/hemfixarna-info.js} +27 -11
  47. package/dist/collection/components/hemfixarna-info/hemfixarna-info.js.map +1 -0
  48. package/dist/collection/components/hemfixarna-order/hemfixarna-order.js +50 -0
  49. package/dist/collection/components/hemfixarna-order/hemfixarna-order.js.map +1 -0
  50. package/dist/collection/components/hemfixarna-orderrows/hemfixarna-orderrows.js +80 -0
  51. package/dist/collection/components/hemfixarna-orderrows/hemfixarna-orderrows.js.map +1 -0
  52. package/dist/{hemfixarna-components/hemfixarna-product.entry.js → collection/components/hemfixarna-product/hemfixarna-product.js} +15 -16
  53. package/dist/collection/components/hemfixarna-product/hemfixarna-product.js.map +1 -0
  54. package/dist/collection/components/hemfixarna-service/hemfixarna-service.js +18 -0
  55. package/dist/collection/components/hemfixarna-service/hemfixarna-service.js.map +1 -0
  56. package/dist/collection/components/hemfixarna-start/hemfixarna-start.js +41 -0
  57. package/dist/collection/components/hemfixarna-start/hemfixarna-start.js.map +1 -0
  58. package/dist/collection/index.js +2 -0
  59. package/dist/collection/index.js.map +1 -0
  60. package/dist/collection/store/index.js +25 -0
  61. package/dist/collection/store/index.js.map +1 -0
  62. package/dist/{hemfixarna-components/index-2bf8566c.js → collection/types/index.js} +3 -6
  63. package/dist/collection/types/index.js.map +1 -0
  64. package/dist/collection/utils/api.js +41 -0
  65. package/dist/collection/utils/api.js.map +1 -0
  66. package/dist/{hemfixarna-components/calc-a9ece205.js → collection/utils/calc.js} +36 -6
  67. package/dist/collection/utils/calc.js.map +1 -0
  68. package/dist/collection/utils/creditSafe.js +18 -0
  69. package/dist/collection/utils/creditSafe.js.map +1 -0
  70. package/dist/collection/utils/felixFunctions.js +189 -0
  71. package/dist/collection/utils/felixFunctions.js.map +1 -0
  72. package/dist/collection/utils/form.js +7 -0
  73. package/dist/collection/utils/form.js.map +1 -0
  74. package/dist/esm/hemfixarna-address_16.entry.js +1734 -0
  75. package/dist/esm/hemfixarna-address_16.entry.js.map +1 -0
  76. package/dist/esm/hemfixarna-components.js +23 -0
  77. package/dist/esm/hemfixarna-components.js.map +1 -0
  78. package/dist/esm/index-ca1aada9.js +1621 -0
  79. package/dist/esm/index-ca1aada9.js.map +1 -0
  80. package/dist/esm/index.js +3 -0
  81. package/dist/esm/index.js.map +1 -0
  82. package/dist/esm/loader.js +20 -0
  83. package/dist/esm/loader.js.map +1 -0
  84. package/dist/esm/polyfills/core-js.js +11 -0
  85. package/dist/esm/polyfills/css-shim.js +1 -0
  86. package/dist/esm/polyfills/dom.js +79 -0
  87. package/dist/esm/polyfills/es5-html-element.js +1 -0
  88. package/dist/esm/polyfills/index.js +34 -0
  89. package/dist/esm/polyfills/system.js +6 -0
  90. package/dist/hemfixarna-components/hemfixarna-components.esm.js +1 -162
  91. package/dist/hemfixarna-components/hemfixarna-components.esm.js.map +1 -1
  92. package/dist/hemfixarna-components/index.esm.js +0 -1
  93. package/dist/hemfixarna-components/index.esm.js.map +1 -1
  94. package/dist/hemfixarna-components/p-8829e98e.js +3 -0
  95. package/dist/hemfixarna-components/p-8829e98e.js.map +1 -0
  96. package/dist/hemfixarna-components/p-c05e2af1.entry.js +2 -0
  97. package/dist/hemfixarna-components/p-c05e2af1.entry.js.map +1 -0
  98. package/dist/index.cjs.js +1 -0
  99. package/dist/index.js +1 -0
  100. package/dist/types/components/hemfixarna-address/hemfixarna-address.d.ts +1 -0
  101. package/dist/types/components/hemfixarna-cart/hemfixarna-cart.d.ts +1 -9
  102. package/dist/types/components/hemfixarna-checkout/hemfixarna-checkout.d.ts +3 -1
  103. package/dist/types/components/hemfixarna-getuser/hemfixarna-getuser.d.ts +1 -1
  104. package/dist/types/components/hemfixarna-order/hemfixarna-order.d.ts +3 -0
  105. package/dist/types/components/hemfixarna-orderrows/hemfixarna-orderrows.d.ts +8 -0
  106. package/dist/types/components.d.ts +19 -0
  107. package/dist/types/store/index.d.ts +2 -6
  108. package/dist/types/types/index.d.ts +18 -7
  109. package/dist/types/utils/api.d.ts +20 -2
  110. package/dist/types/utils/calc.d.ts +5 -1
  111. package/dist/types/utils/creditSafe.d.ts +3 -0
  112. package/dist/types/utils/form.d.ts +2 -0
  113. package/package.json +2 -1
  114. package/dist/hemfixarna-components/api-3228fe30.js +0 -28
  115. package/dist/hemfixarna-components/api-3228fe30.js.map +0 -1
  116. package/dist/hemfixarna-components/app-globals-0f993ce5.js +0 -5
  117. package/dist/hemfixarna-components/app-globals-0f993ce5.js.map +0 -1
  118. package/dist/hemfixarna-components/calc-a9ece205.js.map +0 -1
  119. package/dist/hemfixarna-components/css-shim-62d2171c.js +0 -6
  120. package/dist/hemfixarna-components/css-shim-62d2171c.js.map +0 -1
  121. package/dist/hemfixarna-components/dom-46a68c9b.js +0 -75
  122. package/dist/hemfixarna-components/dom-46a68c9b.js.map +0 -1
  123. package/dist/hemfixarna-components/hemfixarna-address.entry.js +0 -52
  124. package/dist/hemfixarna-components/hemfixarna-address.entry.js.map +0 -1
  125. package/dist/hemfixarna-components/hemfixarna-box.entry.js +0 -35
  126. package/dist/hemfixarna-components/hemfixarna-box.entry.js.map +0 -1
  127. package/dist/hemfixarna-components/hemfixarna-breadcrumbs.entry.js.map +0 -1
  128. package/dist/hemfixarna-components/hemfixarna-byggmax.entry.js +0 -20
  129. package/dist/hemfixarna-components/hemfixarna-byggmax.entry.js.map +0 -1
  130. package/dist/hemfixarna-components/hemfixarna-cart.entry.js +0 -82
  131. package/dist/hemfixarna-components/hemfixarna-cart.entry.js.map +0 -1
  132. package/dist/hemfixarna-components/hemfixarna-category.entry.js +0 -21
  133. package/dist/hemfixarna-components/hemfixarna-category.entry.js.map +0 -1
  134. package/dist/hemfixarna-components/hemfixarna-checkout.entry.js +0 -54
  135. package/dist/hemfixarna-components/hemfixarna-checkout.entry.js.map +0 -1
  136. package/dist/hemfixarna-components/hemfixarna-component.entry.js +0 -133
  137. package/dist/hemfixarna-components/hemfixarna-component.entry.js.map +0 -1
  138. package/dist/hemfixarna-components/hemfixarna-demo.entry.js +0 -65
  139. package/dist/hemfixarna-components/hemfixarna-demo.entry.js.map +0 -1
  140. package/dist/hemfixarna-components/hemfixarna-getuser.entry.js +0 -410
  141. package/dist/hemfixarna-components/hemfixarna-getuser.entry.js.map +0 -1
  142. package/dist/hemfixarna-components/hemfixarna-info.entry.js.map +0 -1
  143. package/dist/hemfixarna-components/hemfixarna-order.entry.js +0 -24
  144. package/dist/hemfixarna-components/hemfixarna-order.entry.js.map +0 -1
  145. package/dist/hemfixarna-components/hemfixarna-product.entry.js.map +0 -1
  146. package/dist/hemfixarna-components/hemfixarna-service.entry.js +0 -21
  147. package/dist/hemfixarna-components/hemfixarna-service.entry.js.map +0 -1
  148. package/dist/hemfixarna-components/hemfixarna-start.entry.js +0 -18
  149. package/dist/hemfixarna-components/hemfixarna-start.entry.js.map +0 -1
  150. package/dist/hemfixarna-components/index-2bf8566c.js.map +0 -1
  151. package/dist/hemfixarna-components/index-59ed730c.js +0 -3397
  152. package/dist/hemfixarna-components/index-59ed730c.js.map +0 -1
  153. package/dist/hemfixarna-components/index-75ed3bb8.js +0 -216
  154. package/dist/hemfixarna-components/index-75ed3bb8.js.map +0 -1
  155. package/dist/hemfixarna-components/shadow-css-05e0c1f4.js +0 -389
  156. package/dist/hemfixarna-components/shadow-css-05e0c1f4.js.map +0 -1
@@ -0,0 +1,752 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap");
2
+ * {
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ :host {
7
+ font-family: "Inter", sans-serif;
8
+ }
9
+ :host .mb-2 {
10
+ margin-bottom: 2rem;
11
+ }
12
+ :host form {
13
+ display: flex;
14
+ flex-direction: column;
15
+ gap: 1rem;
16
+ }
17
+ :host form img {
18
+ position: absolute;
19
+ top: 50%;
20
+ transform: translateY(-50%);
21
+ pointer-events: none;
22
+ }
23
+ :host form img:first-of-type {
24
+ left: 1rem;
25
+ }
26
+ :host form img:last-of-type {
27
+ right: 1rem;
28
+ }
29
+ :host form span {
30
+ margin-top: -0.5rem;
31
+ color: #ec6632;
32
+ }
33
+ :host form p {
34
+ text-align: center;
35
+ }
36
+ :host form p {
37
+ margin: 0;
38
+ }
39
+ :host form div {
40
+ position: relative;
41
+ }
42
+ :host form div label {
43
+ pointer-events: none;
44
+ position: absolute;
45
+ left: 1rem;
46
+ top: 50%;
47
+ transform: translateY(-50%);
48
+ background: #fff;
49
+ padding: 0.25rem;
50
+ transition: 0.2s all cubic-bezier(0.465, 0.183, 0.153, 0.946);
51
+ }
52
+ :host form div input {
53
+ padding: 1rem;
54
+ width: 100%;
55
+ font-size: 1rem;
56
+ border: 1px solid #fcd9c9;
57
+ }
58
+ :host form div input:focus ~ label,
59
+ :host form div .input_active ~ label {
60
+ top: 0;
61
+ transform: translateY(-50%);
62
+ background: linear-gradient(180deg, #fffaf2 50%, #fff 50%);
63
+ }
64
+ :host h1 {
65
+ font-size: 24px;
66
+ font-weight: 400;
67
+ line-height: 32px;
68
+ letter-spacing: -3%;
69
+ text-align: left;
70
+ margin: 0 0 0.5rem;
71
+ }
72
+ :host h2 {
73
+ margin: 0 0 1.5rem;
74
+ font-weight: 700;
75
+ font-size: 20px;
76
+ line-height: 28px;
77
+ letter-spacing: -3%;
78
+ }
79
+ :host p {
80
+ font-size: 16px;
81
+ font-weight: 400;
82
+ line-height: 24px;
83
+ letter-spacing: -3%;
84
+ }
85
+ :host .hemfixarna {
86
+ width: 100%;
87
+ /* Hide default HTML checkbox */
88
+ /* The slider */
89
+ }
90
+ :host .hemfixarna .switch {
91
+ position: relative;
92
+ display: inline-block;
93
+ width: 40px;
94
+ height: 20px;
95
+ }
96
+ :host .hemfixarna .switch input {
97
+ opacity: 0;
98
+ width: 0;
99
+ height: 0;
100
+ }
101
+ :host .hemfixarna .slider {
102
+ position: absolute;
103
+ cursor: pointer;
104
+ top: 0;
105
+ left: 0;
106
+ right: 0;
107
+ bottom: 0;
108
+ background-color: #ccc;
109
+ -webkit-transition: 0.4s;
110
+ transition: 0.4s;
111
+ border-radius: 34px;
112
+ }
113
+ :host .hemfixarna .slider:before {
114
+ position: absolute;
115
+ content: "";
116
+ height: 18px;
117
+ width: 18px;
118
+ left: 2px;
119
+ bottom: 1px;
120
+ background-color: white;
121
+ -webkit-transition: 0.4s;
122
+ transition: 0.4s;
123
+ border-radius: 50%;
124
+ }
125
+ :host .hemfixarna input:checked + .slider {
126
+ background-color: #fcd9c9;
127
+ }
128
+ :host .hemfixarna input:focus + .slider {
129
+ box-shadow: 0 0 1px #fcd9c9;
130
+ }
131
+ :host .hemfixarna input:checked + .slider:before {
132
+ -webkit-transform: translateX(18px);
133
+ -ms-transform: translateX(18px);
134
+ transform: translateX(18px);
135
+ background: #ec6632;
136
+ }
137
+ :host .hemfixarna_checkbox {
138
+ display: grid;
139
+ grid-template-columns: 2.5rem auto;
140
+ font-size: 16px;
141
+ font-weight: 400;
142
+ line-height: 24px;
143
+ letter-spacing: -3%;
144
+ }
145
+ :host .hemfixarna_checkbox > span {
146
+ transform: translateY(6px);
147
+ }
148
+ :host .hemfixarna_checkbox span,
149
+ :host .hemfixarna_checkbox span p {
150
+ color: #474444;
151
+ font-size: 14px;
152
+ }
153
+ :host .hemfixarna_checkbox p {
154
+ text-align: left;
155
+ }
156
+ :host .hemfixarna_info {
157
+ display: flex;
158
+ flex-direction: column;
159
+ gap: 1.5rem;
160
+ padding: 2rem;
161
+ box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.0392156863);
162
+ border-radius: 0.25rem;
163
+ border: 1px solid #fcd9c9;
164
+ }
165
+ :host .hemfixarna_info h2 {
166
+ margin: 0;
167
+ }
168
+ @media (min-width: 769px) {
169
+ :host .hemfixarna_info {
170
+ position: sticky;
171
+ top: 0;
172
+ }
173
+ }
174
+ :host .hemfixarna_infomodal {
175
+ position: absolute;
176
+ top: 40%;
177
+ left: 50%;
178
+ transform: translate(-50%, -50%);
179
+ width: 100%;
180
+ max-width: 80%;
181
+ background: #fffaf2;
182
+ border: 1px solid #fcd9c9;
183
+ padding: 2rem;
184
+ z-index: 99;
185
+ border-radius: 0.25rem;
186
+ box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.0392156863);
187
+ display: flex;
188
+ flex-direction: column;
189
+ gap: 1rem;
190
+ }
191
+ :host .hemfixarna_infomodal button {
192
+ background: #ec6632;
193
+ color: #fff;
194
+ border-radius: 60px;
195
+ font-size: 16px;
196
+ padding: 0.5rem 1rem;
197
+ }
198
+ :host .hemfixarna_addressinfo {
199
+ padding: 1rem 1rem 4rem;
200
+ border: 1px solid #fcd9c9;
201
+ position: relative;
202
+ margin-bottom: 2rem;
203
+ display: grid;
204
+ grid-template-columns: 1fr 1fr;
205
+ gap: 0.5rem;
206
+ }
207
+ :host .hemfixarna_addressinfo button {
208
+ position: absolute;
209
+ bottom: 1rem;
210
+ right: 1rem;
211
+ font-weight: 500;
212
+ text-underline-offset: 2px;
213
+ text-decoration: underline;
214
+ }
215
+ :host .hemfixarna_part {
216
+ background: #fff;
217
+ box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.0392156863);
218
+ display: grid;
219
+ padding: 1rem;
220
+ grid-template-columns: auto 75px;
221
+ }
222
+ :host .hemfixarna_counter {
223
+ display: flex;
224
+ align-items: center;
225
+ }
226
+ :host .hemfixarna_counter span {
227
+ padding: 0 0.5rem;
228
+ }
229
+ :host .hemfixarna_counter img {
230
+ cursor: pointer;
231
+ }
232
+ :host .hemfixarna_counter img:not(.disabled):hover {
233
+ transition: 0.1s all cubic-bezier(0.465, 0.183, 0.153, 0.946);
234
+ filter: brightness(1.02);
235
+ transform: scale(1.01);
236
+ box-shadow: 0px 8px 16px 2px rgba(0, 0, 0, 0.0392156863);
237
+ }
238
+ :host .hemfixarna_terms {
239
+ font-size: 14px;
240
+ }
241
+ :host .hemfixarna_terms a {
242
+ color: inherit;
243
+ }
244
+ :host .hemfixarna_logo {
245
+ height: 4rem;
246
+ }
247
+ :host .hemfixarna_box {
248
+ padding: 1rem;
249
+ display: flex;
250
+ align-items: center;
251
+ justify-content: space-between;
252
+ background: #fffaf2;
253
+ border: 1px solid #fcd9c9;
254
+ width: 100%;
255
+ box-sizing: border-box;
256
+ border-radius: 0.25rem;
257
+ gap: 1rem 0.5rem;
258
+ }
259
+ :host .hemfixarna_box > div {
260
+ display: grid;
261
+ gap: 0.5rem;
262
+ }
263
+ :host .hemfixarna_btn, :host .hemfixarna_buy,
264
+ :host .hemfixarna input[type=submit] {
265
+ border: none;
266
+ border-radius: 60px;
267
+ font-weight: 600;
268
+ letter-spacing: 0.5px;
269
+ line-height: 20px;
270
+ box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.0392156863);
271
+ }
272
+ :host .hemfixarna_btn:not(.disabled):hover, :host .hemfixarna_buy:not(.disabled):hover,
273
+ :host .hemfixarna input[type=submit]:not(.disabled):hover {
274
+ transition: 0.1s all cubic-bezier(0.465, 0.183, 0.153, 0.946);
275
+ filter: brightness(1.02);
276
+ transform: scale(1.01);
277
+ box-shadow: 0px 8px 16px 2px rgba(0, 0, 0, 0.0392156863);
278
+ }
279
+ :host .hemfixarna_btn {
280
+ font-size: 14px;
281
+ background: #c84e18;
282
+ color: #fff;
283
+ padding: 1rem 2rem;
284
+ white-space: nowrap;
285
+ position: relative;
286
+ }
287
+ :host .hemfixarna_btn span {
288
+ position: absolute;
289
+ background: #fff;
290
+ border-radius: 100%;
291
+ width: 24px;
292
+ height: 24px;
293
+ display: flex;
294
+ justify-content: center;
295
+ align-items: center;
296
+ font-weight: 600;
297
+ font-size: 13px;
298
+ line-height: 11px;
299
+ top: -0.5rem;
300
+ right: -0.75rem;
301
+ }
302
+ :host .hemfixarna_btn span {
303
+ background: #25a710;
304
+ color: #fff;
305
+ right: 0 !important;
306
+ }
307
+ :host .hemfixarna_buy,
308
+ :host .hemfixarna input[type=submit] {
309
+ font-size: 21px;
310
+ background: #25a710;
311
+ color: #fff;
312
+ padding: 1rem 1.5rem;
313
+ }
314
+ :host .hemfixarna .disabled {
315
+ opacity: 0.5;
316
+ cursor: default;
317
+ }
318
+ :host .hemfixarna_modal {
319
+ position: fixed;
320
+ background: #fffaf2;
321
+ border: 1px solid #fcd9c9;
322
+ border-radius: 0.25rem;
323
+ top: 50%;
324
+ left: 50%;
325
+ z-index: 1000;
326
+ transition: 0.1s all cubic-bezier(0.465, 0.183, 0.153, 0.946);
327
+ transform: translate(-50%, -50%) scale(0.7);
328
+ opacity: 0;
329
+ height: 92%;
330
+ width: 92%;
331
+ max-width: 920px;
332
+ display: flex;
333
+ flex-direction: column;
334
+ gap: 0.5rem;
335
+ }
336
+ :host .hemfixarna_modal--open {
337
+ opacity: 1;
338
+ transform: translate(-50%, -50%) scale(1);
339
+ }
340
+ :host .hemfixarna_backdrop {
341
+ z-index: 999;
342
+ position: fixed;
343
+ background: #474444;
344
+ top: 0;
345
+ left: 0;
346
+ bottom: 0;
347
+ right: 0;
348
+ opacity: 0;
349
+ transition: transform 0.1s cubic-bezier(0.465, 0.183, 0.153, 0.946), opacity 0.1s cubic-bezier(0.465, 0.183, 0.153, 0.946);
350
+ }
351
+ :host .hemfixarna_backdrop--open {
352
+ opacity: 0.3;
353
+ }
354
+ :host .hemfixarna_order {
355
+ position: absolute;
356
+ top: -1px;
357
+ left: -1px;
358
+ right: -1px;
359
+ bottom: -1px;
360
+ background-repeat: no-repeat !important;
361
+ background-size: cover !important;
362
+ background-position: center !important;
363
+ display: grid;
364
+ grid-template-columns: 1fr 1fr;
365
+ padding: 3rem 2rem 4rem;
366
+ }
367
+ @media (max-width: 768px) {
368
+ :host .hemfixarna_order {
369
+ grid-template-columns: 1fr;
370
+ grid-template-rows: 0 auto;
371
+ }
372
+ }
373
+ :host .hemfixarna_order > div:last-of-type {
374
+ background: #fffaf2;
375
+ padding: 2rem;
376
+ display: flex;
377
+ flex-direction: column;
378
+ max-height: 100%;
379
+ overflow: auto;
380
+ }
381
+ :host .hemfixarna_order img {
382
+ cursor: pointer;
383
+ }
384
+ :host .hemfixarna_order button {
385
+ margin: 1rem 0;
386
+ padding: 0;
387
+ text-decoration: underline;
388
+ text-underline-offset: 2px;
389
+ font-size: 14px;
390
+ font-weight: 600;
391
+ }
392
+ :host .hemfixarna_cart {
393
+ display: grid;
394
+ grid-template-columns: 1fr 1fr;
395
+ gap: 2rem;
396
+ }
397
+ @media (max-width: 768px) {
398
+ :host .hemfixarna_cart {
399
+ grid-template-columns: 1fr;
400
+ gap: 0;
401
+ }
402
+ }
403
+ :host .hemfixarna_cart--right h2, :host .hemfixarna_cart--left h2 {
404
+ display: flex;
405
+ align-items: center;
406
+ }
407
+ :host .hemfixarna_cart--right h2 img, :host .hemfixarna_cart--left h2 img {
408
+ margin-top: 0.2rem;
409
+ }
410
+ @media (min-width: 769px) {
411
+ :host .hemfixarna_cart--left h2 button {
412
+ display: none;
413
+ }
414
+ }
415
+ @media (max-width: 768px) {
416
+ :host .hemfixarna_cart--right h2 button {
417
+ display: none;
418
+ }
419
+ }
420
+ :host .hemfixarna_cart--startfee {
421
+ display: flex;
422
+ justify-content: space-between;
423
+ }
424
+ :host .hemfixarna_cart--rutrot {
425
+ display: flex;
426
+ justify-content: space-between;
427
+ }
428
+ :host .hemfixarna_cart--rutrot div {
429
+ display: flex;
430
+ gap: 1rem;
431
+ align-items: center;
432
+ }
433
+ :host .hemfixarna_cart--additional {
434
+ display: flex;
435
+ flex-direction: column;
436
+ gap: 1rem;
437
+ padding: 1rem;
438
+ border-top: 1px solid #fcd9c9;
439
+ }
440
+ :host .hemfixarna_cart--additional p {
441
+ font-size: 14px;
442
+ }
443
+ :host .hemfixarna_cart--additional strong {
444
+ text-decoration: underline;
445
+ text-underline-offset: 2px;
446
+ cursor: pointer;
447
+ position: relative;
448
+ }
449
+ :host .hemfixarna_cart--additional strong img {
450
+ position: absolute;
451
+ top: 50%;
452
+ transform: translateY(-50%);
453
+ right: -1.5rem;
454
+ }
455
+ :host .hemfixarna_cart--price {
456
+ border-top: 1px solid #fcd9c9;
457
+ padding: 1rem;
458
+ display: flex;
459
+ justify-content: space-between;
460
+ }
461
+ :host .hemfixarna_cart--price h3 {
462
+ margin: 0;
463
+ }
464
+ :host .hemfixarna_cart--item {
465
+ display: flex;
466
+ flex-direction: column;
467
+ gap: 0.5rem;
468
+ padding: 1rem 0;
469
+ border-top: 1px solid #fcd9c9;
470
+ }
471
+ :host .hemfixarna_cart--item > div {
472
+ display: flex;
473
+ justify-content: space-between;
474
+ }
475
+ :host .hemfixarna_cart--item > div > div {
476
+ display: flex;
477
+ align-items: center;
478
+ gap: 1rem;
479
+ }
480
+ :host .hemfixarna_cart--item > div button {
481
+ color: #ec6632;
482
+ }
483
+ :host .hemfixarna_categories {
484
+ display: grid;
485
+ gap: 1.5rem;
486
+ }
487
+ :host .hemfixarna_categories--wrapper {
488
+ gap: 2rem;
489
+ display: grid;
490
+ grid-template-columns: 1fr 1fr;
491
+ }
492
+ @media (max-width: 768px) {
493
+ :host .hemfixarna_categories--wrapper {
494
+ grid-template-columns: 1fr;
495
+ }
496
+ }
497
+ :host .hemfixarna_categories li {
498
+ position: relative;
499
+ background: #fff;
500
+ border-radius: 0.25rem;
501
+ min-height: 132px;
502
+ padding: 1.5rem;
503
+ box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.0392156863);
504
+ display: flex;
505
+ align-items: center;
506
+ gap: 1.5rem;
507
+ cursor: pointer;
508
+ }
509
+ :host .hemfixarna_categories li:hover {
510
+ transition: 0.1s all cubic-bezier(0.465, 0.183, 0.153, 0.946);
511
+ filter: brightness(1.02);
512
+ transform: scale(1.01);
513
+ box-shadow: 0px 8px 16px 2px rgba(0, 0, 0, 0.0392156863);
514
+ }
515
+ :host .hemfixarna_categories li > button {
516
+ height: 100%;
517
+ width: 100%;
518
+ }
519
+ :host .hemfixarna_categories li .price {
520
+ font-weight: 700;
521
+ }
522
+ :host .hemfixarna_content {
523
+ height: 100%;
524
+ overflow: auto;
525
+ padding: 0 2rem 4rem;
526
+ }
527
+ :host .hemfixarna_content--5 {
528
+ padding-top: 1rem;
529
+ }
530
+ :host .hemfixarna_crumbs {
531
+ position: relative;
532
+ padding: 1rem 1.5rem;
533
+ border-bottom: 1px solid #fcd9c9;
534
+ display: flex;
535
+ justify-content: space-between;
536
+ }
537
+ :host .hemfixarna_crumbs--back {
538
+ padding: 1rem 1.5rem 0.5rem;
539
+ display: flex;
540
+ align-items: center;
541
+ gap: 0.5rem;
542
+ box-shadow: none !important;
543
+ }
544
+ :host .hemfixarna_crumbs--back:hover {
545
+ transition: 0.1s all cubic-bezier(0.465, 0.183, 0.153, 0.946);
546
+ filter: brightness(1.02);
547
+ transform: scale(1.01);
548
+ box-shadow: 0px 8px 16px 2px rgba(0, 0, 0, 0.0392156863);
549
+ }
550
+ :host .hemfixarna_crumbs img {
551
+ cursor: pointer;
552
+ }
553
+ :host .hemfixarna_crumbs .close {
554
+ position: absolute;
555
+ right: -1rem;
556
+ top: -1rem;
557
+ z-index: 9;
558
+ }
559
+ :host .hemfixarna_crumbs .cart {
560
+ padding-left: 1rem;
561
+ position: relative;
562
+ }
563
+ :host .hemfixarna_crumbs .cart img {
564
+ cursor: inherit;
565
+ }
566
+ :host .hemfixarna_crumbs .cart span {
567
+ position: absolute;
568
+ background: #fff;
569
+ border-radius: 100%;
570
+ width: 24px;
571
+ height: 24px;
572
+ display: flex;
573
+ justify-content: center;
574
+ align-items: center;
575
+ font-weight: 600;
576
+ font-size: 13px;
577
+ line-height: 11px;
578
+ top: -0.5rem;
579
+ right: -0.75rem;
580
+ }
581
+ :host .hemfixarna_crumbs .cart_active {
582
+ cursor: pointer;
583
+ }
584
+ :host .hemfixarna_crumbs .cart_active span {
585
+ background: #25a710;
586
+ color: #fff;
587
+ }
588
+ :host .hemfixarna_crumbs--links {
589
+ display: flex;
590
+ align-items: center;
591
+ gap: 1rem;
592
+ overflow: auto;
593
+ }
594
+ @media (min-width: 769px) {
595
+ :host .hemfixarna_crumbs--links {
596
+ -ms-overflow-style: none;
597
+ }
598
+ :host .hemfixarna_crumbs--links::-webkit-scrollbar {
599
+ display: none;
600
+ }
601
+ :host .hemfixarna_crumbs--links::-webkit-scrollbar-button {
602
+ display: none;
603
+ }
604
+ }
605
+ :host .hemfixarna_crumbs button {
606
+ white-space: nowrap;
607
+ background: #f1ded6;
608
+ border-radius: 4rem;
609
+ padding: 0.75rem 1rem;
610
+ font-size: 12px;
611
+ font-weight: 600;
612
+ letter-spacing: 0.3px;
613
+ box-shadow: none !important;
614
+ }
615
+ :host .hemfixarna_crumbs button:not(.active):hover {
616
+ transition: 0.1s all cubic-bezier(0.465, 0.183, 0.153, 0.946);
617
+ filter: brightness(1.02);
618
+ transform: scale(1.01);
619
+ box-shadow: 0px 8px 16px 2px rgba(0, 0, 0, 0.0392156863);
620
+ }
621
+ :host .hemfixarna_crumbs .active {
622
+ background: #fffaf2;
623
+ cursor: default;
624
+ }
625
+ :host .hemfixarna_features {
626
+ gap: 0.75rem !important;
627
+ }
628
+ :host .hemfixarna_features li {
629
+ display: flex;
630
+ gap: 1rem;
631
+ align-items: center;
632
+ }
633
+ :host .hemfixarna_address {
634
+ margin-bottom: 1rem;
635
+ }
636
+ :host .hemfixarna_product {
637
+ display: grid;
638
+ gap: 1rem;
639
+ }
640
+ :host .hemfixarna_product--link {
641
+ font-weight: 700;
642
+ color: #474444;
643
+ text-underline-offset: 0.25rem;
644
+ }
645
+ :host .hemfixarna_product--left {
646
+ gap: 2rem;
647
+ }
648
+ :host .hemfixarna_product--right {
649
+ gap: 2rem;
650
+ }
651
+ :host .hemfixarna_product--price {
652
+ margin-top: 0.25rem;
653
+ font-weight: 700;
654
+ }
655
+ :host .hemfixarna_product--total {
656
+ text-align: center;
657
+ margin: -1rem 0;
658
+ font-size: 21px;
659
+ line-height: 28px;
660
+ }
661
+ :host .hemfixarna_product--item {
662
+ background: #fff;
663
+ padding: 1rem;
664
+ display: grid;
665
+ grid-template-columns: auto 75px;
666
+ box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.0392156863);
667
+ }
668
+ :host .hemfixarna_product--grid {
669
+ display: grid;
670
+ grid-template-columns: 1fr 1fr;
671
+ gap: 2rem;
672
+ }
673
+ @media (max-width: 768px) {
674
+ :host .hemfixarna_product--grid {
675
+ grid-template-columns: 1fr;
676
+ }
677
+ }
678
+ :host .hemfixarna_product--grid > div {
679
+ display: flex;
680
+ flex-direction: column;
681
+ }
682
+ :host .hemfixarna_product--grid ul {
683
+ display: flex;
684
+ flex-direction: column;
685
+ gap: 0.5rem;
686
+ }
687
+ :host .hemfixarna_product p {
688
+ margin: 0;
689
+ }
690
+ :host .hemfixarna_product--top {
691
+ display: flex;
692
+ gap: 2rem;
693
+ }
694
+ :host .hemfixarna_product--top > div {
695
+ width: 100%;
696
+ }
697
+ :host .hemfixarna_product--top > div h1 {
698
+ max-width: 80%;
699
+ }
700
+ @media (max-width: 768px) {
701
+ :host .hemfixarna_product--top > div h1 {
702
+ max-width: 100%;
703
+ }
704
+ }
705
+ :host .hemfixarna_product--top h4 {
706
+ margin-bottom: 0.5rem;
707
+ }
708
+ :host h5,
709
+ :host p {
710
+ margin: 0;
711
+ }
712
+ :host input[type=submit] {
713
+ cursor: pointer;
714
+ }
715
+ :host input[type=date] ~ label {
716
+ left: 3.5rem;
717
+ }
718
+ :host input[type=date] {
719
+ border: 1px solid #fcd9c9;
720
+ padding-left: 4rem;
721
+ }
722
+ :host input[type=checkbox] {
723
+ height: 1.125rem;
724
+ width: 1.125rem;
725
+ border: 1px solid #fcd9c9;
726
+ }
727
+ :host input[type=checkbox]:checked {
728
+ background: red;
729
+ }
730
+ :host input[type=date]::-webkit-calendar-picker-indicator {
731
+ background: transparent;
732
+ bottom: 0;
733
+ color: transparent;
734
+ cursor: pointer;
735
+ height: auto;
736
+ left: 0;
737
+ position: absolute;
738
+ right: 0;
739
+ top: 0;
740
+ width: auto;
741
+ }
742
+ :host button,
743
+ :host a {
744
+ cursor: pointer;
745
+ background: none;
746
+ border: none;
747
+ }
748
+ :host ul {
749
+ list-style: none;
750
+ margin: 0;
751
+ padding: 0;
752
+ }