/* Woo Elementor Widgets - base styles */

.wew-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	width: 100%;
}
.wew-product-grid.wew-columns-1 { grid-template-columns: repeat(1, 1fr); }
.wew-product-grid.wew-columns-2 { grid-template-columns: repeat(2, 1fr); }
.wew-product-grid.wew-columns-3 { grid-template-columns: repeat(3, 1fr); }
.wew-product-grid.wew-columns-4 { grid-template-columns: repeat(4, 1fr); }
.wew-product-grid.wew-columns-5 { grid-template-columns: repeat(5, 1fr); }
.wew-product-grid.wew-columns-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 767px) {
	.wew-product-grid { grid-template-columns: repeat(1, 1fr) !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.wew-product-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

.wew-product-card {
	position: relative;
	background: #fff;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	text-align: center;
}
.wew-product-card:hover {
	transform: translateY(-4px);
}
.wew-product-link { text-decoration: none; display: block; color: inherit; }

.wew-product-image { position: relative; }
.wew-product-image img { width: 100%; height: auto; display: block; }

.wew-sale-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #e74c3c;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 4px;
	z-index: 2;
}

.wew-product-title {
	margin: 12px 0 6px;
	font-size: 16px;
}

.wew-product-rating { margin-bottom: 6px; }

.wew-product-price .amount { font-weight: 700; }
.wew-product-price del .amount { opacity: 0.6; font-weight: 400; margin-right: 6px; }

.wew-product-add-to-cart { margin-top: 10px; }
.wew-product-card .button {
	display: inline-block;
	background: #2c3e50;
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	transition: background 0.2s ease, color 0.2s ease;
	border: none;
	cursor: pointer;
}

/* Woo Image */
.wew-woo-image { position: relative; display: inline-block; max-width: 100%; }
.wew-woo-image img { max-width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.wew-image-hover-zoom-yes .wew-woo-image { overflow: hidden; }
.wew-image-hover-zoom-yes .wew-woo-image:hover img { transform: scale(1.08); }

/* Woo Title */
.wew-woo-title { margin: 0; }

/* Price Bar */
.wew-price-bar {
	background: #f8f9fa;
	border-radius: 6px;
	padding: 15px 20px;
}
.wew-price-bar-top {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.wew-price-bar-label { font-weight: 600; }
.wew-discount-badge {
	background: #e74c3c;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 4px;
}
.wew-progress-wrap { margin-top: 12px; }
.wew-progress-track {
	width: 100%;
	height: 10px;
	background: #eee;
	border-radius: 10px;
	overflow: hidden;
}
.wew-progress-fill {
	height: 100%;
	background: #e74c3c;
	border-radius: 10px;
	transition: width 0.4s ease;
}
.wew-progress-text {
	font-size: 13px;
	margin-top: 6px;
	color: #555;
}

/* Cart Button */
.wew-cart-btn-wrap form.cart { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wew-cart-btn-wrap .single_add_to_cart_button {
	background: #2c3e50;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.wew-cart-btn-wrap .quantity input.qty {
	width: 70px;
	padding: 10px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 4px;
}

/* Buy Now Button */
.wew-buy-now-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #e74c3c;
	color: #fff;
	padding: 15px 30px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease;
}

/* Image Carousel */
.wew-image-carousel { position: relative; }
.wew-carousel-slide img { width: 100%; height: 400px; object-fit: cover; display: block; }
.wew-image-carousel:not(.slick-initialized) .wew-carousel-slide:not(:first-child) { display: none; }
