.item {
  background-color: #ffffff;
  box-shadow: 0 2px 2px rgba(0,0,0,0.15);
  position: relative;

  min-height: 200px;

  @media (min-width: $screen-sm) {
    min-height: 300px;
  }

  .item__image-container {
    display: block;
    max-width: 100%;
    max-height: 200px;
    padding: 0;

    > img {
      border-bottom: 1px solid #eeeeee;
      box-shadow: none;
    }
  }
}

.item__image--large {
  background-color: #ffffff;
  box-shadow: 0 2px 2px rgba(0,0,0,0.15);
}

.item__image-container {
  padding: 5px;
  position: relative;
  overflow: hidden;

  > img {
    box-shadow: 0 2px 2px rgba(0,0,0,0.15);
  }

  .item__image-ribbon {
    background-color: #fafafa;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.25);
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 3px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
  }
}

.item .item__image-container--miked {
  padding: 8px;
  .item__image {
    border-radius: 6px;
  }
}

.item__image--rounded {
  border-radius: 6px;
}

.item__name {
  display: block;
  font-weight: bold;
  font-size: 15px;
  margin-top: 12px;
}

.item__price-container {
  .item__price {
    color: #5a5a5a;
    font-size: 24px;
    .points__dash {
      font-weight: 300;
      font-size: 24px;
    }
  }
}

.btn-item {
  padding: 4px 18px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.item__favorite {
  background-color: rgba(255,255,255,1);
  border-radius: 32px;
  color: $brand-danger;
  display: block;
  font-size: 16px;
  font-weight: bold;
  height: 32px;
  line-height: 34px;
  text-decoration: none;
  position: absolute;
  right: 10px;
  top: 10px;
  text-align: center;
  width: 32px;

  // Favorite heart icon implementation using Font Awesome 6
  // - Uses regular/outline heart by default
  // - Switches to solid heart on hover
  .icon {
    &:before {
      font-family: $fa-style-family;
      font-weight: 400;
      color: $brand-danger;
      content: "\f004";
    }
  }

  &:hover .icon:before {
    font-family: $fa-style-family;
    font-weight: 900;
    content: "\f004";
  }

  &--favorited .icon:before {
    font-family: $fa-style-family;
    font-weight: 900;
    content: "\f004";
  }

  &:hover,
  &:focus {
    text-decoration: none;
  }
}