.pet-shelf {
  padding: 0 20px 22px;
}

.pet-shelf__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pet-shelf__title {
  color: $fg-2;
  font: 600 13px / 1 $font-display;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pet-shelf__more {
  color: $accent;
  font: 500 11px / 1 $font-body;
}

.pet-shelf__list {
  display: flex;
  gap: 10px;
}

.pet-shelf__card {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(45, 34, 85, 0.4);
  border: 1px solid rgba(216, 180, 255, 0.08);
}

.pet-shelf__photo {
  position: relative;
  height: 78px;
  border-radius: 10px;
  overflow: hidden;
}

.pet-shelf__photo-img {
  width: 100%;
  height: 78px;
  border-radius: 10px;
}

.pet-shelf__label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: $radius-pill;
  background: rgba(0, 0, 0, 0.4);
  color: $fg;
  font: 500 9px / 1 $font-body;
}

.pet-shelf__name {
  display: block;
  margin-top: 10px;
  color: $fg;
  font: 600 13px / 1.2 $font-body;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pet-shelf__meta {
  display: block;
  margin-top: 3px;
  color: $muted;
  font: 400 10px / 1.3 $font-body;
}

.pet-shelf__card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: $muted;
  background: rgba(45, 34, 85, 0.22);
}

.pet-shelf__card--limit {
  min-height: 130px;
}

.pet-shelf__add-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pet-shelf__add-label {
  margin-top: 8px;
  font: 500 11px / 1 $font-body;
}
