/* ===== shops 頁：解除原本 tabs 系統的影響 ===== */
.tabs-container,
.panels,
.panel,
.tabs,
.LPTab {
  all: unset;
}

/* 讓頁面回到正常排版流 */
.tabs-container { display:block; }

/* ===== 店鋪篩選按鈕 ===== */
/* .shop-filter{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin: 20px auto 30px;
  max-width: 1180px;
  padding: 0 15px;
}

.shop-filter-btn{
  border:1px solid #e9ecee;
  background:#fff;
  padding:10px 16px;
  border-radius:999px;
  font-size:1.4rem;
  cursor:pointer;
  transition:0.2s;
}

.shop-filter-btn:hover{
  border-color:#e6b333;
  color:#e6b333;
}

.shop-filter-btn.is-active{
  background:#e6b333;
  border-color:#e6b333;
  color:#fff;
} */

/* ===== 區塊顯示/隱藏 ===== */
/* .shop-region{ max-width:1180px; margin:0 auto 40px; padding:0 15px; }
.shop-region.is-hidden{ display:none; } */

/* =========================
   Shops Page (standalone)
   - Centered layout
   - Filter pills
   - Card-style shop list (from table)
   - Responsive
   ========================= */

/* 主色（沿用你的土黃色） */
:root{
  --shop-accent: #e6b333;
  --shop-border: #e9ecee;
  --shop-text: #222;
  --shop-muted: #666;
  --shop-bg: #fff;
  --shop-soft: #fafafa;
}

/* ---------- Page container ---------- */
/* 建議你 main 內外層至少有 .shops-page 或 .shops-wrap，
   但就算沒有，下面也會盡量用低侵入選擇器套到現有結構 */
.shops-page,
.shops-wrap,
.shop-region{
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  color: var(--shop-text);
}

.shops-page{
  padding-top: 30px;
  padding-bottom: 60px;
}

/* ---------- Filter pills ---------- */
.shop-filter{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin: 10px auto 40px;
  padding: 0 15px;
}

.shop-filter-btn{
  appearance:none;
  border: 1px solid var(--shop-border);
  background: var(--shop-bg);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s;
}

.shop-filter-btn:hover{
  border-color: var(--shop-accent);
  color: var(--shop-accent);
}

.shop-filter-btn.is-active{
  background: var(--shop-accent);
  border-color: var(--shop-accent);
  color: #fff;
}

/* ---------- Region title ---------- */
.shop-region{
  margin-bottom: 46px;
}

.shop-region .prefect,
.shop-region > h3{
  font-size: 2rem;
  font-weight: 700;
  margin: 18px 0 14px;
}

/* 隱藏用（給 JS 切換） */
.shop-region.is-hidden{ display:none !important; }

/* =========================================================
   TABLE -> CARD VIEW
   你的 HTML 仍是 table，但用 CSS 轉成卡片排版
   ========================================================= */

/* 表格外觀解除 */
.shop-region table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

/* 隱藏表頭那一列（施工店/店舗情報） */
.shop-region table tr:first-child{
  display: none;
}

/* tbody 變成卡片列表容器 */
.shop-region table tbody{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 每一列（每家店）變卡片 */
.shop-region table tbody tr{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  padding: 18px 18px;
  border: 1px solid var(--shop-border);
  border-radius: 14px;
  background: var(--shop-bg);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

/* td 解除表格屬性 */
.shop-region table tbody tr td{
  border: 0;
  padding: 0;
  vertical-align: top;
}

/* 左欄：店名 */
.shop-region table tbody tr td:first-child{
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.4;
}

/* 店名連結 */
.shop-region table tbody tr td:first-child a{
  color: var(--shop-text);
  text-decoration: none;
}

.shop-region table tbody tr td:first-child a:hover{
  color: var(--shop-accent);
}

/* 右欄：資訊（地址/電話/營業時間） */
.shop-region table tbody tr td:nth-child(2){
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--shop-text);
}

/* 郵遞區號那行稍微淡一點 */
.shop-region table tbody tr td:nth-child(2) > span{
  display:block;
  color: var(--shop-muted);
  margin-bottom: 4px;
}

/* 地址連結 */
.shop-region table tbody tr td:nth-child(2) a{
  color: var(--shop-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(230,179,51,0.0);
  transition: 0.2s;
}

.shop-region table tbody tr td:nth-child(2) a:hover{
  color: var(--shop-accent);
  border-bottom-color: rgba(230,179,51,0.5);
}

/* TEL 行 */
.shop-region table tbody tr td:nth-child(2) > span + p + span,
.shop-region table tbody tr td:nth-child(2) span{
  /* 你的結構有多個 span，避免全部被套同樣樣式，這裡只做基本保護 */
}

/* 營業時間/休假行 */
.shop-region .ShopHours,
.shop-region .ShopHoliday{
  margin: 6px 0 0;
  color: var(--shop-text);
}

.shop-region .ShopHours span,
.shop-region .ShopHoliday span{
  font-weight: 700;
  color: var(--shop-muted);
}

/* 外部連結的小 icon（你原本 blank class）保持有呼吸感 */
.shop-region td.blank{
  word-break: break-word;
}
.shop-region td.blank a{
  word-break: break-word;
}

/* ---------- Hover subtle card effect ---------- */
.shop-region table tbody tr{
  transition: 0.2s;
}
.shop-region table tbody tr:hover{
  border-color: rgba(230,179,51,0.55);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .shop-region table tbody tr{
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 767px){
  .shops-page{
    padding-top: 18px;
    padding-bottom: 40px;
  }

  .shop-filter{
    margin-bottom: 22px;
    gap: 8px;
  }

  .shop-filter-btn{
    padding: 10px 14px;
    font-size: 1.35rem;
  }

  .shop-region .prefect,
  .shop-region > h3{
    font-size: 1.8rem;
    margin: 14px 0 10px;
  }

  /* 卡片在手機改成上下排列 */
  .shop-region table tbody tr{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 14px;
    border-radius: 12px;
  }

  .shop-region table tbody tr td:first-child{
    font-size: 1.55rem;
  }

  .shop-region table tbody tr td:nth-child(2){
    font-size: 1.35rem;
    line-height: 1.85;
  }
}