.nosto_element .product {
	margin-bottom: 36px;
	position: relative;
}
.nosto_element .product--center {
	.product__details {
		text-align: center;
	}
}
.nosto_element .product-top {
	position: relative;
	overflow: hidden;
  margin-bottom: 10px;

  .product-link img {
    width: 100%;
    height: 100%;
  }
}
.nosto_element .product__media {
	position: relative;
	overflow: hidden;
	background: $color--product-bg;
}
.nosto_element .product__img.product__img {
	height: 100%;
	width: 100%;
   	max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
	@include backface-visibility(hidden);
	
}
.nosto_element .product--fit .product__img {
	object-fit: contain;
    font-family: 'object-fit: contain;';
}
.nosto_element .product--crop .product__img {
	object-fit: cover;
    font-family: 'object-fit: cover;';
}
.nosto_element .product__img-hover {
	background: $color--product-bg;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden; 
	@include transition(all 0.2s ease-in);
}

.nosto_element .product__details {
  margin-top: 1rem;
  &.sale--true{
    position: relative;
    &:before{
      position: absolute;
      content: 'Sale';
      font-size: 34px;
      color: $color--red;
      font-family: "Northwell";
      top: -30px;
      left: 50%;
      -webkit-transform: translateX(-50%);
      -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      -o-transform: translateX(-50%);
      transform: translateX(-50%);
    }
  }
}

.nosto_element .product__title {
	font-size: 14px;
	margin: 0 0 4px 0;
  font-family: "sofia-pro", sans-serif;
  font-weight: 400;
  color: #232a2e;
}

.nosto_element .product-link .info-flag {
  font-size: 12px !important;
  line-height: 20px!important;
  letter-spacing: normal !important;
  font-weight: 400 !important;
  color: #dd4a65;
  text-transform: uppercase;
  margin: 6px 0 4px;
  font-family: 'sofia-pro', sans-serif!important;
}

@media (max-width: 767px) {
  .nosto_element .product-link .info-flag {
    font-size: 10px!important;
  }
  .nosto_element .product__title {
    font-size: 12.8px!important;
  }
}

.nosto_element .product-cs .product-link {
  
}

.nosto_element .product-cs .product__price span {
  font-size: 14px;
  line-height: 20px;
}

.nosto_element .product__vendor {
	font-family: $font--body;
	font-weight: $font--body-weight;
	font-style: $font--body-style;
	text-transform: none;
	letter-spacing: 0;
	margin: 0 0 9px;	
	color: rgba($color--text,.7);
}

.nosto_element .product__price,
.boost-pfs-filter-product-item-price {
  font-family: "sofia-pro", sans-serif;
	color: $color--text;
  color: #000!important;
	margin: 0 0;
  font-size: 14px!important;
  line-height: 20px!important;
  padding: 0;
	line-height: 1;
}
.nosto_element .product__price-cross {
	position: relative;
	margin-left: 6px;
	text-decoration: line-through;
	font-size: 0.9em;
	color: $color--alt-text;
}
.nosto_element .product__reviews {
	margin-top: 18px;
	line-height: 0;
	.spr-badge-caption {
		font-size: 0.85rem;
		color: rgba($color--text,.7);
	}
}
.nosto_element .product-btn {
    width: 100%;
    left: 0;
    @include transition($global-transition);
}
.nosto_element .product-btn--hover {
	position: absolute;
	margin-top: -48px;
	//animation
    opacity: 0;
    visibility: hidden;
	@include transform(translateY(10px));
}
.nosto_element .product-btn--always {
	position: relative;
	margin-top: 0;
}
.nosto_element .touch .product-btn--hover {
	display: none;
}

@include mq-max($tab) {
	.nosto_element .product {
		margin-bottom: 30px;
	}
	.nosto_element .product-btn--hover {
		display: none;
	}
}

.related-products .product-cs {
  margin: 0 16px;
}

.nosto_element .related-products {
  padding: 0 var(--outer) 20px;
}

.drawer__inner .nosto_element .related-products {
  padding: 0;
}

//hover effects
.nosto_element .product,
.nosto_element .product-cs {
	&:hover {
		.product-link {
			opacity: 1;
			text-decoration: none;
		}
		.product__img {
			opacity: .9;
		}
		.product__title {
			opacity: .7;
		}
		.product__img-hover {
			opacity: 1;
			visibility: visible;
		}
		.product-btn {
			opacity: 1;
	        visibility: visible;
	        @include transform(translateY(0));
		}
	}
}

.nosto_element .product-single__add-btn {
  margin-bottom: 15px;
  font-size: 15px;
  letter-spacing: 2px;
  color: #ffffff;
  font-family: "sofia-pro", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  background-color: $color--red;

  &:hover{
    background-color: $color--red-darker;
  }

  &.disabled{
    background-color: #D2D2D2;
    color: #000;
    &:hover{
      background-color: $color--grey-light;
    }
  }
}

.nosto_element .slick-next.slick-arrow {
  right: -35px;
  color: transparent !important;
  background: #fff;
  box-shadow: 0 2px 6px #0000000a, 0 2px 2px #00000005;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nosto_element .slick-next.slick-arrow::before {
  content: " ";
  display: block;
  position: absolute;
  background-image: var(--ICON-ARROW-RIGHT);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.nosto_element .slick-prev.slick-arrow {
  color: transparent !important;

  background: #fff;
  box-shadow: 0 2px 6px #0000000a, 0 2px 2px #00000005;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nosto_element .slick-prev.slick-arrow::after {
  content: " ";
  display: block;
  position: absolute;
  background-image: var(--ICON-ARROW-LEFT);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.js-section__home-nosto .nosto_element .product-cs:hover .product-top img {
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.js-section__home-nosto .nosto_element .product-cs:hover .product-top img.product__img-hover {
  opacity: 1;
  visibility: visible;
  transition: all 0.25s ease;
}

.nosto_element .product__details.sale--true {
  position: inherit !important;
}

.nosto_element .product-cs {
  position: relative;
  width: fit-content !important;
}

// .nosto_element .product__details.sale--true::before {
//   font-size: 25px;
//   color: #dd4a65;
//   top: -165px;
//   left: 50%;
//   transform: translateX(-50%);
//   font-size: 12px;
//   font-family: "sofia-pro", sans-serif;
//   text-transform: uppercase;
//   padding: 2px;
// }

.nosto_element .product__details.sale--true::before {
  font-size: 25px;
  color: #dd4a65;
  top: -40px;
  display: none;
}

.nosto_element .section__title-text {
  font-size: 12px;
  margin: 0;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: "sofia-pro", sans-serif;
  letter-spacing: 0.04em;
}

.js-section__home-nosto .section__title-text {
  font-size: 12px;
  line-height: normal;
  font-family: "Addington", serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.drawer__inner .nosto_element .section__title-text {
  display: none;
}

.product-cs.slick-slide {
  max-width: 100%;
}

.cart__custom-code .related-products,
.cart__custom-code .related-products .crossout{
  display: flex;
  max-width: 328px;
}

.cart__custom-code .related-products .product-cs {
  margin: 0 10px;
}

.cart__custom-code button.slick-arrow.slick-next {
  right: -15px;
}

.cart__custom-code button.slick-arrow.slick-prev {
  left: -15px;
}