.rekom-box {
	background: #fff;
	border-radius: 32px;
	clear: both;
	color: #252525;
	margin: 26px 0 0;
	padding: 28px;
	width: 100%;
}

.rekom-box--above-title {
	margin: 0 0 26px;
}

.rekom-box--below-title {
	margin: 26px 0;
}

.rekom-message-row--red {
	color: #e2401c;
}

.rekom-message-row--green {
	color: #018927;
}

/* Recolor the icon to the message color.
   fill: only on shapes that are actually filled — never override fill="none",
   so outline icons don't get flooded into a solid blob.
   stroke: recolor real strokes, so outline icons (stroke="…") follow the color.
   The built-in .rekom-icon-fallback already uses stroke: currentColor, so it
   inherits the row color automatically and needs no rule here. */
.rekom-message-row--red .rekom-icon-image:not([fill="none"]),
.rekom-message-row--red .rekom-icon-image *:not([fill="none"]),
.rekom-message-row--green .rekom-icon-image:not([fill="none"]),
.rekom-message-row--green .rekom-icon-image *:not([fill="none"]) {
	fill: currentColor;
}

.rekom-message-row--red .rekom-icon-image [stroke]:not([stroke="none"]),
.rekom-message-row--green .rekom-icon-image [stroke]:not([stroke="none"]) {
	stroke: currentColor;
}

.rekom-message-row {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	margin-bottom: 28px;
}

.rekom-icon {
	align-items: center;
	display: inline-flex;
	flex: 0 0 26px;
	justify-content: center;
	margin-top: 2px;
	width: 26px;
}

.rekom-icon-image {
	display: block;
	height: 26px;
	object-fit: contain;
	width: 26px;
}

.rekom-icon-fallback {
	fill: none;
	height: 26px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 26px;
}

.rekom-message {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.25;
}

.rekom-message p {
	margin: 0;
}

.rekom-message a {
	color: #2b6fc3;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.rekom-title {
	color: #252525;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 22px;
	padding: 0;
}

.rekom-box ul.products.rekom-grid {
	display: grid !important;
	column-gap: 34px;
	grid-template-columns: repeat(3, minmax(0, 208px));
	justify-content: center;
	list-style: none;
	margin: 0 !important;
	padding: 0;
	row-gap: 28px;
	width: 100%;
}

.rekom-box ul.products.rekom-grid::before,
.rekom-box ul.products.rekom-grid::after {
	clear: none !important;
	content: none !important;
	display: none !important;
}

.rekom-box ul.products.rekom-grid.rekom-count-1 {
	grid-template-columns: minmax(0, 208px);
}

.rekom-box ul.products.rekom-grid.rekom-count-2 {
	grid-template-columns: repeat(2, minmax(0, 208px));
}

.rekom-box ul.products.rekom-grid.rekom-count-4 {
	grid-template-columns: repeat(4, minmax(0, 208px));
}

.rekom-box ul.products.rekom-grid li.product.rekom-product-card {
	color: #000;
	display: flex;
	flex-direction: column;
	float: none;
	margin: 0 !important;
	min-width: 0;
	padding: 0 !important;
	text-align: left;
	width: auto !important;
}

.rekom-box ul.products.rekom-grid li.product.rekom-product-card::before,
.rekom-box ul.products.rekom-grid li.product.rekom-product-card::after {
	display: none !important;
}

.rekom-box .woocommerce-image__wrapper {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #f5f5f5;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
	overflow: hidden;
	padding: 10px;
	position: relative;
	width: 100%;
}

.rekom-box .woocommerce-image__wrapper a {
	align-items: center;
	background: #f5f5f5;
	border-radius: 8px;
	display: flex;
	height: 100%;
	justify-content: center;
	width: 100%;
}

.rekom-box .woocommerce-image__wrapper img {
	display: block;
	height: 100%;
	max-height: 190px;
	mix-blend-mode: multiply;
	object-fit: contain;
	width: 100%;
}

.rekom-box .woocommerce-card__header {
	clear: both;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding-top: 0;
	width: 100%;
}

.rekom-box .loop-item-category {
	color: #1e5194;
	display: block;
	font-size: 13px !important;
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 6px;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.rekom-box .loop-item-category a {
	color: inherit;
	text-decoration: none;
}

.rekom-box .woocommerce-loop-product__title {
	display: block;
	margin: 0 0 12px !important;
	min-height: 66px;
}

.rekom-box ul.products li.product .woocommerce-loop-product__title a {
	color: #000;
	display: -webkit-box;
	font-size: 16px !important;
	font-style: normal;
	font-weight: 400 !important;
	letter-spacing: 0;
	line-height: 1.28;
	margin: 0;
	max-height: none;
	overflow: hidden;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.rekom-box ul.products li.product:hover .woocommerce-loop-product__title a {
	color: #1e5194 !important;
}

.rekom-box ul.products li.product .price {
	color: #000;
	display: block;
	line-height: 1.1;
	margin: auto 0 0 !important;
	padding-left: 0 !important;
	width: 100%;
}

.rekom-box ul.products li.product .price > .price {
	align-items: baseline;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	max-width: 100%;
}

.rekom-box ul.products li.product .woo-price {
	align-items: baseline;
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	margin: auto 0 0 !important;
	max-width: 100%;
	row-gap: 8px;
	width: 100%;
}

.rekom-box ul.products li.product .price-info-box,
.rekom-box ul.products li.product .price-tooltip {
	display: none !important;
}

.rekom-box ul.products li.product .price ins,
.rekom-box ul.products li.product .price del {
	display: inline-flex;
	line-height: 1;
}

.rekom-box ul.products li.product .price ins {
	order: 1;
	text-decoration: none;
}

.rekom-box ul.products li.product .price del {
	color: #8b8b8b !important;
	margin: 0;
	order: 2;
	text-decoration-thickness: 1px;
}

.rekom-box ul.products li.product .price ins .amount,
.rekom-box ul.products li.product .price > .amount {
	color: #000 !important;
	font-size: 20px !important;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	white-space: nowrap;
}

.rekom-box ul.products li.product .price-saved {
	align-items: center;
	color: #018927;
	display: flex;
	font-size: 13px !important;
	font-style: normal;
	font-weight: 400;
	letter-spacing: -0.3px;
	line-height: 150%;
	margin-top: 8px;
	order: 3;
	max-width: 100%;
	overflow: hidden;
	padding: 0;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

.rekom-box ul.products li.product .price-economisez-badge {
	background: transparent !important;
	border-radius: 0 !important;
	color: #018927;
	display: block;
	font-size: 13px !important;
	font-style: normal;
	font-weight: 400;
	grid-column: 1 / -1;
	letter-spacing: -0.3px;
	line-height: 150%;
	margin: 0 !important;
	max-width: 100%;
	overflow: hidden;
	padding: 0 !important;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

.rekom-box ul.products li.product .woocommerce-card__header a.add_to_cart_button {
	display: none !important;
}

@media (max-width: 900px) {
	.rekom-box {
		border-radius: 24px;
		padding: 22px;
	}

	.rekom-box ul.products.rekom-grid,
	.rekom-box ul.products.rekom-grid.rekom-count-2,
	.rekom-box ul.products.rekom-grid.rekom-count-3,
	.rekom-box ul.products.rekom-grid.rekom-count-4 {
		grid-template-columns: repeat(2, minmax(0, 208px));
	}
}

@media (max-width: 520px) {
	.rekom-message-row {
		gap: 12px;
	}

	.rekom-message {
		font-size: 16px;
	}

	.rekom-box ul.products.rekom-grid {
		gap: 18px;
		grid-template-columns: minmax(0, 208px);
	}

	.rekom-box ul.products.rekom-grid.rekom-count-2,
	.rekom-box ul.products.rekom-grid.rekom-count-3,
	.rekom-box ul.products.rekom-grid.rekom-count-4 {
		grid-template-columns: minmax(0, 208px);
	}

	.rekom-box .woocommerce-loop-product__title {
		min-height: 0;
	}
}
