/* ===== 출장 전용 카드 ===== */

/* 컨테이너 */
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
}

/* 개별 카드 */
.card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* 이미지 */
.card-image { position: relative; }
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* 배지 */
.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  z-index: 5;
}
.card-badge {
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.card-badge.홈케어 { background: #10b981; }
.card-badge.출장마사지 { background: #f59e0b; }
.card-badge.출장방문 { background: #3b82f6; }
.card-badge.신속방문 { background: #ef4444; }
.card-badge.제주전지역 { background: #9333ea; }
.card-badge.총알방문 { background: #e11d48; }
.card-badge.홈테라피 { background: #6366f1; }
.card-badge.출장안마 { background: #22c55e; }

/* 영업 상태 */
.card-status {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  color: #fff;
  z-index: 5;
}
.card-status.open { background: #059669; }
.card-status.closed { background: #d97706; }

/* 본문 */
.card-body { padding: 16px; flex: 1; }
.card-title { font-size: 18px; font-weight: bold; margin-bottom: 6px; }
.card-rating { font-size: 14px; color: #666; margin-bottom: 8px; }
.card-desc { font-size: 14px; color: #444; margin-bottom: 8px; }

/* 하단 */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 12px;
  border-top: 1px solid #f1f1f1;
}
.card-footer .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card-footer .tags span {
  background: #f1f1f1;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  color: #333;
}
.card-footer .price { text-align: right; }
.card-footer .price-original {
  text-decoration: line-through;
  font-size: 13px;
  color: #aaa;
  display: block;
}
.card-footer .price-discount {
  font-size: 15px;
  font-weight: bold;
  color: #e11d48;
  display: block;
}
