.bestseller-products-grid {
	display: grid;
	width: 100%;
}

.bestseller-product-item {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid #eee; /* Default border fallback */
}

.bestseller-product-image-wrapper {
	position: relative;
	overflow: hidden;
}

.bestseller-product-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.bestseller-product-item:hover .bestseller-product-image img {
	transform: scale(1.05);
}

.bestseller-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 10;
	padding: 4px 8px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
	border-radius: 2px;
}

.bestseller-product-info {
	padding: 15px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.bestseller-product-title {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.4;
}

.bestseller-product-title a {
	text-decoration: none;
	transition: color 0.2s ease;
}

.bestseller-product-price {
	margin-bottom: 15px;
	font-weight: 600;
	font-size: 15px;
}

.bestseller-product-price del {
	opacity: 0.6;
	margin-right: 5px;
	font-weight: 400;
	font-size: 0.9em;
}

.bestseller-add-to-cart {
	margin-top: auto;
}

.bestseller-add-to-cart .button {
	display: inline-block;
	width: 100%;
	text-align: center;
	padding: 10px 20px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 14px;
	line-height: 1.5;
}

.bestseller-add-to-cart .added_to_cart {
	display: block;
	text-align: center;
	margin-top: 5px;
	font-size: 12px;
}

/* Elementor Editor Specific Messages */
.angie-alert, .angie-error {
	padding: 20px;
	background-color: #f8f9fa;
	border-left: 4px solid #dc3545;
	color: #444;
}

.angie-alert {
	border-left-color: #ffc107;
}
