/*----------------------------
  --- 首頁精選卡片（reubird.hk 風格）----
  淨係首頁 index.php 用，唔影響 search.php / shop.php 舊有 carousel 樣式
------------------------------*/

.homeGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.homeGrid .main_title {
  flex-basis: 100%;
  width: 100%;
  margin-bottom: 4px;
}

.shopCard {
  display: block;
  flex: 1 1 260px;
  max-width: 280px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shopCard:hover,
.shopCard:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  text-decoration: none;
  color: inherit;
}

.shopCard_img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e2e2e2;
  overflow: hidden;
}

.shopCard_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shopCard_body {
  padding: 14px 16px 18px;
}

.shopCard_tag {
  font-size: 13px;
  color: #8a8a99;
  margin-bottom: 4px;
}

.shopCard_name {
  font-size: 19px;
  font-weight: 700;
  color: #2b2b55;
  margin-bottom: 10px;
  line-height: 1.3;
}

.shopCard_meta {
  font-size: 14px;
  color: #555566;
  margin-bottom: 4px;
}

.shopCard_desc {
  font-size: 14px;
  color: #555566;
  margin-top: 8px;
  line-height: 1.5;
}

@media screen and (max-width: 600px) {
  .homeGrid {
    gap: 20px;
  }

  .shopCard {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
