
/* Woo Product Card Custom Styles
-----------------------------------------------------*/

/* Product Card Image ratio and centering
------------------------------*/
[data-products] figure {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	aspect-ratio: 1 / 1!important;
	border-radius:4px;
	overflow:hidden;
	/* temporary border, for development purposes only */
  	border:solid 1px rgba(0,0,0,0.1);
	--product-element-spacing: 25px;
}
[data-products] figure a {
	display:flex;
	align-items: center;
	justify-content: center;
	width:100%;
	height:100%;
	padding:15px;
}
[data-products] figure img {
	width: auto!important;
	height: 100%!important;
	object-fit: contain;
}

/* Product Card Badges
------------------------------*/
[data-products] .ct-woo-badges  {
	display:none; /* also turn off in Customizer */
	top:0;
	inset-inline-start:0;
}
.sf-product-card--badges {
	position:absolute;
	top:4px;
	inset-inline-start:4px;
	background:rgba(255,0,0,0);
	display:flex;
	flex-direction:row;
	width:calc(100% - 8px);
	justify-content:space-between;
	align-items:center;
	z-index:2;
    font-family: "Inter", sans-serif;
}
.sf-product-card-badge {
	font-size:13px;
	text-transform:uppercase;
	padding:3px 8px;
	background: var(--theme-palette-color-2);
    color:#FFF;
	font-weight:800!important;
    border-radius: 4px;
}

/* Product Card Badge - Furema */
.sf-product-card-badge--furema {
	background:rgba(231,229,223,0.6);
	color:#333;
}
.sf-product-card-badge--discounnew {
	display:flex;
	flex-direction:row;
	gap:4px;
}
/* Product Card Badge - Discount */
.sf-product-card-badge--discount {
    background: var(--theme-palette-color-2);
    color:#FFF;
}
/* Product Card Badge - New */
.sf-product-card-badge--new {
	background: var(--theme-palette-color-2);
    color:#FFF;
}


/* Star rating - single star + value
----------------------------------------*/
.sf-product-card-rating {
	display:flex;
	align-items:center;
	align-content:center;
	justify-content:flex-end;
	gap:10px;
	opacity:1;
}
.sf-product-card-rating--star {
	display:flex;
	align-items:center;
}
.sf-product-card-rating--value {
	font-size:16px;
	line-height:100%;
	color:var(--theme-palette-color-2);
    font-family: "Inter", sans-serif;
}
.sf-product-card-norating .sf-product-card-rating--value,
.sf-product-card-norating .sf-product-card-rating--star {
	color:var(--theme-palette-color-6);
	opacity:0;
}

/* Product title
----------------------------------------*/
[data-products] .woocommerce-loop-product__title {
    font-size:16px;
    font-weight:400;
    line-height:1.2;
    margin:0 0 15px 0!important;
    font-family: "Inter", sans-serif;
}


[data-products] .woocommerce-loop-product__title a {
	color:#222;
}
[data-products] .woocommerce-loop-product__title a:hover {
	text-decoration:underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: #777;
}

/* Collection name / label */
.sf-product-card__collection {
	text-transform:uppercase;
	font-size:14px;
	font-weight:300;
}
.sf-product-card__collection a:hover {
	text-decoration:underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: #777;
}



/* Price + Add to Cart Button wrapper @ Product Card type 1 
-----------------------------------------------------*/

.sf-product-card__price_button_wrap {
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content:space-between;
	flex-wrap:nowrap;
	margin-top: auto;
	gap:15px;
}

/* Add to cart button */
[data-products] .ct-woo-card-actions {
	position:absolute;
	bottom:2px;
	right:0;
}
[data-products] .add_to_cart_button {
	display:flex;
	align-items:center;
	justify-content:center;
	gap:5px;
	border:0!important;
	padding:0!important;
	text-transform:uppercase;
	font-size:14px;
	font-weight:400;
	background:none;
	position:relative;
	/*opacity:0;*/
}
@media screen and (max-width:480px) {
	[data-products] .add_to_cart_button,
	[data-products] .add_to_cart_button {
		width:28px;
		height:auto;
	}
	#ct-added-to-cart-popup .ct-popup-actions {
		flex-direction:column!important;
	}
}
[data-products] .product:hover .add_to_cart_button,
[data-products] .product:hover .add_to_cart_button,
[data-products] .product.is-in-cart .add_to_cart_button {
	opacity:1;
	transition:opacity 0.3s ease-in;
}
[data-products] .add_to_cart_button:hover {
	background:none;
	text-decoration:underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: #777;
}
/* Added to cart button */
[data-products] .added_to_cart {
	display:none!important;	
}
[data-products] [data-add-to-cart=auto-hide] .add_to_cart_button.added,
[data-products] .add_to_cart_button.loading {
	display:flex!important;
	opacity:1;
}
[data-products] .add_to_cart_button .btn-icon {
	position:relative;
	top:0px;
	right:0;
}


/* Price
-----------------------------------------------------*/
[data-products] span.price * {
	font-weight:600;
    font-family: "Inter", sans-serif;
}
[data-products] span.price bdi {
	/*font-weight:600;*/
}
[data-products] span.price .sale-price,
[data-products] span.price .sale-price {
	justify-content:flex-start;
}
[data-products] span.price .sale-price del,
[data-products] span.price .sale-price del {
	text-decoration-thickness: 1px;
}