/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Wishlist Icon Styles */
.fresh-list-icon {
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	border-radius: 50%;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #666;
}

.fresh-list-icon:hover {
	background-color: #f8f9fa;
	transform: scale(1.1);
}

.fresh-list-icon--active {
	color: #e74c3c;
}

.fresh-list-icon--active:hover {
	color: #c0392b;
}

.fresh-list-icon svg {
	width: 24px;
	height: 24px;
	transition: all 0.3s ease;
}

.fresh-list-icon--heart.fresh-list-icon--active svg {
	fill: #e74c3c;
	stroke: #e74c3c;
}

.fresh-list-icon--bookmark.fresh-list-icon--active svg {
	fill: #3498db;
	stroke: #3498db;
}

.fresh-list-icon--like.fresh-list-icon--active svg {
	fill: #2ecc71;
	stroke: #2ecc71;
}

.fresh-list-icon--star.fresh-list-icon--active svg {
	fill: #f39c12;
	stroke: #f39c12;
}

/* My List Container */
.fresh-list-my-list {
	margin: 0 auto;
	padding: 20px;
}

.fresh-list-filters {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.fresh-list-filter-btn {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	padding: 8px 16px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
}

.fresh-list-filter-btn:hover {
	background: #e9ecef;
}

.fresh-list-filter-btn.active {
	background: #007bff;
	color: white;
	border-color: #007bff;
}

/* Wishlist Items Grid */
.fresh-list-items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.fresh-list-item {
	background: white;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.fresh-list-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* Product Item Styles */
.fresh-list-product {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.fresh-list-product-image {
	position: relative;
	overflow: hidden;
}

.fresh-list-product-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.fresh-list-product:hover .fresh-list-product-image img {
	transform: scale(1.05);
}

.fresh-list-product-details {
	padding: 15px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

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

.fresh-list-product-title a {
	color: #333;
	text-decoration: none;
}

.fresh-list-product-title a:hover {
	color: #007bff;
}

.fresh-list-product-price {
	font-size: 18px;
	font-weight: bold;
	color: #28a745;
	margin-bottom: 8px;
}

.fresh-list-product-stock {
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 15px;
}

.fresh-list-product-stock.in-stock {
	color: #28a745;
}

.fresh-list-product-stock.out-of-stock {
	color: #dc3545;
}

.fresh-list-product-actions {
	margin-top: auto;
}

.fresh-list-product-actions .button,
.fresh-list-product-actions .add_to_cart_button {
	background: #007bff;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.fresh-list-product-actions .button:hover,
.fresh-list-product-actions .add_to_cart_button:hover {
	background: #0056b3;
}

/* Default Item Styles */
.fresh-list-default-item {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.fresh-list-item-image {
	position: relative;
	overflow: hidden;
}

.fresh-list-item-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.fresh-list-default-item:hover .fresh-list-item-image img {
	transform: scale(1.05);
}

.fresh-list-item-content {
	padding: 15px;
	flex: 1;
}

.fresh-list-item-title {
	margin: 0 0 10px 0;
	font-size: 16px;
	line-height: 1.4;
}

.fresh-list-item-title a {
	color: #333;
	text-decoration: none;
}

.fresh-list-item-title a:hover {
	color: #007bff;
}

.fresh-list-item-excerpt {
	color: #666;
	font-size: 14px;
	line-height: 1.5;
}

/* Actions Section */
.fresh-list-actions {
	text-align: center;
	padding: 20px 0;
	border-top: 1px solid #dee2e6;
}

.fresh-list-add-all-to-cart {
	background: #28a745;
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.fresh-list-add-all-to-cart:hover {
	background: #218838;
	transform: translateY(-1px);
}

.fresh-list-add-all-to-cart:disabled {
	background: #6c757d;
	cursor: not-allowed;
	transform: none;
}

/* Loading State */
.fresh-list-loading {
	opacity: 0.6;
	pointer-events: none;
}

.fresh-list-icon.loading {
	/* animation: spin 1s linear infinite; */
}


/* Feedback Messages */
.fresh-list-feedback {
	position: fixed;
	top: 20px;
	right: 20px;
	background: #333;
	color: white;
	padding: 12px 20px;
	border-radius: 6px;
	z-index: 1000;
	opacity: 0;
	transform: translateX(100%);
	transition: all 0.3s ease;
}

.fresh-list-feedback.show {
	opacity: 1;
	transform: translateX(0);
}

.fresh-list-feedback.success {
	background: #28a745;
}

.fresh-list-feedback.error {
	background: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
	.fresh-list-items {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	
	.fresh-list-product-image img {
		height: 150px;
	}
	
	.fresh-list-product-details {
		padding: 12px;
	}
	
	.fresh-list-product-title {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.fresh-list-items {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	
	.fresh-list-product {
		flex-direction: column;
	}
	
	.fresh-list-product-image img {
		height: 120px;
	}
	
	.fresh-list-product-details {
		padding: 10px;
	}
	
	.fresh-list-product-title {
		font-size: 13px;
		margin-bottom: 8px;
	}
	
	.fresh-list-product-price {
		font-size: 14px;
		margin-bottom: 8px;
	}
	
	.fresh-list-product-stock {
		font-size: 12px;
		margin-bottom: 10px;
	}
	
	.fresh-list-product-actions .button {
		font-size: 12px;
		padding: 8px 12px;
	}
}