/* 詳細頁樣式。R2：原始 _html_ori_20260821\assets\css\details.css 缺檔，
   本檔於 develop02 建立骨架、develop07 補回 .panel / .tag（原始詳細頁引用但無來源）。
   （save 030 後 .detail-gallery* 隨 _ImageGallery.cshtml 一併移除，改用 DirectoryDetail 內嵌縮圖列。） */

.panel {
  border-radius: 0.9rem;
  border: 1px solid var(--line, #e1d8cc);
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 6px 20px rgba(72, 56, 39, 0.06);
}

.tag {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: #f3ede4;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #6c5a46;
}

/* shops-detail.html：特色店家瀑布流畫廊（sec-05：由 DirectoryDetail.cshtml inline <style> 搬入） */
.gallery {
  column-count: 1;
  column-gap: 1rem;
}

@media (min-width: 640px) {
  .gallery {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .gallery {
    column-count: 3;
  }
}

.gallery-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}
