/***** PRODUCT LISTINGS *****/

@media (max-width: 767px) {
  .products.columns-3 .product,
  .products.columns-4 .product { 
    float: left;
    font-size: 5vw;
    margin-right: 5% !important;
    width: 47.25% !important;
  }

  .products.columns-3 .product:nth-of-type(2n),
  .products.columns-4 .product:nth-of-type(2n){
    margin-right: 0 !important;
  }
}

@media (min-width: 768px) {
  .products.columns-3 .product {
    font-size: 3.5vw;
  }
  
  .products.columns-4 .product {
    font-size: 2.4vw;
  }
}

@media (min-width: 1164px) {
  .products.columns-3 .product {
    font-size: 38px;
  }
  
  .products.columns-4 .product {
    font-size: 28px;
  }
}

.product-categories, .products {
  margin-bottom: 3em !important;
}

.products.columns-4 .product:not(.product-category) {
  margin-bottom: 3em !important;
}

.products.columns-3 .product:not(.product-category) {
  margin-bottom: 1em !important;
}

.product-category {
  margin-bottom: 1em !important;
}

.product {
  position: relative;
}

.product-category img, .product img, .widget_top_rated_products img, .widget_recently_viewed_products img {
  margin-bottom: 0 !important;
  background-size: contain;
}

.product img, 
.product-category:nth-of-type(7n+5) img, 
.product:nth-of-type(7n+0) img, .widget_top_rated_products li:nth-of-type(7n+0) img, 
.widget_recently_viewed_products li:nth-of-type(7n+5) img {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><path style='fill:%23FFFFFF' d='M153.3,9.5c89.2-5.8,141.4,64.3,143.8,143.6c3,98-53.1,146.6-138,135.8C80.4,278.8-7.1,247.9,3.6,153.1C14.8,53.9,62.5,15.4,153.3,9.5z'/></svg>");
}

.product-category:nth-of-type(7n+6) img, 
.product:nth-of-type(7n+1) img, 
.widget_top_rated_products li:nth-of-type(7n+1) img, 
.widget_recently_viewed_products li:nth-of-type(7n+6) img {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><path style='fill:%23FFFFFF' d='M131.7,10.7C239.5-5.5,293.5,56.5,296.5,152.5c2.7,87.3-52,137-117,140s-159-16-173.6-116.9C-6.7,89.2,38.5,24.6,131.7,10.7z'/></svg>");
}

.product-category:nth-of-type(7n+0) img, 
.product:nth-of-type(7n+2) img, 
.widget_top_rated_products li:nth-of-type(7n+2) img, 
.widget_recently_viewed_products li:nth-of-type(7n+0) img,
.widget_woobsp_best_selling_products li:nth-of-type(7n+0) img {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><path style='fill:%23FFFFFF' d='M66.9,36.3C137.5-2.5,223.1,5.6,279.1,83.6c34.4,47.9,16,152.1-28.6,179.9c-55.2,34.4-142.3,40.8-216.8-22.5C-23.5,192.5,6.1,69.6,66.9,36.3z'/></svg>");
}

.product-category:nth-of-type(7n+1) img, 
.product:nth-of-type(7n+3) img, 
.widget_top_rated_products li:nth-of-type(7n+3) img, 
.widget_recently_viewed_products li:nth-of-type(7n+1) img,
.widget_woobsp_best_selling_products li:nth-of-type(7n+1) img {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><path style='fill:%23FFFFFF' d='M26.5,70.5c61-66,121.1-81.5,206.3-37.1c61.7,32.1,82,135.3,54.7,180.1c-33.8,55.6-120.1,99.1-202,63C14.2,245.1-20.6,121.4,26.5,70.5z'/></svg>");
}

.product-category:nth-of-type(7n+2) img, 
.product:nth-of-type(7n+4) img, 
.widget_top_rated_products li:nth-of-type(7n+4) img, 
.widget_recently_viewed_products li:nth-of-type(7n+2) img,
.widget_woobsp_best_selling_products li:nth-of-type(7n+2) img {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><path style='fill:%23FFFFFF' d='M12.5,122.5c23-81,73.9-124.1,169.1-111.4c85.9,11.4,121.9,77.4,115.9,146.4c-6.5,75-51,136-159,134.5C60.6,291-7.6,193.2,12.5,122.5z'/></svg>");
}

.product-category:nth-of-type(7n+3) img, 
.product:nth-of-type(7n+5) img, 
.widget_top_rated_products li:nth-of-type(7n+5) img, 
.widget_recently_viewed_products li:nth-of-type(7n+3) img,
.widget_woobsp_best_selling_products li:nth-of-type(7n+3) img {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><path style='fill:%23FFFFFF' d='M11.1,170.9C-3.7,88,39.5,29.3,133.5,9.6c84.8-17.8,159.9,56.7,161,125.9c2,126.3-44,137-142,153C75.6,301.1,26.5,257.5,11.1,170.9z'/>'/></svg>");
}

.product-category:nth-of-type(7n+4) img, 
.product:nth-of-type(7n+6) img, 
.widget_top_rated_products li:nth-of-type(7n+6) img, 
.widget_recently_viewed_products li:nth-of-type(7n+4) img,
.widget_woobsp_best_selling_products li:nth-of-type(7n+4) img {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><path style='fill:%23FFFFFF' d='M46.4,244.7c-47.1-50.1-54.9-145.5,5.3-200c71.9-65.2,173.8-42,212.6,15.4c60.2,89,24.2,175.5-28.2,209.8C179.6,306.7,97.3,298.8,46.4,244.7z'/></svg>");
}

.product_list_widget li {
  padding: 0.45em 0;
}

.product_list_widget li:first-child {
  padding-top: 0;
}

.product_list_widget li img {
  margin-right: .5em;
  position: relative;
  top: 0.3em;
  float: left !important;
}

.woocommerce-loop-category__title, 
.woocommerce-loop-product__title {
  font-size: 0.8em !important;
  font-weight: 900 !important;
  line-height: 0.95em;
  position: absolute;
  top: 2em;
  transform: translateY(-100%);
  transition: transform .3s ease-out;
  width: 100%;
}

.woocommerce-loop-category__subline,
.woocommerce-loop-product__subline {
  display: block;
  font-size: 0.9em;
  line-height: 0.9em;
  margin-top: 0.2em;
  font-weight: 400;
}

.product-category img,
.product .woocommerce-loop-product__link img {
  transition: transform .3s ease-out;
}

.product-category a:hover img,
.products .product:hover img {
  transform: scale(1.1);
  transition: transform .3s cubic-bezier(0.17, 1.54, 0.79, 1.36);
}

.products .product:hover .woocommerce-loop-product__title,
.product-category a:hover .woocommerce-loop-category__title{
  transform: scale(1.1) translateY(-120%);
  transition: transform .4s .05s cubic-bezier(0.17, 1.54, 0.79, 1.36);
}

.products .product:hover .price {
  transform: scale(1.2) translateX(50%) rotate(10deg);
  transition: transform .25s .05s cubic-bezier(0.17, 1.54, 0.79, 1.36);
}


.products .product:hover .onsale {
  bottom: 13%;
  right: 16%;
  transform: scale(1.2) translateX(50%) rotate(10deg);
  transition: transform .25s .05s cubic-bezier(0.17, 1.54, 0.79, 1.36), right .25s .05s cubic-bezier(0.17, 1.54, 0.79, 1.36), bottom .25s .05s cubic-bezier(0.17, 1.54, 0.79, 1.36);
}

/*
.product .wcpv-sold-by-loop {
  bottom: 35px;
  font-size: 0.7em;
  font-style: normal;
  margin: 0;
  position: absolute;
  width: 100%;
}

.product .wcpv-sold-by-loop a {
  color: var(--textcolor);
  text-decoration: none !important;
}
*/


.products .product .price {
  display: inline-block !important;
  margin: 0 !important;
  min-width: 3em;
  z-index: 100;
  bottom: 5%;
  position: absolute;
  right: 17%;
  transform: translateX(50%);
  transition: transform .3s ease-out, bottom .3s ease-out, right .3s ease-out;
}

.products .price:after {
  content: "";
  display: block;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><path style='fill:%2383d0bf' d='M46.4,244.7c-47.1-50.1-54.9-145.5,5.3-200c71.9-65.2,173.8-42,212.6,15.4c60.2,89,24.2,175.5-28.2,209.8C179.6,306.7,97.3,298.8,46.4,244.7z'/></svg>");
  background-position: center;
  background-repeat: no-repeat; 
  background-size: contain;
  padding-bottom: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: -1;
}

.product:nth-of-type(9n+1) .price:after {
  transform: translateY(-50%) rotate(36deg);
}

.product:nth-of-type(9n+2) .price:after {
  transform: translateY(-50%) rotate(252deg);
}

.product:nth-of-type(9n+3) .price:after {
  transform: translateY(-50%) rotate(180deg);
}

.product:nth-of-type(9n+4) .price:after {
  transform: translateY(-50%) rotate(72deg);
}

.product:nth-of-type(9n+5) .price:after {
  transform: translateY(-50%) rotate(108deg);
}

.product:nth-of-type(9n+6) .price:after {
  transform: translateY(-50%) rotate(216deg);
}

.product:nth-of-type(9n+7) .price:after {
  transform: translateY(-50%) rotate(288deg);
}

.product:nth-of-type(9n+8) .price:after {
  transform: translateY(-50%) rotate(144deg);
}

.product:nth-of-type(9n+9) .price:after {
  transform: translateY(-50%) rotate(324deg);
}

.products .product.sale .price:after {
  filter: brightness(44%) hue-rotate(180deg) saturate(6.9);
}

.products .product .price del,
.products .product .price ins {
  /*position: absolute;
  bottom: 10px;
  width: 100%;*/
  text-decoration-color: #ffffff !important;
  color: #ffffff;
  display: block;
  margin: 0 !important;
  opacity: 1;
  line-height: .4em;
  text-decoration: none !important; 
}

.products .product .price del {
  margin-top: .5em !important;;
}

.products .woocommerce-Price-amount {
  color: #ffffff;
  font-family: 'Atma', sans-serif !important;
  font-size: .7em !important;
  font-weight: 600;
  line-height: 1.1em;
  margin: 0 .5em !important;
}

.products del .woocommerce-Price-amount
{
  font-size: .5em !important;
  font-weight: 300;
  background: linear-gradient(90deg, rgb(255,255,255) 0%, rgb(255,255,255) 100%);;
  background-position: center;
  background-repeat: repeat-x;
  background-size: 1px 1px;
  
}

.woocommerce-Price-currencySymbol {
  font-weight: 300;
  /*padding-left: .25em;*/
}

.products .product .onsale {
	background: none;
	border: none;
	bottom: 12%;
	color: #ffffff;
	font-family: 'Atma', sans-serif;
	font-size: 0.5em;
	font-weight: 600;
	position: absolute;
	right: 17%;
	transform: translateX(50%);
	transition: transform .3s ease-out, bottom .3s ease-out, right .3s ease-out;
	z-index: 200;
}

.products .product.product_cat-freebooks bdi {
  display: none !important;
}

.products .product.product_cat-freebooks .price::before {
  color: #ffffff;
  content: "GRATIS";
  display: block;
  font-family: 'Atma', sans-serif;
  font-size: 0.7em;
  font-weight: 600;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

ul.products li.product .star-rating, 
ul.products .wc-block-grid__product .star-rating, 
.wc-block-grid__products li.product .star-rating, 
.wc-block-grid__products .wc-block-grid__product 
.star-rating {
  font-size: 0.6em;
  position: absolute;
  bottom: -1.5em;
  left: 50%;
  transform: translateX(-50%);
}

.star-rating {
  width: 6.4em;
  letter-spacing: 0.2em;
  transition: transform .3s ease-out;
}

.site-footer .star-rating span::before {
  color: #8d3568 !important;
}


.products .product:hover .star-rating {
  transform: translateX(-50%) translateY(55%) scale(1.2);
  transition: transform .4s .05s cubic-bezier(0.17, 1.54, 0.79, 1.36);
}

.products .product .wc-gzd-rating-authenticity-status {
	margin: 0;
    padding: 20px 0 0 0;
    position: absolute;
    bottom: -12%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 75%;
	transition: bottom .4s .05s cubic-bezier(0.17, 1.54, 0.79, 1.36);
}

.products .product:hover .wc-gzd-rating-authenticity-status {
    bottom: -17%;
}

.products .wc-gzd-rating-authenticity-status a {
	font-size: 9px;
	line-height: 1em;
	width: 120px;
}

/* im footer */
.site-footer .product_list_widget img {
  margin-bottom: 15px !important;  
}

.site-footer .wc-gzd-additional-info.tax-info {
  display: none;
}

.post-type-archive-product .storefront-sorting + .products {
	display: none;
}


/* hide owned products price */
.products .product.downloadable:not(.product_cat-freebooks):not(.purchasable) .price,
.products .product.downloadable:not(.product_cat-freebooks):not(.purchasable) .onsale {
	display: none !important;
}


/* Show cart & download icon on product */
.products .product .button {
	float: left;
    height: 0;
    margin: 0;
	overflow: hidden;
	padding: 0;
	width: 0;
}


.products .product .button::before {
	background-color: var(--ConfirmationColor);
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><g style='fill:none;stroke:%233b5e4f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;'><line x1='16' y1='2' x2='16' y2='24'/><polyline data-color='color-2' points='8 16 16 24 24 16'/><polyline points='2 23 2 30 30 30 30 23'/></g></svg>");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 50%;
	border-radius: .9em;
	bottom: 28%;
	content: "";
    display: block;
    height: 1.8em;
    position: absolute; 
    right: -7%;
	transition: transform .3s ease-out, bottom .3s ease-out, right .3s ease-out;
    width: 1.8em;
    z-index: 150;
}

.products .product .add_to_cart_button::before {
    background-color: #97588a;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><g style='fill:none;stroke:%23520f3e;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;'><circle cx='9' cy='28' r='3'/><circle cx='26' cy='28' r='3'/><polyline points='22,7 30,7 27,21 7,21 5,1 1,1'/><line x1='5.70605' y1='7' x2='12' y2='7'/><line x1='17' y1='2' x2='17' y2='16'/><polyline points='21,12 17,16 13,12'/></g></svg>");
}

.products .product:hover .button::before {
	bottom: 33%;
    right: -11%;
	transform: scale(1.2)  rotate(-10deg);
	transition: transform .25s .05s cubic-bezier(0.17, 1.54, 0.79, 1.36), bottom .25s .05s cubic-bezier(0.17, 1.54, 0.79, 1.36), right .25s .05s cubic-bezier(0.17, 1.54, 0.79, 1.36);
}

/* hide bought products in special offers page */
.page-id-72169 .products .product.downloadable:not(.purchasable) {
	/*display:none !important;*/
}

