@plurix/ecom-components 1.16.4-commerce.4 → 1.16.5-commerce.0
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.
- package/dist/assets/svgs/CartShop.d.ts +1 -0
- package/dist/assets/svgs/CartShop.js +12 -0
- package/dist/packages/ProductCard/ProducCardUnavailable/index.js +42 -44
- package/dist/packages/ProductCard/ProductCardButton/AddToCartButton.js +10 -6
- package/dist/packages/ProductCard/ProductCardHorizontal/index.js +113 -115
- package/dist/packages/ProductCard/ProductCardVertical/index.js +88 -90
- package/dist/styles/product-card-see-more-horizontal.global.css +1 -1
- package/dist/styles/product-card.global.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CartShop: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsxs as i, jsx as C } from "react/jsx-runtime";
|
|
2
|
+
const h = () => /* @__PURE__ */ i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3
|
+
/* @__PURE__ */ i("g", { clipPath: "url(#clip0_286_15272)", children: [
|
|
4
|
+
/* @__PURE__ */ C("path", { d: "M10.6305 17.4783C9.65952 17.4783 8.86963 18.2682 8.86963 19.2391C8.86963 20.2101 9.65952 21 10.6305 21C11.6015 21 12.3914 20.2101 12.3914 19.2391C12.3914 18.2682 11.6015 17.4783 10.6305 17.4783ZM10.6305 19.8261C10.3069 19.8261 10.0435 19.5628 10.0435 19.2391C10.0435 18.9155 10.3069 18.6522 10.6305 18.6522C10.9541 18.6522 11.2175 18.9155 11.2175 19.2391C11.2175 19.5628 10.9541 19.8261 10.6305 19.8261Z", fill: "white" }),
|
|
5
|
+
/* @__PURE__ */ C("path", { d: "M17.2826 17.4783C16.3116 17.4783 15.5217 18.2682 15.5217 19.2391C15.5217 20.2101 16.3116 21 17.2826 21C18.2536 21 19.0435 20.2101 19.0435 19.2391C19.0435 18.2682 18.2536 17.4783 17.2826 17.4783ZM17.2826 19.8261C16.959 19.8261 16.6956 19.5628 16.6956 19.2391C16.6956 18.9155 16.9589 18.6522 17.2826 18.6522C17.6062 18.6522 17.8696 18.9155 17.8696 19.2391C17.8696 19.5628 17.6062 19.8261 17.2826 19.8261Z", fill: "white" }),
|
|
6
|
+
/* @__PURE__ */ C("path", { d: "M19.818 13.4662L20.9919 6.42274C21.0203 6.25234 20.9725 6.07842 20.8609 5.94659C20.7493 5.81514 20.5857 5.73913 20.413 5.73913H7.34046L6.90231 3.47535C6.84884 3.19948 6.60731 3 6.32606 3H3.58693C3.2629 3 3 3.26293 3 3.58697C3 3.911 3.26293 4.17394 3.58697 4.17394H5.84193L6.27934 6.4341C6.27959 6.43529 6.27962 6.43649 6.27983 6.43768L7.40132 12.2313L8.09762 15.8289C8.15113 16.1048 8.39262 16.3043 8.6739 16.3043H19.2391C19.5632 16.3043 19.8261 16.0414 19.8261 15.7173C19.8261 15.3933 19.5632 15.1303 19.2391 15.1303H9.15807L8.93089 13.9564H19.2391C19.5261 13.9565 19.771 13.749 19.818 13.4662ZM10.826 11.0217C10.826 11.3458 10.563 11.6087 10.239 11.6087C9.91495 11.6087 9.65202 11.3458 9.65202 11.0217V8.6739C9.65202 8.34987 9.91495 8.08693 10.239 8.08693C10.563 8.08693 10.826 8.34987 10.826 8.6739V11.0217ZM14.3477 11.0217C14.3477 11.3458 14.0848 11.6087 13.7607 11.6087C13.4367 11.6087 13.1738 11.3458 13.1738 11.0217V8.6739C13.1738 8.34987 13.4367 8.08693 13.7607 8.08693C14.0848 8.08693 14.3477 8.34987 14.3477 8.6739V11.0217ZM17.8694 11.0217C17.8694 11.3458 17.6065 11.6087 17.2825 11.6087C16.9584 11.6087 16.6955 11.3458 16.6955 11.0217V8.6739C16.6955 8.34987 16.9584 8.08693 17.2825 8.08693C17.6065 8.08693 17.8694 8.34987 17.8694 8.6739V11.0217Z", fill: "white" })
|
|
7
|
+
] }),
|
|
8
|
+
/* @__PURE__ */ C("defs", { children: /* @__PURE__ */ C("clipPath", { id: "clip0_286_15272", children: /* @__PURE__ */ C("rect", { width: "18", height: "18", fill: "white", transform: "translate(3 3)" }) }) })
|
|
9
|
+
] });
|
|
10
|
+
export {
|
|
11
|
+
h as CartShop
|
|
12
|
+
};
|
|
@@ -1,56 +1,54 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
2
2
|
import { ProductCardImage as l } from "../ProductCardImage/index.js";
|
|
3
3
|
import { ProductCardName as e } from "../ProductCardName/index.js";
|
|
4
4
|
const u = ({
|
|
5
5
|
account: c,
|
|
6
|
-
image:
|
|
6
|
+
image: r,
|
|
7
7
|
name: d,
|
|
8
8
|
variant: t
|
|
9
|
-
}) => t === "horizontal" ? /* @__PURE__ */
|
|
9
|
+
}) => t === "horizontal" ? /* @__PURE__ */ a(
|
|
10
10
|
"div",
|
|
11
11
|
{
|
|
12
12
|
id: "product-card-unavailable",
|
|
13
13
|
className: "product-card-horizontal-unavailable",
|
|
14
|
-
children:
|
|
15
|
-
|
|
16
|
-
"div",
|
|
17
|
-
{
|
|
18
|
-
className: "product-card-horizontal",
|
|
19
|
-
style: {
|
|
20
|
-
backgroundColor: "var(--color-grayScale-faded)"
|
|
21
|
-
},
|
|
22
|
-
children: /* @__PURE__ */ r("div", { className: "product-card-section-product-horizontal out-of-stock", children: [
|
|
23
|
-
/* @__PURE__ */ a(l, { image: o, account: c }),
|
|
24
|
-
/* @__PURE__ */ a(
|
|
25
|
-
"div",
|
|
26
|
-
{
|
|
27
|
-
className: "product-card-horizontal-description out-of-stock",
|
|
28
|
-
style: {
|
|
29
|
-
backgroundColor: "var(--color-grayScale-lightest)"
|
|
30
|
-
},
|
|
31
|
-
children: /* @__PURE__ */ a(e, { name: d })
|
|
32
|
-
}
|
|
33
|
-
)
|
|
34
|
-
] })
|
|
35
|
-
}
|
|
36
|
-
),
|
|
37
|
-
/* @__PURE__ */ a("div", { className: "product-card-unavailable-text", children: /* @__PURE__ */ a("p", { children: "Indisponível" }) })
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
) : /* @__PURE__ */ r("div", { id: "product-card-unavailable", className: "out-of-stock", children: [
|
|
41
|
-
/* @__PURE__ */ r("div", { className: "product-card out-of-stock", children: [
|
|
42
|
-
/* @__PURE__ */ a(
|
|
43
|
-
l,
|
|
14
|
+
children: /* @__PURE__ */ a(
|
|
15
|
+
"div",
|
|
44
16
|
{
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
17
|
+
className: "product-card-horizontal",
|
|
18
|
+
style: {
|
|
19
|
+
backgroundColor: "var(--color-grayScale-faded)"
|
|
48
20
|
},
|
|
49
|
-
|
|
50
|
-
|
|
21
|
+
children: /* @__PURE__ */ o("div", { className: "product-card-section-product-horizontal out-of-stock", children: [
|
|
22
|
+
/* @__PURE__ */ a(l, { image: r, account: c }),
|
|
23
|
+
/* @__PURE__ */ a(
|
|
24
|
+
"div",
|
|
25
|
+
{
|
|
26
|
+
className: "product-card-horizontal-description out-of-stock",
|
|
27
|
+
style: {
|
|
28
|
+
backgroundColor: "var(--color-grayScale-lightest)"
|
|
29
|
+
},
|
|
30
|
+
children: /* @__PURE__ */ a(e, { name: d })
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
/* @__PURE__ */ a("div", { className: "product-card-unavailable-text", children: /* @__PURE__ */ a("p", { children: "Indisponível" }) })
|
|
34
|
+
] })
|
|
51
35
|
}
|
|
52
|
-
)
|
|
53
|
-
|
|
36
|
+
)
|
|
37
|
+
}
|
|
38
|
+
) : /* @__PURE__ */ a("div", { id: "product-card-unavailable", className: "out-of-stock", children: /* @__PURE__ */ o("div", { className: "product-card out-of-stock", children: [
|
|
39
|
+
/* @__PURE__ */ a(
|
|
40
|
+
l,
|
|
41
|
+
{
|
|
42
|
+
image: {
|
|
43
|
+
url: r.url,
|
|
44
|
+
alternateName: r.alternateName
|
|
45
|
+
},
|
|
46
|
+
variant: "vertical",
|
|
47
|
+
account: c
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
/* @__PURE__ */ o("div", { className: "out-of-stock-description-content", children: [
|
|
51
|
+
/* @__PURE__ */ a(
|
|
54
52
|
"div",
|
|
55
53
|
{
|
|
56
54
|
className: "product-card-description",
|
|
@@ -60,10 +58,10 @@ const u = ({
|
|
|
60
58
|
},
|
|
61
59
|
children: /* @__PURE__ */ a(e, { name: d })
|
|
62
60
|
}
|
|
63
|
-
)
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
] });
|
|
61
|
+
),
|
|
62
|
+
/* @__PURE__ */ a("div", { className: "product-card-unavailable-text", children: /* @__PURE__ */ a("p", { children: "Indisponível" }) })
|
|
63
|
+
] })
|
|
64
|
+
] }) });
|
|
67
65
|
export {
|
|
68
66
|
u as ProductCardUnavailable
|
|
69
67
|
};
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { CartShop as a } from "../../../assets/svgs/CartShop.js";
|
|
3
|
+
import i from "./CustomQuantitySelector/Button.js";
|
|
4
|
+
const m = ({ handleAddToCart: t }) => /* @__PURE__ */ o(
|
|
5
|
+
i,
|
|
5
6
|
{
|
|
6
7
|
onClick: t,
|
|
7
8
|
"data-button-variant": "primary",
|
|
8
9
|
"aria-label": "adicionado ao carrinho",
|
|
9
10
|
title: "Add to cart Sales",
|
|
10
11
|
className: "product-card-button",
|
|
11
|
-
children:
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ r(a, {}),
|
|
14
|
+
"Adicionar"
|
|
15
|
+
]
|
|
12
16
|
}
|
|
13
17
|
);
|
|
14
18
|
export {
|
|
15
|
-
|
|
19
|
+
m as AddToCartButton
|
|
16
20
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as s, jsxs as
|
|
1
|
+
import { jsx as s, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as C } from "react";
|
|
3
3
|
import { ProductCardUnavailable as z } from "../ProducCardUnavailable/index.js";
|
|
4
4
|
import { ProductCardBadgeKg as B } from "../ProductCardBadge/ProductCardBadgeKg.js";
|
|
@@ -7,7 +7,7 @@ import { ProductCardButton as N } from "../ProductCardButton/index.js";
|
|
|
7
7
|
import { ProductCardImage as O } from "../ProductCardImage/index.js";
|
|
8
8
|
import { ProductCardName as p } from "../ProductCardName/index.js";
|
|
9
9
|
import { ProductCardPrice as U } from "../ProductCardPrice/index.js";
|
|
10
|
-
import { ProductCardPromotionFlag as
|
|
10
|
+
import { ProductCardPromotionFlag as w } from "../ProductCardPromotionFlag/index.js";
|
|
11
11
|
const T = ({
|
|
12
12
|
account: r,
|
|
13
13
|
hasPlusFriendBadge: c,
|
|
@@ -16,7 +16,7 @@ const T = ({
|
|
|
16
16
|
hasPromotionalPrice: o,
|
|
17
17
|
clubPrice: g,
|
|
18
18
|
outOfStock: l,
|
|
19
|
-
variant:
|
|
19
|
+
variant: t,
|
|
20
20
|
defaultScListPrice: n,
|
|
21
21
|
isClubClient: u,
|
|
22
22
|
addToCartAction: P,
|
|
@@ -24,137 +24,135 @@ const T = ({
|
|
|
24
24
|
productInCart: v,
|
|
25
25
|
openModal: S
|
|
26
26
|
}) => {
|
|
27
|
-
var
|
|
28
|
-
const [b, k] = C(!1), [
|
|
27
|
+
var d, f;
|
|
28
|
+
const [b, k] = C(!1), [y, D] = C(!1), x = r === "domolivio" ? "#EBE0CF" : "#FDF3DE";
|
|
29
29
|
if (l)
|
|
30
30
|
return /* @__PURE__ */ s(
|
|
31
31
|
z,
|
|
32
32
|
{
|
|
33
|
-
image: (
|
|
33
|
+
image: (d = e.image) == null ? void 0 : d[0],
|
|
34
34
|
name: e.name,
|
|
35
35
|
variant: "horizontal",
|
|
36
36
|
account: r
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
const m = u && e.hasClubPrice;
|
|
40
|
-
return /* @__PURE__ */
|
|
40
|
+
return /* @__PURE__ */ s(
|
|
41
41
|
"div",
|
|
42
42
|
{
|
|
43
43
|
className: "product-card-horizontal",
|
|
44
44
|
style: {
|
|
45
|
-
backgroundColor: l ? "var(--color-grayScale-faded" : "
|
|
45
|
+
backgroundColor: l ? "var(--color-grayScale-faded" : "var(--color-grayScale-white)"
|
|
46
46
|
},
|
|
47
|
-
children:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
children: [
|
|
73
|
-
/* @__PURE__ */
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"div",
|
|
77
|
-
{
|
|
78
|
-
className: "product-card-section-badge-horizontal",
|
|
79
|
-
style: {
|
|
80
|
-
display: !D && !b ? "none" : ""
|
|
81
|
-
},
|
|
82
|
-
children: [
|
|
83
|
-
/* @__PURE__ */ s(
|
|
84
|
-
B,
|
|
85
|
-
{
|
|
86
|
-
unitMultiplier: e.unitMultiplier,
|
|
87
|
-
skuSpecifications: e.skuSpecifications,
|
|
88
|
-
measurementUnit: e.measurementUnit,
|
|
89
|
-
setIsShowProductBadge: x
|
|
90
|
-
}
|
|
91
|
-
),
|
|
92
|
-
/* @__PURE__ */ s(
|
|
93
|
-
M,
|
|
94
|
-
{
|
|
95
|
-
offers: e.offers,
|
|
96
|
-
defaultScListPrice: n,
|
|
97
|
-
nativeListPrice: e.customOffers.listPriceCustom,
|
|
98
|
-
nativeSpotPrice: e.customOffers.spotPriceCustom,
|
|
99
|
-
skuSpecifications: e.skuSpecifications,
|
|
100
|
-
unitMultiplier: e.unitMultiplier,
|
|
101
|
-
hasPromotionalPrice: o,
|
|
102
|
-
setIsShowProductBadge: k
|
|
103
|
-
}
|
|
104
|
-
)
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
)
|
|
108
|
-
] }),
|
|
109
|
-
a === "horizontal" && /* @__PURE__ */ s(
|
|
110
|
-
E,
|
|
111
|
-
{
|
|
112
|
-
variant: a,
|
|
113
|
-
productSectionBadge: {
|
|
114
|
-
text: i == null ? void 0 : i.flagText,
|
|
115
|
-
color: {
|
|
116
|
-
textColor: i == null ? void 0 : i.textColor,
|
|
117
|
-
backGroundColor: i == null ? void 0 : i.colorCode
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
),
|
|
122
|
-
/* @__PURE__ */ s(
|
|
123
|
-
U,
|
|
47
|
+
children: /* @__PURE__ */ a(
|
|
48
|
+
"div",
|
|
49
|
+
{
|
|
50
|
+
onClick: S,
|
|
51
|
+
className: "product-card-section-product-horizontal",
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ s(
|
|
54
|
+
O,
|
|
55
|
+
{
|
|
56
|
+
isProductClubAndClient: m,
|
|
57
|
+
variant: t,
|
|
58
|
+
hasPlusFriendBadge: c,
|
|
59
|
+
promotion: i,
|
|
60
|
+
image: (f = e.image) == null ? void 0 : f[0],
|
|
61
|
+
account: r
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
/* @__PURE__ */ a(
|
|
65
|
+
"div",
|
|
66
|
+
{
|
|
67
|
+
className: "product-card-horizontal-description",
|
|
68
|
+
style: {
|
|
69
|
+
backgroundColor: m ? x : "var(--color-grayScale-faded)"
|
|
70
|
+
},
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ a("div", { className: "product-card-section-name", children: [
|
|
73
|
+
/* @__PURE__ */ s(p, { name: e.name }),
|
|
74
|
+
/* @__PURE__ */ a(
|
|
75
|
+
"div",
|
|
124
76
|
{
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
hasPromotionalPrice: o,
|
|
129
|
-
measurementUnit: e.measurementUnit,
|
|
130
|
-
skuSpecifications: e.skuSpecifications,
|
|
131
|
-
customOffers: {
|
|
132
|
-
listPriceCustom: e.customOffers.listPriceCustom,
|
|
133
|
-
hasDiscount: e.customOffers.hasDiscount,
|
|
134
|
-
spotPriceCustom: e.customOffers.spotPriceCustom,
|
|
135
|
-
spotPriceKg: e.customOffers.spotPriceKg
|
|
77
|
+
className: "product-card-section-badge-horizontal",
|
|
78
|
+
style: {
|
|
79
|
+
display: !y && !b ? "none" : ""
|
|
136
80
|
},
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
81
|
+
children: [
|
|
82
|
+
/* @__PURE__ */ s(
|
|
83
|
+
B,
|
|
84
|
+
{
|
|
85
|
+
unitMultiplier: e.unitMultiplier,
|
|
86
|
+
skuSpecifications: e.skuSpecifications,
|
|
87
|
+
measurementUnit: e.measurementUnit,
|
|
88
|
+
setIsShowProductBadge: D
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ s(
|
|
92
|
+
M,
|
|
93
|
+
{
|
|
94
|
+
offers: e.offers,
|
|
95
|
+
defaultScListPrice: n,
|
|
96
|
+
nativeListPrice: e.customOffers.listPriceCustom,
|
|
97
|
+
nativeSpotPrice: e.customOffers.spotPriceCustom,
|
|
98
|
+
skuSpecifications: e.skuSpecifications,
|
|
99
|
+
unitMultiplier: e.unitMultiplier,
|
|
100
|
+
hasPromotionalPrice: o,
|
|
101
|
+
setIsShowProductBadge: k
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
]
|
|
140
105
|
}
|
|
141
106
|
)
|
|
142
|
-
]
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
107
|
+
] }),
|
|
108
|
+
t === "horizontal" && /* @__PURE__ */ s(
|
|
109
|
+
w,
|
|
110
|
+
{
|
|
111
|
+
variant: t,
|
|
112
|
+
productSectionBadge: {
|
|
113
|
+
text: i == null ? void 0 : i.flagText,
|
|
114
|
+
color: {
|
|
115
|
+
textColor: i == null ? void 0 : i.textColor,
|
|
116
|
+
backGroundColor: i == null ? void 0 : i.colorCode
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
),
|
|
121
|
+
/* @__PURE__ */ s(
|
|
122
|
+
U,
|
|
123
|
+
{
|
|
124
|
+
account: r,
|
|
125
|
+
isClubClient: u,
|
|
126
|
+
unitMultiplier: e.unitMultiplier,
|
|
127
|
+
hasPromotionalPrice: o,
|
|
128
|
+
measurementUnit: e.measurementUnit,
|
|
129
|
+
skuSpecifications: e.skuSpecifications,
|
|
130
|
+
customOffers: {
|
|
131
|
+
listPriceCustom: e.customOffers.listPriceCustom,
|
|
132
|
+
hasDiscount: e.customOffers.hasDiscount,
|
|
133
|
+
spotPriceCustom: e.customOffers.spotPriceCustom,
|
|
134
|
+
spotPriceKg: e.customOffers.spotPriceKg
|
|
135
|
+
},
|
|
136
|
+
defaultScListPrice: n,
|
|
137
|
+
clubPrice: g,
|
|
138
|
+
hasPlusFriendBadge: c
|
|
139
|
+
}
|
|
140
|
+
),
|
|
141
|
+
/* @__PURE__ */ s(
|
|
142
|
+
N,
|
|
143
|
+
{
|
|
144
|
+
addToCartAction: P,
|
|
145
|
+
quantitySelectorAction: h,
|
|
146
|
+
productInCart: v,
|
|
147
|
+
layout: t
|
|
148
|
+
}
|
|
149
|
+
)
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
)
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
)
|
|
158
156
|
}
|
|
159
157
|
);
|
|
160
158
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f } from "react";
|
|
3
3
|
import { ProductCardUnavailable as M } from "../ProducCardUnavailable/index.js";
|
|
4
4
|
import { ProductCardBadgeKg as N } from "../ProductCardBadge/ProductCardBadgeKg.js";
|
|
@@ -8,7 +8,7 @@ import { ProductCardImage as x } from "../ProductCardImage/index.js";
|
|
|
8
8
|
import { ProductCardName as E } from "../ProductCardName/index.js";
|
|
9
9
|
import { ProductCardPrice as I } from "../ProductCardPrice/index.js";
|
|
10
10
|
const G = ({
|
|
11
|
-
account:
|
|
11
|
+
account: s,
|
|
12
12
|
hasPlusFriendBadge: o,
|
|
13
13
|
promotion: d,
|
|
14
14
|
product: i,
|
|
@@ -25,7 +25,7 @@ const G = ({
|
|
|
25
25
|
productInCart: S
|
|
26
26
|
}) => {
|
|
27
27
|
var l, u;
|
|
28
|
-
const [k, b] = f(!1), [D, O] = f(!1), B =
|
|
28
|
+
const [k, b] = f(!1), [D, O] = f(!1), B = s === "domolivio" ? "#EBE0CF" : "#FDF3DE";
|
|
29
29
|
if (p)
|
|
30
30
|
return /* @__PURE__ */ e(
|
|
31
31
|
M,
|
|
@@ -33,102 +33,100 @@ const G = ({
|
|
|
33
33
|
image: (l = i.image) == null ? void 0 : l[0],
|
|
34
34
|
name: i.name,
|
|
35
35
|
variant: r,
|
|
36
|
-
account:
|
|
36
|
+
account: s
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
const n = m && i.hasClubPrice;
|
|
40
|
-
return /* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */ e(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
children: [
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"div",
|
|
65
|
-
{
|
|
66
|
-
className: "product-card-section-badge",
|
|
67
|
-
style: {
|
|
68
|
-
display: !D && !k ? "none" : ""
|
|
69
|
-
},
|
|
70
|
-
children: [
|
|
71
|
-
/* @__PURE__ */ e(
|
|
72
|
-
N,
|
|
73
|
-
{
|
|
74
|
-
unitMultiplier: i.unitMultiplier,
|
|
75
|
-
skuSpecifications: i.skuSpecifications,
|
|
76
|
-
measurementUnit: i.measurementUnit,
|
|
77
|
-
setIsShowProductBadge: O
|
|
78
|
-
}
|
|
79
|
-
),
|
|
80
|
-
/* @__PURE__ */ e(
|
|
81
|
-
y,
|
|
82
|
-
{
|
|
83
|
-
offers: i.offers,
|
|
84
|
-
defaultScListPrice: c,
|
|
85
|
-
nativeListPrice: i.customOffers.listPriceCustom,
|
|
86
|
-
nativeSpotPrice: i.customOffers.spotPriceCustom,
|
|
87
|
-
skuSpecifications: i.skuSpecifications,
|
|
88
|
-
unitMultiplier: i.unitMultiplier,
|
|
89
|
-
hasPromotionalPrice: a,
|
|
90
|
-
setIsShowProductBadge: b
|
|
91
|
-
}
|
|
92
|
-
)
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
)
|
|
96
|
-
] }),
|
|
97
|
-
/* @__PURE__ */ e(
|
|
98
|
-
I,
|
|
40
|
+
return /* @__PURE__ */ e("div", { id: "product-card", children: /* @__PURE__ */ e("div", { className: "product-card", children: /* @__PURE__ */ t("div", { className: "product-card-container", onClick: g, children: [
|
|
41
|
+
/* @__PURE__ */ e(
|
|
42
|
+
x,
|
|
43
|
+
{
|
|
44
|
+
isProductClubAndClient: n,
|
|
45
|
+
variant: r,
|
|
46
|
+
hasPlusFriendBadge: o,
|
|
47
|
+
promotion: d,
|
|
48
|
+
image: (u = i.image) == null ? void 0 : u[0],
|
|
49
|
+
account: s
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
/* @__PURE__ */ t(
|
|
53
|
+
"div",
|
|
54
|
+
{
|
|
55
|
+
className: "product-card-description",
|
|
56
|
+
style: {
|
|
57
|
+
backgroundColor: n ? B : "var(--color-grayScale-faded)"
|
|
58
|
+
},
|
|
59
|
+
children: [
|
|
60
|
+
/* @__PURE__ */ t("div", { className: "product-card-section-name", children: [
|
|
61
|
+
/* @__PURE__ */ e(E, { name: i.name }),
|
|
62
|
+
/* @__PURE__ */ t(
|
|
63
|
+
"div",
|
|
99
64
|
{
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
unitMultiplier: i.unitMultiplier,
|
|
104
|
-
hasPromotionalPrice: a,
|
|
105
|
-
measurementUnit: i.measurementUnit,
|
|
106
|
-
skuSpecifications: i.skuSpecifications,
|
|
107
|
-
customOffers: {
|
|
108
|
-
listPriceCustom: i.customOffers.listPriceCustom,
|
|
109
|
-
hasDiscount: i.customOffers.hasDiscount,
|
|
110
|
-
spotPriceCustom: i.customOffers.spotPriceCustom,
|
|
111
|
-
spotPriceKg: i.customOffers.spotPriceKg
|
|
65
|
+
className: "product-card-section-badge",
|
|
66
|
+
style: {
|
|
67
|
+
display: !D && !k ? "none" : ""
|
|
112
68
|
},
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ e(
|
|
71
|
+
N,
|
|
72
|
+
{
|
|
73
|
+
unitMultiplier: i.unitMultiplier,
|
|
74
|
+
skuSpecifications: i.skuSpecifications,
|
|
75
|
+
measurementUnit: i.measurementUnit,
|
|
76
|
+
setIsShowProductBadge: O
|
|
77
|
+
}
|
|
78
|
+
),
|
|
79
|
+
/* @__PURE__ */ e(
|
|
80
|
+
y,
|
|
81
|
+
{
|
|
82
|
+
offers: i.offers,
|
|
83
|
+
defaultScListPrice: c,
|
|
84
|
+
nativeListPrice: i.customOffers.listPriceCustom,
|
|
85
|
+
nativeSpotPrice: i.customOffers.spotPriceCustom,
|
|
86
|
+
skuSpecifications: i.skuSpecifications,
|
|
87
|
+
unitMultiplier: i.unitMultiplier,
|
|
88
|
+
hasPromotionalPrice: a,
|
|
89
|
+
setIsShowProductBadge: b
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
]
|
|
116
93
|
}
|
|
117
94
|
)
|
|
118
|
-
]
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
95
|
+
] }),
|
|
96
|
+
/* @__PURE__ */ e(
|
|
97
|
+
I,
|
|
98
|
+
{
|
|
99
|
+
account: s,
|
|
100
|
+
hasClub: C,
|
|
101
|
+
isClubClient: m,
|
|
102
|
+
unitMultiplier: i.unitMultiplier,
|
|
103
|
+
hasPromotionalPrice: a,
|
|
104
|
+
measurementUnit: i.measurementUnit,
|
|
105
|
+
skuSpecifications: i.skuSpecifications,
|
|
106
|
+
customOffers: {
|
|
107
|
+
listPriceCustom: i.customOffers.listPriceCustom,
|
|
108
|
+
hasDiscount: i.customOffers.hasDiscount,
|
|
109
|
+
spotPriceCustom: i.customOffers.spotPriceCustom,
|
|
110
|
+
spotPriceKg: i.customOffers.spotPriceKg
|
|
111
|
+
},
|
|
112
|
+
defaultScListPrice: c,
|
|
113
|
+
clubPrice: P,
|
|
114
|
+
hasPlusFriendBadge: o
|
|
115
|
+
}
|
|
116
|
+
),
|
|
117
|
+
/* @__PURE__ */ e(
|
|
118
|
+
U,
|
|
119
|
+
{
|
|
120
|
+
addToCartAction: h,
|
|
121
|
+
quantitySelectorAction: v,
|
|
122
|
+
productInCart: S,
|
|
123
|
+
layout: r
|
|
124
|
+
}
|
|
125
|
+
)
|
|
126
|
+
]
|
|
129
127
|
}
|
|
130
128
|
)
|
|
131
|
-
] });
|
|
129
|
+
] }) }) });
|
|
132
130
|
};
|
|
133
131
|
export {
|
|
134
132
|
G as ProductCardVertical
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.product-card-see-more{width:162px;height:100%;display:flex;flex-direction:column;min-height:276px;max-height:304px
|
|
1
|
+
.product-card-see-more{width:162px;height:100%;display:flex;flex-direction:column;min-height:276px;max-height:304px;border:1px solid var(--color-grayScale-lightest);border-radius:8px}.product-card-see-more-text-container{display:flex;align-items:center;flex:1;height:100%}.border-color-white{border:1px solid var(--color-grayScale-white)}.product-card-see-more-link-horizontal,.product-card-see-more-text{padding:0 16px;margin:auto 0;font-weight:var(--text-weight-regular);font-size:var(--text-size-2);line-height:20px;color:var(--color-grayScale)}.product-card-see-more-link-horizontal,.product-card-see-more-text span{display:block;font-weight:var(--text-weight-bold);font-size:24px;line-height:28px}.product-card-see-more-link-horizontal,.product-card-see-more-link{display:flex;align-items:center;justify-content:center;height:40px;margin:8px;border:1px solid var(--color-main);border-radius:20px;background-color:var(--color-main);font-size:var(--text-size-2);font-weight:var(--text-weight-bold);line-height:20px;text-align:center;color:var(--color-grayScale-white);text-decoration:none}.product-card-see-more-horizontal{width:304px;min-height:176px;max-height:206px;display:flex;flex-direction:column;height:100%;border:1px solid var(--color-grayScale-lightest);border-radius:8px}.product-card-see-more-horizontal-container{flex:1}.product-card-see-more-horizontal div{padding:24px 16px}@media (min-width: 769px){.product-card-see-more{width:226px;min-height:324px;max-height:350px}.product-card-see-more-text span{font-size:32px;line-height:36px}}.product-card-see-more-text-horizontal{max-width:270px;font-weight:var(--text-weight-regular);font-size:var(--text-size-2);line-height:20px;color:var(--color-grayScale)}.product-card-see-more-text-horizontal span{font-weight:var(--text-weight-bold);font-size:24px;line-height:28px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--product-card-horizontal-width: 100px;--product-card-horizontal-margin: 8px;--product-card-horizontal-padding: 8px}#product-card,#product-card-unavailable{display:flex;flex-direction:column;min-height:276px;max-height:304px;height:100%}#product-card-unavailable.product-card-horizontal-unavailable{min-height:172px;max-height:206px}.product-card{display:flex;flex-direction:column;flex:1;position:relative;height:100%;cursor:pointer;border:1px solid var(--color-grayScale-lightest);border-top-left-radius:8px;border-top-right-radius:8px;border-bottom:0;overflow:hidden}.product-card-container{height:100%;display:flex;flex-direction:column;flex:1}.product-card,.product-card+#product-card-button,.product-card+.product-card-unavailable-text{width:162px;min-width:150px;max-width:162px}.product-card-description{display:flex;flex-direction:column;gap:4px;padding:8px;flex:1}.product-card-badge{display:flex;gap:4px}.product-card-badge-kg{display:inline-block;width:fit-content;height:16px;padding:2px 4px;background-color:var(--color-main);border-radius:2px;color:var(--color-grayScale-white);font-weight:var(--text-weight-bold);font-size:10px;line-height:13px;text-align:center;vertical-align:middle}.product-card-discount-badge{display:flex;align-items:center;justify-content:center;width:42px;height:16px;background-color:var(--color-badge-main);border-radius:2px}.product-card-discount-badge-value{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;color:var(--color-badge-secondary)}.product-card-badge-club{width:43px;background-color:var(--color-badge-main);border-radius:4px;text-align:center}.product-card-badge-club-text{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;color:var(--color-badge-secondary);padding:1px 0}.product-card-section-badge{display:flex;gap:4px}.product-card-horizontal{border-radius:8px}.product-card-horizontal{min-width:304px;max-width:304px;border-radius:8px;flex:1;display:flex;flex-direction:column;height:100%;max-height:206px}.product-card-horizontal+.product-card-unavailable-text{min-width:304px;max-width:304px}.product-card-section-product-horizontal{display:flex;align-items:center;position:relative;cursor:pointer;background-color:#fff;border:1px solid var(--color-grayScale-lightest);border-radius:8px;border-bottom:unset;border-bottom-left-radius:unset;border-bottom-right-radius:unset;height:100%}.product-card-section-product-horizontal .product-card-image-container{position:unset;height:100px;padding:0 var(--product-card-horizontal-padding);width:calc(var(--product-card-horizontal-width) + (var(--product-card-horizontal-margin) * 2));margin:0}.product-card-section-product-horizontal .product-card-image-container .image{width:var(--product-card-horizontal-width);height:100px;object-fit:contain}.product-card-horizontal-description{display:flex;flex-direction:column;gap:4px;min-height:123px;max-height:158px;padding:7.5px 8px;border-top-right-radius:7px;width:calc(100% - (var(--product-card-horizontal-width) + (var(--product-card-horizontal-margin) * 2)));height:100%}.product-card-section-name{display:flex;flex-direction:column;gap:4px}.product-card-horizontal-description .product-card-club-price{line-height:18px}.out-of-stock{min-height:126px}.out-of-stock-description-content{display:flex;flex-direction:column;flex:1}.product-card-section-product-horizontal .product-card-name{font-size:var(--text-size-1);line-height:20px;min-height:auto;height:100%;max-width:172px}.product-card-section-product-horizontal .product-card-section-badge-horizontal{display:flex;gap:4px;height:16px}.product-card-horizontal .product-card-price-container{display:flex;flex-direction:row;align-items:center;min-height:20px}.product-card-horizontal .product-card-price-container .product-card-old-price{padding-right:4px;border-right:1px solid var(--color-grayScale-light)}.product-card-horizontal .product-card-price-container .product-card-new-price{padding-left:4px;font-size:var(--text-size-2);line-height:20px}.product-card-section-badge-container.horizontal{position:unset;height:24px;width:100%}.product-card-button{display:flex;justify-content:center;align-items:center;width:162px;min-width:150px;max-width:162px;height:48px;padding:0;border:1px solid var(--color-main);border-top:none;border-bottom-left-radius:8px;border-bottom-right-radius:8px;background-color:var(--color-main);color:var(--color-grayScale-white);font-weight:var(--text-weight-bold);font-size:var(--text-size-2);line-height:20px;cursor:pointer}.product-card-horizontal .product-card-button{font-size:var(--text-size-3);line-height:24px;width:100%;max-width:none}.product-card-button.unavailable{background-color:var(--color-grayScale-lightest);color:#545454;cursor:not-allowed}.product-card-button .button{padding:12px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;font-size:var(--text-size-3);line-height:24px;max-height:unset}.product-card-image-container{position:relative;display:flex;justify-content:center;align-items:center;padding:7.5px 8px;background-color:#fff;border-top-left-radius:7px;border-top-right-radius:7px}.product-card-image-container .image{max-width:96px;height:96px;object-fit:contain}.product-club-badge{position:absolute;width:50px;height:18px;inset:8px 0 0 8px}.product-card-section-badge-container{position:absolute;bottom:8px;height:18px;width:calc(100% - 32px);display:flex;justify-content:center;align-items:center;border-radius:4px}.product-card-section-badge-text{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px}.product-club-badge.horizontal{inset:9px 0 0 9px}.product-card-name{display:-webkit-box;font-weight:var(--text-weight-regular);font-size:var(--text-size-1);line-height:18px;color:#545454;vertical-align:middle;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-card-price{display:flex;flex-direction:column;gap:4px;margin-top:auto}.product-card-club-price{display:inline-block;width:100%;padding:4px;background-color:#fadb9d;border-radius:4px;color:#2c3490;font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px}.product-card-old-price{height:16px;font-weight:400;font-size:var(--text-size-0);line-height:16px;color:#545454;text-decoration:line-through;vertical-align:middle}.product-card-new-price{font-weight:var(--text-weight-bold);font-size:var(--text-size-3);line-height:24px;color:var(--color-main);vertical-align:middle}.product-card-price-container{display:flex;flex-direction:column;min-height:24px}.product-card-old-price .mobile{display:block}@media (min-width: 769px){.product-card,.product-card+#product-card-button,.product-card+.product-card-unavailable-text{width:226px;max-width:226px}#product-card,#product-card-unavailable{min-height:324px;max-height:350px}.product-card-button{width:226px;max-width:226px}.product-card-description{padding:8px 16px}.product-card-unavailable{height:74px}.product-card-image-container{padding:15.5px 16px 7.5px}.product-card-image-container .image{max-width:144px;height:144px}.product-club-badge{width:67px;height:24px;inset:16px 0 0 16px}.product-card-section-badge-container{max-width:194px;height:24px}.product-card-section-badge-text{font-size:var(--text-size-1);line-height:18px}.product-card-name{font-size:var(--text-size-2);line-height:20px}.product-card-old-price .mobile{display:none}.product-card-old-price{padding-right:4px;border-right:2px solid var(--color-grayScale-light)}.product-card-new-price{padding-left:4px}.product-card-club-price{font-size:var(--text-size-1);line-height:18px}.product-card-price-container{display:flex;flex-direction:row;align-items:center}.product-card-badge-club{width:57px}.product-card-badge-club-text{font-size:var(--text-size-1);line-height:18px;padding:3px 0}}.quantity-selector{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:48px;border:1px solid var(--color-main);border-bottom-left-radius:8px;border-bottom-right-radius:8px;background-color:var(--bg-neutral-lightest);box-shadow:0 0 0 var(--border-width-0) var(--color-support-shadow);transition:box-shadow .2s ease}[data-store-quantity-selector] [data-store-icon]{display:inline-block;margin:0;color:var(--color-main);line-height:0}.quantity-selector .quantity-selector-quantity{display:block;width:100%;height:100%;padding:0;font-family:DM Sans,sans-serif;font-size:var;font-weight:400;line-height:20px;color:var(--color-grayScale);text-align:center;background-color:transparent;border-width:0;opacity:1}.quantity-selector .quantity-selector-quantity:focus{outline:0}.quantity-selector .quantity-selector-quantity:disabled{color:var(--color-grayScale);opacity:1}.quantity-selector-button{display:flex;align-items:center;justify-content:center;width:46px;height:46px;padding:var(--space-0);font-family:DM Sans,sans-serif;background-color:var(--color-grayScale-lightest);border:unset;border-bottom-left-radius:7px;cursor:pointer}.quantity-selector-button.quantity-selector-button-plus{border-bottom-right-radius:7px;border-bottom-left-radius:unset}.quantity-selector-measure-unit{font-family:DM Sans,sans-serif;font-size:var;font-weight:400;line-height:20px;color:var(--color-grayScale)}.quantity-selector .quantity-selector-button [data-store-icon]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:var(--border-radius-default);transition:background-color .2s ease}.quantity-selector .quantity-selector-button:hover:not(:disabled) [data-store-icon]{background-color:var(--bg-secondary-light)}.quantity-selector .quantity-selector-button:disabled{cursor:not-allowed}.quantity-selector .quantity-selector-button:disabled [data-store-icon]{color:var(--color-grayScale-light)}.quantity-selector:hover:not([data-store-quantity-selector=disabled]){box-shadow:0 0 0 var(--border-width-1) var(--color-support-shadow)}.quantity-selector[data-store-quantity-selector=disabled]{background-color:var(--color-grayScale-light);box-shadow:0 0 0 var(--border-width-0) var(--color-support-shadow)}.quantity-selector[data-store-quantity-selector=disabled] [data-quantity-selector-button]:hover [data-store-icon]{background-color:transparent}@media not all and (min-resolution: .001dpcm){@supports (-webkit-appearance: none){.quantity-selector .quantity-selector-button:focus{outline:none;box-shadow:none}.quantity-selector .quantity-selector-button:focus [data-store-icon]{outline:2px solid var(--color-main);outline-offset:2px;background-color:var(--bg-secondary-light)}}}.quantity-selector .quantity-selector-button:focus-visible{outline:none;box-shadow:none}.quantity-selector .quantity-selector-button:focus-visible [data-store-icon]{outline:2px solid var(--color-main);outline-offset:2px;background-color:var(--bg-secondary-light)}.product-add-text{display:block;height:10px;padding-bottom:17px;text-align:center;transition-delay:.25s;transition-property:margin-top}.product-add-text p{font-family:DM Sans,sans-serif;font-size:var(--text-size-0);font-weight:400;font-style:normal;line-height:16px;color:var(--color-positiveFeedback-dark);text-align:center;white-space:nowrap}@include media(">tablet"){.product-add-text p {font-size: var(--text-size-1); line-height: 18px;}}.product-card-unavailable-text{height:48px;width:100%;background-color:var(--color-grayScale-lightest);border:1px solid var(--color-grayScale-lightest);color:var(--color-grayScale-darkest);text-align:center;font-size:var(--text-size-3);font-weight:var(--text-weight-bold);line-height:24px;align-content:center;border-bottom-left-radius:8px;border-bottom-right-radius:8px}
|
|
1
|
+
:root{--product-card-horizontal-width: 100px;--product-card-horizontal-margin: 8px;--product-card-horizontal-padding: 8px}#product-card,#product-card-unavailable{display:flex;flex-direction:column;min-height:276px;max-height:304px;height:100%}#product-card-unavailable.product-card-horizontal-unavailable{min-height:172px;max-height:206px}.product-card{display:flex;flex-direction:column;flex:1;position:relative;height:100%;cursor:pointer;border:1px solid var(--color-grayScale-lightest);border-radius:8px;overflow:hidden}.product-card-container{height:100%;display:flex;flex-direction:column;flex:1}.product-card,.product-card+.product-card-unavailable-text{width:162px}.product-card-description{display:flex;flex-direction:column;gap:4px;padding:8px;flex:1}.product-card-badge{display:flex;gap:4px}.product-card-badge-kg{display:inline-block;width:fit-content;height:16px;padding:2px 4px;background-color:var(--color-main);border-radius:2px;color:var(--color-grayScale-white);font-weight:var(--text-weight-bold);font-size:10px;line-height:13px;text-align:center;vertical-align:middle}.product-card-discount-badge{display:flex;align-items:center;justify-content:center;width:42px;height:16px;background-color:var(--color-badge-main);border-radius:2px}.product-card-discount-badge-value{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;color:var(--color-badge-secondary)}.product-card-badge-club{width:43px;background-color:var(--color-badge-main);border-radius:4px;text-align:center}.product-card-badge-club-text{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;color:var(--color-badge-secondary);padding:1px 0}.product-card-section-badge{display:flex;gap:4px}.product-card-horizontal{display:flex;flex-direction:column;width:304px;height:calc(100% + 40px);max-height:206px;border:1px solid var(--color-grayScale-lightest);border-radius:8px}.product-card-section-product-horizontal{display:flex;position:relative;align-items:center;height:100%;cursor:pointer;background-color:var(--color-grayScale-white);border-radius:8px}.product-card-section-product-horizontal .product-card-image-container{position:relative;align-self:flex-start;padding:0 var(--product-card-horizontal-padding);width:calc(var(--product-card-horizontal-width) + (var(--product-card-horizontal-margin) * 2));margin:8px 0 0}.product-card-section-product-horizontal .product-card-image-container .image{width:var(--product-card-horizontal-width);height:100px;object-fit:contain}.product-card-horizontal-description{display:flex;flex-direction:column;gap:4px;min-height:123px;padding:7.5px 8px;width:calc(100% - (var(--product-card-horizontal-width) + (var(--product-card-horizontal-margin) * 2)));height:100%;border-radius:8px;border-bottom-left-radius:unset;border-top-left-radius:unset}.product-card-section-name{display:flex;flex-direction:column;gap:4px}.product-card-horizontal-description .product-card-club-price{line-height:18px}.out-of-stock{min-height:126px}.out-of-stock-description-content{display:flex;flex-direction:column;flex:1;background-color:var(--color-grayScale-faded)}.product-card-section-product-horizontal .product-card-name{font-size:var(--text-size-1);line-height:20px;min-height:auto;height:100%;max-width:172px}.product-card-section-product-horizontal .product-card-section-badge-horizontal{display:flex;gap:4px;height:16px}.product-card-horizontal .product-card-price{margin-top:unset}.product-card-horizontal .product-card-price-container{display:flex;flex-direction:row;align-items:center;min-height:20px}.product-card-horizontal .product-card-price-container .product-card-old-price{padding-right:4px;border-right:1px solid var(--color-grayScale-light)}.product-card-horizontal .product-card-price-container .product-card-new-price{padding-left:4px;font-size:var(--text-size-2);line-height:20px}.product-card-section-badge-container.horizontal{position:unset;height:24px;width:100%}.product-card-button{display:flex;justify-content:center;align-items:center;width:100%;height:40px;padding:8px 16px;margin-top:4px;border:1px solid var(--color-main);border-radius:20px;background-color:var(--color-main);color:var(--color-grayScale-white);font-weight:var(--text-weight-bold);font-size:var(--text-size-2);line-height:20px;cursor:pointer}.product-card-button span{display:flex;align-items:center;gap:4px}.product-card-horizontal .product-card-button{position:absolute;bottom:0;left:0;width:stretch;max-width:none;margin:8px;font-size:var(--text-size-3);line-height:24px}.product-card-horizontal .input-add{position:absolute;bottom:0;left:0;width:stretch;margin:8px}.product-card-button.unavailable{background-color:var(--color-grayScale-lightest);color:#545454;cursor:not-allowed}.product-card-button .button{padding:12px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;font-size:var(--text-size-3);line-height:24px;max-height:unset}.product-card-image-container{position:relative;display:flex;justify-content:center;align-items:center;padding:7.5px 8px;background-color:var(--color-grayScale-white);border-top-left-radius:7px;border-top-right-radius:7px}.product-card-image-container .image{max-width:96px;height:96px;object-fit:contain}.product-club-badge{position:absolute;width:50px;height:18px;inset:8px 0 0 8px}.product-card-section-badge-container{position:absolute;bottom:8px;height:18px;width:calc(100% - 32px);display:flex;justify-content:center;align-items:center;border-radius:4px}.product-card-section-badge-text{font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px}.product-club-badge.horizontal{inset:9px 0 0 9px}.product-card-name{display:-webkit-box;font-weight:var(--text-weight-regular);font-size:var(--text-size-1);line-height:18px;color:#545454;vertical-align:middle;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-card-price{display:flex;flex-direction:column;gap:4px;margin-top:auto}.product-card-club-price{display:inline-block;width:100%;padding:4px;background-color:#fadb9d;border-radius:4px;color:#2c3490;font-weight:var(--text-weight-bold);font-size:var(--text-size-0);line-height:16px}.product-card-old-price{height:16px;font-weight:400;font-size:var(--text-size-0);line-height:16px;color:#545454;text-decoration:line-through;vertical-align:middle}.product-card-new-price{font-weight:var(--text-weight-bold);font-size:var(--text-size-3);line-height:24px;color:var(--color-main);vertical-align:middle}.product-card-price-container{display:flex;flex-direction:column;min-height:24px}.product-card-old-price .mobile{display:block}@media (min-width: 769px){.product-card,.product-card+.product-card-unavailable-text{width:226px}#product-card,#product-card-unavailable{min-height:324px;max-height:350px}.product-card-description{padding:8px 16px}.product-card-unavailable{height:74px}.product-card-image-container{padding:15.5px 16px 7.5px}.product-card-image-container .image{max-width:144px;height:144px}.product-club-badge{width:67px;height:24px;inset:16px 0 0 16px}.product-card-section-badge-container{max-width:194px;height:24px}.product-card-section-badge-text{font-size:var(--text-size-1);line-height:18px}.product-card-name{font-size:var(--text-size-2);line-height:20px}.product-card-old-price .mobile{display:none}.product-card-old-price{padding-right:4px;border-right:2px solid var(--color-grayScale-light)}.product-card-new-price{padding-left:4px}.product-card-club-price{font-size:var(--text-size-1);line-height:18px}.product-card-price-container{display:flex;flex-direction:row;align-items:center}.product-card-badge-club{width:57px}.product-card-badge-club-text{font-size:var(--text-size-1);line-height:18px;padding:3px 0}}.quantity-selector{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;height:40px;border:1px solid var(--color-grayScale-light);border-radius:20px;background-color:var(--color-grayScale-white);box-shadow:0 0 0 var(--border-width-0) var(--color-support-shadow);transition:box-shadow .2s ease}[data-store-quantity-selector] [data-store-icon]{display:inline-block;margin:0;color:var(--color-main);line-height:0}.quantity-selector .quantity-selector-quantity{display:block;width:100%;height:100%;padding:0;font-weight:400;line-height:20px;color:var(--color-grayScale);text-align:center;background-color:transparent;border-width:0;opacity:1}.quantity-selector .quantity-selector-quantity:focus{outline:0}.quantity-selector .quantity-selector-quantity:disabled{color:var(--color-grayScale);opacity:1}.quantity-selector-button{display:flex;align-items:center;justify-content:center;width:46px;height:38px;padding:var(--space-0);background-color:#e6e6e6;border:unset;border-bottom-left-radius:20px;border-top-left-radius:20px;cursor:pointer}.quantity-selector-button.quantity-selector-button-plus{border-top-right-radius:20px;border-top-left-radius:unset;border-bottom-right-radius:20px;border-bottom-left-radius:unset}.quantity-selector-measure-unit{font-family:DM Sans,sans-serif;font-size:var;font-weight:400;line-height:20px;color:var(--color-grayScale)}.quantity-selector .quantity-selector-button [data-store-icon]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:var(--border-radius-default);transition:background-color .2s ease}.quantity-selector .quantity-selector-button:hover:not(:disabled) [data-store-icon]{background-color:var(--bg-secondary-light)}.quantity-selector .quantity-selector-button:disabled{cursor:not-allowed}.quantity-selector .quantity-selector-button:disabled [data-store-icon]{color:var(--color-grayScale-light)}.quantity-selector:hover:not([data-store-quantity-selector=disabled]){box-shadow:0 0 0 var(--border-width-1) var(--color-support-shadow)}.quantity-selector[data-store-quantity-selector=disabled]{background-color:var(--color-grayScale-light);box-shadow:0 0 0 var(--border-width-0) var(--color-support-shadow)}.quantity-selector[data-store-quantity-selector=disabled] [data-quantity-selector-button]:hover [data-store-icon]{background-color:transparent}@media not all and (min-resolution: .001dpcm){@supports (-webkit-appearance: none){.quantity-selector .quantity-selector-button:focus{outline:none;box-shadow:none}.quantity-selector .quantity-selector-button:focus [data-store-icon]{outline:2px solid var(--color-main);outline-offset:2px;background-color:var(--bg-secondary-light)}}}.quantity-selector .quantity-selector-button:focus-visible{outline:none;box-shadow:none}.quantity-selector .quantity-selector-button:focus-visible [data-store-icon]{outline:2px solid var(--color-main);outline-offset:2px;background-color:var(--bg-secondary-light)}.product-add-text{display:block;height:10px;padding-bottom:17px;text-align:center;transition-delay:.25s;transition-property:margin-top}.product-add-text p{font-family:DM Sans,sans-serif;font-size:var(--text-size-0);font-weight:400;font-style:normal;line-height:16px;color:var(--color-positiveFeedback-dark);text-align:center;white-space:nowrap}@include media(">tablet"){.product-add-text p {font-size: var(--text-size-1); line-height: 18px;}}.product-card-unavailable-text{height:40px;margin:8px;align-content:center;border:1px solid var(--color-grayScale-light);border-radius:20px;position:absolute;bottom:0;left:0;width:stretch;background-color:var(--color-grayScale-lightest)}.product-card-unavailable-text p{text-align:center;font-size:var(--text-size-3);font-weight:var(--text-weight-bold);line-height:24px;color:var(--color-grayScale-darkest)}
|