﻿.magicbar-new-products ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 25px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.magicbar-new-products ul.products::before,
.magicbar-new-products ul.products::after {
	display: none;
}

.magicbar-new-products ul.products li.magicbar-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 25px;
	background: #ebe3e3;
	box-shadow: 2px 5px 25px -1px rgb(0 0 0 / 50%);
	text-align: center;
}

.magicbar-new-products .magicbar-product-image {
	display: block;
	background: #fff;
}

.magicbar-new-products .magicbar-product-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	margin: 0;
	object-fit: contain;
}

.magicbar-new-products .magicbar-product-details {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 20px 15px 15px;
}

.magicbar-new-products .woocommerce-loop-product__title {
	margin: 0;
	font-family: var(--e-global-typography-secondary-font-family, serif);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.magicbar-new-products .price {
	color: #292929;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

.magicbar-new-products .magicbar-product-details .button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	margin-top: auto;
	padding: 10px 6px;
	border: 0;
	border-radius: 25px;
	background: #716887;
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, sans-serif);
	font-size: 14px;
	line-height: 1.3;
	text-transform: uppercase;
}

.magicbar-new-products .magicbar-product-details .button::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	background: currentColor;
	vertical-align: -2px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='4' d='m3 12 6 6L21 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.magicbar-new-products .magicbar-product-details .product_type_simple::before {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M1 2h4l1 4h17l-3 11H7L4 5H1zm7 17a2 2 0 1 0 0 4 2 2 0 0 0 0-4m11 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4'/%3E%3C/svg%3E");
}

.magicbar-new-products .magicbar-product-details .button:hover {
	background: #625b7b;
}

.magicbar-new-products a:focus-visible {
	outline: 3px solid #31274b;
	outline-offset: -4px;
}

.magicbar-new-products .magicbar-product-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 6px 10px;
	border-radius: 4px;
	background: #ebe3e3;
	color: #292929;
	font-size: 14px;
	font-weight: 700;
}

.magicbar-new-products .magicbar-product-badge--sale {
	background: #c52010;
	color: #fff;
}

@media (max-width: 1024px) {
	.magicbar-new-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.magicbar-new-products ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
}

