/* Product Card Style & organization */
.woocommerce ul.products {
	display: grid !important;
	column-gap: 40px !important;
}

.woocommerce ul.products li.product {
	display: flex !important;
	margin: unset !important;
	width: auto !important;
	height: 100% !important;
	min-width: 0 !important;
	float: none !important;
	border: 1px solid var(--light-gray) !important;
	/* border: 1px solid #f4ebe5 !important; */
	border-radius: 5px !important;
	padding: 0px !important;
	gap: 10px !important;
}

/* --- Card Image */
/* Image */
.woocommerce ul.products li.product div.woocommerce-image__wrapper {
	/* background-color: #fbf8f8 !important; */
	background-color: var(--lightest-gray) !important;
/* 	border: 1px solid var(--lighter-gray) !important; */
}
.woocommerce ul.products li.product div.woocommerce-image__wrapper img {
	object-fit: contain !important;
	aspect-ratio: 1.3/1 !important;
	padding: 40px !important;
	padding-bottom: 50px !important;
}

/* Badges */
.woocommerce ul.products li.product div.ckit-badge_wrapper span.ckit-badge {
	font-size: 13px !important;
	font-weight: normal !important;
	padding: 2px 5px 4px 5px !important;
	opacity: 1 !important;
	border-radius: unset !important;
/* 	background-image: linear-gradient(
		to bottom,
		var(--light-gray) 0,
		var(--light-gray) calc(100% - 2px),
		transparent calc(100% - 2px),
		transparent 100%
	) !important; */
	overflow: hidden !important;
}

/* Add to Cart Special Button *
ul.products li.product div.woocommerce-image__wrapper .button,
ul.products li.product div.woocommerce-image__wrapper .added_to_cart {
	position: absolute !important;
	top: 5px !important;
	left: 5px !important;
	width: 32px !important;
	height: 32px !important;
	background-color: var(--lighter-gray) !important;
	border-radius: 30px !important;
	border: unset !important;
	margin: unset !important;
	opacity: 1 !important;
	color: var(--black) !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}
ul.products li.product div.woocommerce-image__wrapper .button:hover,
ul.products li.product div.woocommerce-image__wrapper .added_to_cart:hover {
 	background-color: var(--light-gray) !important;
}
ul.products li.product div.woocommerce-image__wrapper .button::before,
ul.products li.product div.woocommerce-image__wrapper .added_to_cart::before {
	content: "";
	width: 18px;
	height: 18px;
	display: block;
	background-color: currentColor;
	flex: 0 0 auto;
	margin: 0;
}
ul.products li.product div.woocommerce-image__wrapper .button:not(.added_to_cart)::before {
	-webkit-mask: var(--icon-plus) no-repeat center / contain;
	mask: var(--icon-plus) no-repeat center / contain;	
}
ul.products li.product div.woocommerce-image__wrapper .added_to_cart::before {
	-webkit-mask: var(--icon-check) no-repeat center / contain;
	mask: var(--icon-check) no-repeat center / contain;
}
ul.products li.product div.woocommerce-image__wrapper div.cgkit-as-single-atc-wrap { /* Fix CSS breakage when there are swatches *
	position: static !important;
	margin: unset !important;
}
/* End Add to Cart Special Button */

/* Swatches */
.woocommerce ul.products li.product div.woocommerce-image__wrapper form.cgkit-swatch-form {
	position: absolute !important;
	bottom: 5px !important;
/* 	right: 5px !important; */
}
.woocommerce ul.products li.product div.woocommerce-image__wrapper form.cgkit-swatch-form div.cgkit-as-wrap-plp {
	margin: unset !important;
}
.woocommerce ul.products li.product div.woocommerce-image__wrapper form.cgkit-swatch-form ul.cgkit-attribute-swatches {
	display: flex !important;
	justify-content: center !important;
	gap: 5px !important;
}
.woocommerce ul.products li.product div.woocommerce-image__wrapper form.cgkit-swatch-form ul.cgkit-attribute-swatches > li.cgkit-attribute-swatch {
	margin: unset !important;
}
.woocommerce ul.products li.product div.woocommerce-image__wrapper form.cgkit-swatch-form ul.cgkit-attribute-swatches > li.cgkit-attribute-swatch > button.cgkit-swatch {
	width: 20px !important;
	height: 20px !important;
}
.woocommerce ul.products li.product div.woocommerce-image__wrapper form.cgkit-swatch-form ul.cgkit-attribute-swatches > li.cgkit-attribute-swatch > button.cgkit-swatch:not(.cgkit-swatch-selected)::before {
	border: unset !important;
}
.woocommerce ul.products li.product div.woocommerce-image__wrapper form.cgkit-swatch-form ul.cgkit-attribute-swatches > li.cgkit-attribute-swatch > button.cgkit-swatch > span.color-div {
	width: 16px !important;
	height: 16px !important;
}


/* --- Card Wishlist */
.woocommerce ul.products li.product > div.commercekit-wishlist {
	opacity: 0.7 !important;
	background-color: var(--light-gray) !important;
	top: 5px !important;
	left: 45px !important;
}
.woocommerce ul.products li.product > div.commercekit-wishlist:hover {
	background-color: var(--mid-gray) !important;
}

/* --- Card Header */
.woocommerce ul.products li.product div.woocommerce-card__header {
	display: flex !important;
	flex-direction: column !important;
	flex-grow: 1 !important;
	padding-top: unset !important;
	row-gap: 5px !important;
	align-items: center !important;
	background-color: inherit !important;
}

/* Brand */
.woocommerce ul.products li.product div.woocommerce-card__header > p.product__brand {
	display: none !important;
	font-size: 14px !important;
	margin: unset !important;
}

/* Title */
.woocommerce ul.products li.product div.woocommerce-card__header > div.woocommerce-loop-product__title {
	font-size: 15px !important;
	padding: unset !important;
	font-weight: 400 !important;
}
.woocommerce ul.products li.product div.woocommerce-card__header > div.woocommerce-loop-product__title > a {
	color: var(--black) !important;
}

/* Specs */
.woocommerce ul.products li.product div.woocommerce-card__header div.lp-specs-line{
	font-size: 12px;
	line-height: 1.25;
	opacity: .75;

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Rating */
.woocommerce ul.products li.product div.woocommerce-card__header > div.shoptimizer_ratingContainer {
	margin-bottom: unset !important;
}
.woocommerce ul.products li.product div.woocommerce-card__header > div.shoptimizer_ratingContainer > div.star-rating {
	font-size: 14px !important; /* stars size */
}
.woocommerce ul.products li.product div.woocommerce-card__header > div.shoptimizer_ratingContainer > div.shoptimizer_ratingCount {
	font-size: 12px !important;
	font-weight: 500 !important;
}

/* Price */
.woocommerce ul.products li.product div.woocommerce-card__header span.price {
	display: flex !important;
	flex-direction: column-reverse !important;
	align-items: center !important;
	margin-bottom: unset !important;
}
.woocommerce ul.products li.product div.woocommerce-card__header span.price del {
	margin-right: unset !important;
	font-size: unset !important;
}
.woocommerce ul.products li.product div.woocommerce-card__header span.price del span.amount {
	font-size: 13px !important;
}
.woocommerce ul.products li.product div.woocommerce-card__header span.price ins,
.woocommerce ul.products li.product div.woocommerce-card__header span.price span.amount {
	font-size: 15px !important;
	font-weight: normal !important;
}
.woocommerce ul.products li.product div.woocommerce-card__header span.price ins {
/* 	color: var(--red) !important; */
}

/* Start Add to Cart Regular Button */

ul.products li.product div.woocommerce-card__header div.cgkit-as-single-atc-wrap {
	width: 100% !important;
	margin-top: auto !important;
	display: flex !important;
	justify-content: center !important;
}

ul.products li.product div.woocommerce-card__header .button,
ul.products li.product div.woocommerce-card__header .added_to_cart {
	opacity: 1 !important;
	border: 2px solid var(--black) !important;
	/* border: 2px solid #2f0526 !important; */
	border-radius: unset !important;
	border-radius: 20px !important;
	color: var(--black) !important;
	background: unset !important;
	transition: 0.2s !important;
	margin: auto 0 15px 0 !important;
	width: calc(100% - 30px) !important;
}
ul.products li.product div.woocommerce-card__header .button:hover,
ul.products li.product div.woocommerce-card__header .added_to_cart:hover {
	color: var(--white) !important;
	background: var(--black) !important;
	/* background: #2f0526 !important; */
}
	
/* End Add to Cart Regular Button */

@media (min-width: 993px) { /* Desktop */
	.woocommerce ul.products {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
		width: 100% !important;
		margin: unset !important;
		row-gap: 50px !important;
	}
	.woocommerce ul.products li.product {
		flex-direction: column !important;
	}
}
@media (max-width: 992px) { /* Mobile */
	.woocommerce ul.products {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
		padding-left: 12px !important;
		padding-right: 12px !important;
		column-gap: 12px !important;
		row-gap: 40px !important;
	}

	.woocommerce ul.products li.product {
		flex-direction: column !important;
	}
	
	.woocommerce ul.products li.product div.woocommerce-image__wrapper img {
		padding: 30px !important;
	}
	
}


/* End Product Card Style & Organization */

/* Cancel hover animation of products on PLP */
.woocommerce ul.products li.product div.woocommerce-image__wrapper,
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product div.woocommerce-card__header {
  -webkit-transform: none !important;
  transform: none !important;
  transition: none !important;
}
.woocommerce ul.products li.product::before {
	display: none !important;
}
/* End cancel hover animation */