/**
 * WooSpax Wishlist
 */

.ws-wishlist-page {
	padding: 50px 0;
}

.ws-wishlist {
	width: 100%;
}

.ws-wishlist-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 35px;
}

.ws-wishlist-title {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.4;
}

.ws-wishlist-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border-radius: 50%;
	background: #a92f32;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}


/* Grid */

.ws-wishlist-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}


/* Product */

.ws-wishlist-item {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 8px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.ws-wishlist-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, .07);
}


/* Image */

.ws-wishlist-image-wrap {
	position: relative;
	background: #f7f7f7;
}

.ws-wishlist-image-link {
	display: block;
	line-height: 0;
}

.ws-wishlist-image {
	display: block;
	width: 100%;
	height: auto;
}


/* Remove */

.ws-wishlist-remove {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 34px;
	height: 34px;

	padding: 0;
	border: 0;
	border-radius: 50%;

	background: #fff;
	color: #a92f32;

	font-size: 23px;
	line-height: 1;

	cursor: pointer;

	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);

	transition: .2s ease;
}

.ws-wishlist-remove:hover {
	background: #a92f32;
	color: #fff;
}


/* Content */

.ws-wishlist-content {
	padding: 18px;
	text-align: right;
}

.ws-wishlist-product-title {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.6;
}

.ws-wishlist-product-title a {
	color: #222;
	text-decoration: none;
}

.ws-wishlist-product-title a:hover {
	color: #a92f32;
}


/* Price */

.ws-wishlist-price {
	margin-bottom: 16px;
	font-size: 16px;
	font-weight: 700;
	color: #222;
}

.ws-wishlist-price del {
	opacity: .55;
	margin-left: 5px;
}

.ws-wishlist-price ins {
	text-decoration: none;
}


/* Buttons */

.ws-wishlist-actions {
	display: flex;
	width: 100%;
}

.ws-wishlist-add-cart,
.ws-wishlist-view-product {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	min-height: 44px;

	padding: 10px 16px;

	border: 0;
	border-radius: 5px;

	background: #30363b;
	color: #fff;

	font-size: 14px;
	font-weight: 600;

	text-decoration: none;
	cursor: pointer;

	transition: background .2s ease;
}

.ws-wishlist-add-cart:hover,
.ws-wishlist-view-product:hover {
	background: #a92f32;
	color: #fff;
}


/* Empty */

.ws-wishlist-empty {
	max-width: 600px;
	margin: 60px auto;
	padding: 60px 30px;
	text-align: center;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	background: #fff;
}

.ws-wishlist-empty-icon {
	margin-bottom: 20px;
	font-size: 65px;
	line-height: 1;
	color: #a92f32;
}
.ws-wishlist-btn.is-active {
	color: #a92f32;
}

.ws-wishlist-btn.is-active svg {
	fill: #a92f32;
	stroke: #a92f32;
}

.ws-wishlist-empty h2 {
	margin: 0 0 10px;
	font-size: 25px;
}

.ws-wishlist-empty p {
	margin: 0 0 25px;
	color: #777;
}

.ws-wishlist-shop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 44px;
	padding: 10px 25px;

	border-radius: 5px;

	background: #30363b;
	color: #fff;

	text-decoration: none;
	font-weight: 600;
}

.ws-wishlist-shop-btn:hover {
	background: #a92f32;
	color: #fff;
}


/* Loading */

.ws-wishlist-item.is-loading {
	opacity: .5;
	pointer-events: none;
}


/* Responsive */

@media (max-width: 1100px) {

	.ws-wishlist-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}

@media (max-width: 767px) {

	.ws-wishlist-page {
		padding: 30px 0;
	}

	.ws-wishlist-title {
		font-size: 25px;
	}

	.ws-wishlist-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 15px;
	}

	.ws-wishlist-content {
		padding: 14px;
	}

	.ws-wishlist-product-title {
		font-size: 15px;
	}

}

@media (max-width: 768) {

	.ws-wishlist-grid {
		grid-template-columns: 1fr;
	}

	.ws-wishlist-empty {
		padding: 45px 20px;
	}

}