/* Parent Scoped Container */
.shop-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eef0f2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Image Wrapper Section */
.shop-card .card-image-wrapper {
  position: relative;
  width: 100%;
  height: 135px;
  overflow: hidden;
}

.shop-card .card-image-wrapper .shop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Bookmark Button */
.shop-card .card-image-wrapper .bookmark-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
  filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.5));
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-card .card-image-wrapper .bookmark-btn .icon-bookmarked {
  color: #ffffff;
}

/* Rating Badge Overlay */
.shop-card .card-image-wrapper .rating-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 3px 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.shop-card .card-image-wrapper .rating-badge .star-icon {
  color: #ffb800;
  font-size: 11px;
}

.shop-card .card-image-wrapper .rating-badge .rating-text {
  color: #222222;
}

.shop-card .card-image-wrapper .rating-badge .rating-text .reviews {
  color: #666666;
  font-weight: 500;
}

/* Card Body Content */
.shop-card .card-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.shop-card .card-content .shop-name {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-card .card-content .shop-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #666666;
  margin-bottom: 8px;
}

.shop-card .card-content .shop-location .location-icon {
  font-size: 12px;
  color: #888888;
  flex-shrink: 0;
}

.shop-card .card-content .shop-location span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Delivery / Distance Tag */
.shop-card .card-content .time-away-tag {
  background-color: #e8eef5;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 6px 8px;
  border-radius: 8px;
}