.mb-product-card {
	width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 0.8px solid var(--mb-card-border);
	border-radius: var(--mb-card-radius);
	box-shadow: var(--mb-card-shadow);
	padding: 10px;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	height: 100%;
	transition: box-shadow 0.15s ease;
}

.mb-product-card:hover {
	box-shadow: 0 0 1px rgba(60, 64, 67, 0.12), 0 4px 12px rgba(60, 64, 67, 0.18);
	color: inherit;
}

.mb-product-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	max-height: 204px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.mb-product-card__img,
.mb-product-card__media img {
	width: 100%;
	height: 100%;
	max-height: 204px;
	object-fit: contain;
	display: block;
}

.mb-product-card__body {
	padding-top: 6px;
	display: flex;
	flex-direction: column;
	gap: 0;
	flex: 1 1 auto;
}

.mb-product-card__brand {
	font-size: 13px;
	line-height: 16px;
	color: var(--mb-brand);
	font-weight: 400;
	margin-bottom: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mb-product-card__title {
	font-size: 11px;
	font-weight: 600;
	line-height: 13.2px;
	color: var(--mb-text);
	min-height: 26.4px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin: 0;
}

.mb-product-card__chips {
	--mb-chip-height: 20px;
	--mb-chip-row-gap: 3px;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	gap: var(--mb-chip-row-gap) 4px;
	/* Three complete rows; row four starts below the clipping boundary. */
	max-height: calc(3 * var(--mb-chip-height) + 2 * var(--mb-chip-row-gap));
	overflow: hidden;
	margin: 6px 0 0;
	flex-shrink: 0;
}

.mb-product-card__chip {
	background: var(--mb-chip-bg);
	box-sizing: border-box;
	height: var(--mb-chip-height);
	max-width: 100%;
	flex: 0 0 auto;
	border: 1px solid var(--mb-chip-border);
	border-radius: 3px;
	padding: 2px 5px;
	font-size: 11px;
	line-height: 14px;
	color: var(--mb-chip-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mb-product-card__price-row {
	display: flex;
	min-height: 35px;
	align-items: flex-start;
	justify-content: space-between;
	padding-top: 6px;
	margin-top: auto;
	position: relative;
}

.mb-product-card__prices {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 16px;
	color: var(--mb-sale);
}

.mb-product-card__prices ins {
	order: -1;
	background: none;
	text-decoration: none;
	color: var(--mb-sale);
	font-weight: 600;
}

.mb-product-card__prices del {
	font-size: 13px;
	line-height: 13px;
	color: var(--mb-muted);
	font-weight: 400;
	opacity: 1;
	text-decoration: line-through;
}

.mb-product-card__prices .amount {
	color: inherit;
	font-weight: inherit;
}

.mb-product-card__prices bdi {
	text-decoration: inherit;
}

.mb-product-card__badge {
	background: var(--mb-badge);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	line-height: 19.5px;
	padding: 0 10px;
	border-radius: 9px 0 0 9px;
	margin-right: -10px;
	box-shadow: 0 2px 1px #0683b4;
	white-space: nowrap;
}

.products .product.mb-product-card-wrap {
	padding: 6px;
}

.products .product.mb-product-card-wrap .col-inner,
.products .product.mb-product-card-wrap .product-small {
	margin: 0;
	box-shadow: none;
	border: 0;
	background: transparent;
}

.mb-products-slider .mb-product-card-wrap,
.mb-products__track .mb-product-card-wrap {
	width: 228px;
	max-width: 228px;
	flex: 0 0 228px;
	box-sizing: border-box;
	padding: 6px;
}

.mb-products__track .mb-product-card-wrap,
.mb-products-slider .mb-product-card-wrap,
.products .mb-product-card-wrap {
	display: flex;
}

.mb-products__track .flickity-slider > .mb-product-card-wrap,
.mb-products-slider .flickity-slider > .mb-product-card-wrap,
.products .flickity-slider > .mb-product-card-wrap {
	min-height: 100%;
}

.mb-product-card-wrap > .mb-product-card {
	height: auto;
	flex: 1 1 auto;
}

.mb-products__grid > .mb-product-card-wrap {
	padding: 0;
	margin: 0;
}
