/**
Include icons in scss/css.
Usage: 
 @include icon(close);
*/
/*
Media query mixin.
Usage: 
@include media($bp-l, min)
*/
/*
Mixin to add loading spinner to button/element.
Usage: 
@include loading()
*/
.search-products__heading {
  font-size: 0.875rem;
  line-height: 140%;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
  margin-bottom: 1rem;
}

@keyframes item-show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.search-products__item {
  opacity: 0;
  transform-origin: top;
  animation: item-show 0.3s ease 1 forwards;
}
.search-products__item:nth-child(1) {
  animation-delay: 0.1s;
}
.search-products__item:nth-child(2) {
  animation-delay: 0.2s;
}
.search-products__item:nth-child(3) {
  animation-delay: 0.3s;
}
.search-products__item:nth-child(4) {
  animation-delay: 0.4s;
}
.search-products__item:not(:last-child) {
  margin-bottom: 0.75rem;
}
.search-products__item a {
  display: inline-flex;
  gap: 1rem;
  text-decoration: none;
  color: #054040;
}
.search-products__item media-loader {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  background-color: #f2f2f2;
}
@media only screen and (min-width: 992px) {
  .search-products__item media-loader {
    width: 5rem;
    height: 5rem;
  }
}
.search-products__item media-loader::before {
  float: left;
  padding-top: 133.3333333333%;
  content: "";
}
.search-products__item media-loader::after {
  display: block;
  content: "";
  clear: both;
}
.search-products__item media-loader:empty {
  opacity: 1;
}
.search-products__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-products__item-content {
  font-size: 0.75rem;
  line-height: 160%;
  font-weight: 500;
}

.search-products__item-title {
  font-size: 1.125rem;
  line-height: 150%;
  font-weight: 600;
  letter-spacing: -0.0125rem;
  margin-top: 0.5rem;
}
@media (min-width: 992px) {
  .search-products__item-title {
    font-size: 1.25rem;
  }
}

.search-products__item-price {
  font-size: 0.875rem;
  line-height: 140%;
  font-weight: 500;
  color: #1a1a1a;
  margin-top: 0.25rem;
}
