/* Compact cover/profile cards belong only to the homepage store section. */
.home-store-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.home-store-cover {
  display: block;
  height: 112px;
  overflow: hidden;
  background: linear-gradient(120deg, #214c3b, #b5ccbf);
}

.home-store-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-store-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  padding: 0 16px 14px;
}

.home-store-identity {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  margin-top: -26px;
  min-width: 0;
  min-height: 74px;
}

.home-store-avatar {
  display: block;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border: 4px solid #fff;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 6px #153b2e12;
}

.home-store-avatar .store-profile-image {
  display: flex;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: #fff;
}

.home-store-identity h3 {
  min-width: 0;
  margin: 30px 0 0;
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.home-store-identity h3 a {
  color: var(--ink);
  text-decoration: none;
}

.home-store-identity h3 a:hover {
  color: var(--link);
}

.home-store-body>p {
  grid-column: 1;
  grid-row: 2;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  height: 39px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-store-visit {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 10px;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 760px) {

  .home-store-cover {
    height: 104px;
  }

  .home-store-body {
    padding-right: 14px;
    padding-left: 14px;
  }
}
