
/*****************************************/
/* Tile specific styling
/*****************************************/

.wae-tile-avatar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -120%);
  max-width: 5rem;
  max-height: 5rem;
}

.wae-tile-avatar img {
  border-radius: 5rem;
}

.wae-tile-title {
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

.wae-tile-title h2 {
  margin: 0;
}

/*****************************************/
/* Generic tile styling    */
/*****************************************/

.wae-tile {
  --tile-top-height: 8.75rem;
  --tile-content-height: 14.5rem;
  --tile-width: 12rem;
  
  margin: 0 auto;
  margin-bottom: 2.5rem;
  /* position the tile relative so we can absolutely position the avatar relative to the tile  */
  position: relative;
}

@media (max-width: 767px) {
  .row-fluid [class*="span"] {
    width: 100%;
  }
}

.wae-tile-wallpaper img {
  height: var(--tile-top-height);
  max-height: var(--tile-top-height);
  object-fit: contain;
  width: 100%;
}

.wae-tile-avatar img {
  border-radius: 5rem;
}

.wae-tile-content {
  max-height: var(--tile-content-height);
  overflow: hidden;
}

.wae-tile-vendor {
  color: #4e4e4e;
  font-size: 0.875rem;
}

.row-fluid .wae-tile-vendor, .row-fluid .wae-tile-producttitle, .row-fluid .wae-tile-price, .row-fluid .wae-tile-rating {
  min-height: initial !important;
}

.wae-tile-vendor span, .wae-tile-producttitle span, .wae-tile-price span {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.wae-tile-producttitle {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.wae-tile-rating {
  margin-bottom: 0.25rem;
}

.wae-tile-rating img {
  max-height: 1rem;
}

.wae-tile-cta {
/*   background-color: #5557f8; */
  background-color: white;
  border: 2px solid #5557f8;
  border-radius: 5px;
  padding: 0.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.wae-tile-cta a {
  color: #5557f8;
/*   color: white; */
  text-decoration: none;
  font-family: Montserrat-SemiBold;
  font-size: 0.875rem;
}

.wae-tile-price {
  font-family: Montserrat-Medium;
  font-size: 0.875rem;
}
