/**
 * WooCommerce Wishlist Styles - Card Layout
 */

/* Wishlist Button */
.woo-wishlist-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 20px 16px;
	border: 1px solid #c6c6c6;
	border-radius: 0;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	width: 100%;
}

.woo-wishlist-button:hover {
	background-color: #253746;
	color: #fff;
}

.woo-wishlist-button--loop {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #fff;
	border: 1px solid #fff;
	color: #253746;
	padding: 0;
	border-radius: 999px;
	width: 30px;
	height: 30px;
}

.woo-wishlist-button--loop:hover {
	background-color: #253746;
	border-color: #253746;
	color: #fff;
}

.woo-wishlist-button--loop .wishlist-icon {
	margin-right: 0px !important;
}

.woo-wishlist-button--loop .wishlist-icon svg {
	width: 16px;
	height: 16px;
}



/* .woo-wishlist-button.in-wishlist {
	background-color: #ffebee;
	border-color: #ef5350;
	color: #c62828;
}

.woo-wishlist-button.in-wishlist:hover {
	background-color: #f7c7cc;
	border-color: #c62828;
} */

.woo-wishlist-button.loading {
	opacity: 0.6;
	pointer-events: none;
}

.woo-wishlist-button .wishlist-icon {
	font-size: 18px;
	line-height: 1;
	transition: transform 0.3s ease;
	margin-right: 8px;
}

/* Wishlist Notifications */
.woo-wishlist-notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 16px 20px;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	animation: slideIn 0.3s ease-out;
	max-width: 400px;
}

.woo-wishlist-notification p {
	margin: 0;
	color: #333;
	font-size: 14px;
}

.woo-wishlist-notification.notice-success {
	border-left: 4px solid #4caf50;
	background-color: #f1f8f4;
}

.woo-wishlist-notification.notice-success p {
	color: #2e7d32;
}

.woo-wishlist-notification.notice-error {
	border-left: 4px solid #ef5350;
	background-color: #ffebee;
}

.woo-wishlist-notification.notice-error p {
	color: #c62828;
}

@keyframes slideIn {
	from {
		transform: translateX(450px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* Wishlist Container */
.woo-wishlist-container {
	width: 100%;
	padding: 20px 0;
}

.woo-wishlist-loading {
	text-align: center;
	padding: 40px 20px;
	color: #666;
	font-size: 16px;
}

.woo-wishlist-content {
	width: 100%;
}

/* Wishlist Grid */
.woo-wishlist-items {
	width: 100%;
	margin-top: 20px;
}

/* Wishlist Card */
.woo-wishlist-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
}

.wishlist-card-shop {
	opacity: 0;
	margin-top: 0;
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.woo-wishlist-card:hover .wishlist-card-shop,
.woo-wishlist-card:hover .wishlist-card-actions {
	opacity: 1;
}

/* Card Image */
.wishlist-card-image {
	position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 295 / 368;
}

.wishlist-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

/* Card Content */
.wishlist-card-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.wishlist-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	position: absolute;
	top: -24px;
	right: 0px;
	z-index: 1;
}

.wishlist-card-tag {
	display: inline-block;
	padding: 3px 10px;
	background-color: #253746;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 15px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.wishlist-card-tag:hover {
	background-color: #253746;
	color: #fff;
}

.wishlist-card-title {
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	/* flex-grow: 1; */
	margin-top: 10px;
}

.wishlist-card-description {
	margin-top: 3px;
}

.wishlist-card-price {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

/* Toast Notification */
.wishlist-toast-notification {
	position: fixed;
	top: 50px;
	left: 0;
	right: 0;
	background-color: #ffffff;
	color: #253746;
	padding: 16px 18.5px;
	font-size: 14px;
	font-weight: 500;
	z-index: 9999;
	/* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); */
	opacity: 0;
	transform: translateY(-30px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.wishlist-toast-notification.show {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

@media (min-width: 1024px) {
	.wishlist-toast-notification {
		display: none;
	}
}

.wishlist-card-actions {
	opacity: 0;
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	transition: opacity 0.3s ease;
}

.wishlist-card-action {
	font-size: 14px;
	line-height: 20px;
	font-weight: 700;
	color: #253746;
	text-decoration: none;
	transition: color 0.2s;
	background-color: rgba(255, 255, 255, 0.8);
	padding-top: 10px;
	padding-bottom: 10px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	transition: color 0.3s ease;
}

.wishlist-card-action:hover {
	background-color: #fff;
}