/* === Reset / Base === */
body {
  font-family: 'Noto Sans TC', sans-serif;
  margin: 0;
  padding: 0;
  background: #F7F7F7;
  color: #14140C;
}

header {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}

/* === Search page header === */
.search-page-header {
  padding: 5rem 1.25rem 0.75rem;
  background: #F7F7F7;
}
.search-page-title {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 200;
  letter-spacing: -0.02em;
  margin: 0 0 0.375rem;
  color: #14140C;
  line-height: 1;
}
.search-page-subtitle {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #14140C;
  margin: 0 0 1rem;
}
.search-form-wrap {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.search-form {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #14140C;
  border-radius: 0;
  overflow: hidden;
  background: #F7F7F7;
}
.search-icon {
  position: absolute;
  left: 0.75rem;
  color: #14140C;
  font-size: 0.875rem;
  pointer-events: none;
}
#query {
  width: 100%;
  padding: 0.6875rem 0.75rem 0.6875rem 2.25rem;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.75rem;
  color: #14140C;
  border: none;
  background: transparent;
  box-sizing: border-box;
  outline: none;
}
#query::placeholder { color: #A1A19F; }
.search-recommend-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #14140C;
  border-radius: 0;
  background: #F7F7F7;
  cursor: pointer;
  white-space: nowrap;
  color: #14140C;
  transition: background 0.15s;
}
.search-recommend-btn:hover { background: #ebebeb; }
.search-recommend-btn.has-filter { border-color: #14140C; color: #14140C; }
.search-hint {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.75rem;
  color: #A1A19F;
  margin: 0.5rem 0 0;
}
.search-recommend-title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  padding: 1.25rem 1.25rem 1rem;
  color: #14140C;
  line-height: 1.1;
}

/* === Tabs row === */
.tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: #F7F7F7;
  gap: 0.75rem;
  overflow: hidden;
}
.tabs {
  display: flex;
  overflow-x: auto;
  background-color: #F7F7F7;
  padding: 0.625rem 0;
  gap: 0.5rem;
  scrollbar-width: none;
  flex: 1;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.sort-select {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.8125rem;
  border: none;
  border-bottom: 1px solid #14140C;
  border-radius: 0;
  padding: 0.3125rem 0.5rem;
  background: transparent;
  color: #14140C;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.tabs-divider {
  border: none;
  border-top: 1px solid #14140C;
  margin: 0;
}

/* === Section header with count + arrows === */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3.75rem 0 3.75rem;
  margin-bottom: 0;
}
.section-title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #14140C;
  margin: 0;
}
.section-count {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #14140C;
  margin-left: 0.25rem;
}
.section-nav {
  display: flex;
  gap: 0.375rem;
}
.section-nav-btn {
  all: unset;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: #14140C;
  padding: 0.25rem 0.5rem;
  border: 1px solid #14140C;
  border-radius: 0;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.section-nav-btn:hover { background: #14140C; color: #F7F7F7; }

/* === Card content top row: badge + heart === */
.card-content-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 1.5rem;
}
.card-icon-btn.heart {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #bbb;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
  margin-left: auto;
}
.card-icon-btn.heart:hover { color: #e53935; }

/* === Card action buttons === */
.card-action-btn--primary {
  flex: 1;
  padding: 0.625rem 0.875rem;
  background: #14140C;
  color: #F7F7F7;
  border: none;
  border-radius: 0;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.card-action-btn--primary:hover { background: #333; }
.card-action-btn--more {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #14140C;
  border-radius: 0;
  font-size: 0.875rem;
  color: #14140C;
  background: #F7F7F7;
  text-decoration: none;
  letter-spacing: 0;
  box-sizing: border-box;
  transition: background 0.15s, color 0.15s;
}
.card-action-btn--more:hover { background: #14140C; color: #F7F7F7; }
.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.625rem;
  align-items: center;
}

/* === Card meta: English subtitle + price === */
.card-meta-en {
  font-size: 0.8125rem;
  color: #888;
  font-style: normal;
}

/* Meta row icon */
.card-meta-icon {
  margin-right: 0.3125rem;
  color: #aaa;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 0.125rem;
}

/* === Category badge inside card content === */
.card-cat-badge {
  display: inline-block;
  font-size: 0.6875rem;
  color: #14140C;
  background: #F7F7F7;
  border: none;
  border-radius: 0;
  padding: 0.1875rem 0.625rem;
  font-style: normal;
  letter-spacing: 0.02em;
}
.card-meta-price {
  font-size: 0.8125rem;
  color: #111;
  font-weight: 500;
}

/* === Ticker + Footer (imported from index_v2) === */
.v2-ticker-wrap {
  overflow: hidden;
  background: #F7F7F7;
  padding: 0.5625rem 0;
  border-bottom: 1px solid #14140C;
}
.v2-ticker-wrap--bottom {
  border-bottom: none;
  border-top: 1px solid #14140C;
  background: #F7F7F7;
}
.v2-ticker {
  display: flex;
  white-space: nowrap;
  width: max-content;
}
.v2-ticker__track {
  display: inline-block;
  white-space: nowrap;
  font-family: "Geist Mono", "Noto Sans TC", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #14140C;
  animation: ticker-scroll 28s linear infinite;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.loading {
  font-size: 0.875rem;
  color: #888;
  padding: 1.25rem 0.625rem;
}

/* skeleton loading */
@keyframes sk-shimmer {
  0%   { background-position: -25rem 0; }
  100% { background-position: 25rem 0; }
}
.sk-anim {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 50rem 100%;
  animation: sk-shimmer 1.4s infinite linear;
  border-radius: 0;
}
.sk-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f5f5f5;
}
.sk-img {
  width: 4rem;
  height: 4rem;
  border-radius: 0;
  flex-shrink: 0;
}
.sk-body { flex: 1; }
.sk-line {
  height: 0.875rem;
  border-radius: 0;
}

/* (old search-header / tabs replaced by search-page-header + tabs-row above) */
.tab {
  all: unset;
  display: inline-block;
  padding: 0.5rem 1.125rem;
  cursor: pointer;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.875rem;
  color: #14140C;
  white-space: nowrap;
  border: 1px solid #14140C;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tab:hover { background: rgba(20,20,12,0.06); }
.tab.active { background: #14140C; color: #F7F7F7; border-color: #14140C; font-weight: 600; }

/* === Main === */
main { padding: 0 1.25rem; background-color: #F7F7F7; }
.category { margin-bottom: 0; }
#section-exhibitions, #section-galleries { padding-bottom: 6.5rem; }
#section-artworks, #section-artists { padding-bottom: 5rem; }

/* === Scroll containers === */
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 0.375rem;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.scroll-container::-webkit-scrollbar { height: 0.1875rem; }
.scroll-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 0.125rem; }
.scroll-container.vertical {
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

/* === Card (shared) === */
.card {
  flex: 0 0 13.75rem;
  width: 13.75rem;
  border-radius: 0;
  overflow: hidden;
  background: #F7F7F7;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  background-color: #f0f0f0;
  display: block;
}

.card-content {
  padding: 0.875rem 0.875rem 1rem;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.card-title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #14140C;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-subtitle {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #14140C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === card meta 資訊列（新增）=== */
.card-meta-row {
  font-size: 0.75rem;
  color: #43423E;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: flex-start;
}
/* list 模式下允許換行 */
.card--list .card-meta-row {
  white-space: normal;
}
/* 地址顏色稍淡 */
.card-address {
  font-size: 0.75rem;
  color: #999;
}

/* grid 模式：card-content-top(1) + card-title(2) + meta rows(3,4,5) → 最多顯示 3 行 meta */
.card-content:not(.card-content--list) .card-meta-row:nth-child(n+6) {
  display: none;
}

/* === 橫式（list）：左圖右文，橫向捲動 === */
.card--list {
  flex: 0 0 18.75rem;
  width: 18.75rem;
  max-width: none;
  flex-direction: row;
  align-items: stretch;
  min-height: 10rem;
}
.card--list .card-img-wrapper {
  position: relative;
  flex: 0 0 7.5rem;
  width: 7.5rem;
  overflow: hidden;
}
.card--list img {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  aspect-ratio: unset;
  object-fit: cover;
}
.card--list .card-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  overflow: hidden;
}
.card--list .card-title {
  font-size: 0.9375rem;
  -webkit-line-clamp: 2;
}
.card--list .card-subtitle {
  white-space: normal;
  -webkit-line-clamp: 1;
}
.card--list .card-actions {
  margin-top: auto;
  flex-wrap: nowrap;
}
.card--list .card-action-btn--primary {
  font-size: 0.6875rem;
  padding: 0.4375rem 0.5rem;
}
.card--list .card-action-btn--more {
  width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
}

/* === meta list & pills === */
.meta-list {
  margin: 0.25rem 0 0;
  padding: 0 0 0.125rem 1.125rem;
  color: #666;
  font-size: 0.75rem;
}
.meta-list li { margin: 0.25rem 0; }

.pill-row { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.pill {
  display: inline-block;
  border-radius: 62.4375rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}
.pill--accent { background: #111; color: #fff; }
.pill--ghost { background: #f1f1f1; color: #666; }

/* === Card image hover zoom === */
.card-img-wrapper { position: relative; overflow: hidden; }
.card img { transition: transform 0.35s ease; }
.card:hover img { transform: scale(1.04); }

/* === Card meta icons === */
.card-meta-icon {
  font-size: 0.6875rem;
  margin-right: 0.3125rem;
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* === Card image overlay badges === */

.card-badge {
  position: absolute;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.1875rem 0.5rem;
  border-radius: 0;
  letter-spacing: 0.04em;
  pointer-events: none;
  line-height: 1.4;
}
.card-badge--tl { top: 0.5rem; left: 0.5rem; }
.card-badge--tr { top: 0.5rem; right: 0.5rem; }
.card-badge--accent  { background: #43423E; color: #F7F7F7; }
.card-badge--ghost   { background: #43423E; color: #F7F7F7; }
.card-badge--dark    { background: #14140C; color: #F7F7F7; }
.card-badge--warn    { background: #e53935; color: #fff; }
.card-badge--rating  { background: rgba(0,0,0,0.55); color: #fff; }

/* === Heart & actions === */
.card-icon-btn.heart {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0.375rem;
  font-size: 1.125rem;
  cursor: pointer;
  color: #fff;
  text-shadow: 0 1px 0.25rem rgba(0,0,0,0.5);
  transition: color 0.2s ease;
}
.card-icon-btn.heart:hover { color: #f44; }

/* === Card section divider === */
.card-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 0.375rem 0;
}

.card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.125rem;
  flex-wrap: wrap;
}
/* 舊版文字按鈕；排除新卡片的「加入行程」與「···」（原本 all:unset 排在後面，把「···」的黑框清掉了） */
.card-action-btn:not(.card-action-btn--primary):not(.card-action-btn--more) {
  all: unset;
  cursor: pointer;
  font-size: 0.8125rem;
  color: #333;
  padding: 0.375rem 0.625rem;
  transition: color 0.2s ease;
}
.card-action-btn:not(.card-action-btn--primary):not(.card-action-btn--more):hover { color: #000; }

/* === Footer === */
footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.875rem;
  background: #F7F7F7;
  color: #888;
  border-top: 1px solid #e0e0e0;
}

/* === 尺寸優化（平板與桌面） === */
@media (min-width: 40rem) {
  .card:not(.card--list) { flex: 0 0 15rem; width: 15rem; }
  .card--list { flex: 0 0 20rem; width: 20rem; }
  .card--list .card-img-wrapper { flex: 0 0 8.125rem; width: 8.125rem; }
}

@media (min-width: 64rem) {
  .card:not(.card--list) { flex: 0 0 16.25rem; width: 16.25rem; }
  .card--list { flex: 0 0 22.5rem; width: 22.5rem; }
  .card--list .card-img-wrapper { flex: 0 0 9.375rem; width: 9.375rem; }
}

/* === 版型切換按鈕 (T092309/T092313/...) === */
.layout-toggle { display: flex; gap: 0.5rem; }
.layout-btn {
  all: unset;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  display: inline-flex;
  align-items: center;
  color: #A1A19F;
}
.layout-btn i { font-size: 1.125rem; line-height: 1; }
.layout-btn:hover { color: #14140C; }
.layout-btn.is-active { color: #14140C; }
/* 瀑布按鈕：手機顯示，桌面隱藏 */
.layout-btn--mobile { display: inline-flex; }
@media (min-width: 48rem) { .layout-btn--mobile { display: none; } }

.card-img-wrapper.clickable { cursor: pointer; }

/* === 藝術作品：圖片保持原始比例 === */
.card--artworks img {
  aspect-ratio: auto;
  max-height: 20rem;
  min-height: 10rem;
}

/* === 根節點模式控制 === */
.mode-all .layout-toggle { display: none; }
.mode-single .layout-toggle { display: flex; }
.mode-single.view-grid .card img {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: unset;
}

/* === 篩選按鈕指示器 === */
#btnFilter.has-filter { color: #201F21; position: relative; }
#btnFilter.has-filter::after {
  content: '';
  position: absolute; top: 0.125rem; right: 0.125rem;
  width: 0.375rem; height: 0.375rem; border-radius: 50%;
  background: #201F21;
}

/* === 進階篩選遮罩 === */
.filter-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 1001; /* 蓋過 header(300) 與底部 NAV(1000) */
  background: rgba(0,0,0,.4);
}
.filter-backdrop.open { display: block; }

/* === 進階篩選面板 === */
.filter-panel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1002;
  max-width: 30rem; margin: 0 auto;
  background: #fff; border-radius: 0;
  padding: 0 0 calc(1.25rem + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.28s ease;
}
.filter-panel.open { transform: translateY(0); }

.filter-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid #e6e6e6;
}
.filter-panel-title { font-size: 0.9375rem; font-weight: 700; }
.filter-panel-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.125rem; color: #757575; padding: 0.25rem;
}

.filter-section { padding: 1rem 1.25rem 0; }
.filter-section-label {
  font-size: 0.75rem; color: #757575; margin-bottom: 0.625rem;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip {
  background: none; border: 1px solid #D9D9D9; border-radius: 62.4375rem;
  font-size: 0.8125rem; color: #201F21; padding: 0.375rem 0.875rem;
  cursor: pointer; font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.filter-chip.active {
  background: #201F21; border-color: #201F21; color: #fff;
}

.filter-panel-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem 0;
  border-top: 1px solid #e6e6e6;
  margin-top: 1rem;
}
.filter-btn-clear {
  background: none; border: none; font-size: 0.875rem;
  color: #757575; cursor: pointer; text-decoration: underline;
  font-family: inherit;
}
.filter-btn-apply {
  background: #201F21; color: #fff;
  border: none; border-radius: 0;
  font-size: 0.875rem; font-weight: 600; font-family: inherit;
  padding: 0.625rem 1.75rem; cursor: pointer;
}
/* ── Active filter tags ── */
.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #201F21;
  color: #fff;
  border-radius: 62.4375rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
}
.af-tag-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  font-size: 0.6875rem;
  line-height: 1;
  opacity: .7;
}
.af-tag-close:hover { opacity: 1; }

/* === Desktop overrides (≥ 768px) === */
@media (min-width: 48rem) {
  .search-page-header { padding-top: 3.75rem; padding-bottom: 1.25rem; }
  .search-page-title  { font-size: 3.75rem; }
  .search-page-subtitle { font-size: 1.125rem; }
  #query { font-size: 1rem; }
  .search-recommend-title { font-size: 2.25rem; font-weight: 600; padding: 2.25rem 1.25rem 1.25rem; }
  .section-title { font-size: 1.75rem; }
}

/* === Waterfall mode === */
.scroll-container.waterfall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow-x: hidden;
  overflow-y: visible;
  gap: 0.75rem;
}
.scroll-container.waterfall .card {
  flex: none;
  width: 100%;
}

/* ===================== TC26101404 搜尋頁 ===================== */
/* 搜尋建議下拉 */
.search-form { overflow: visible; }
.search-suggest {
  position: absolute; top: 100%; left: -1px; right: -1px; z-index: 30;
  margin: 0; padding: 0.25rem 0; list-style: none;
  background: #FFFFFF; box-shadow: 0 0.25rem 0.75rem rgba(20,20,12,0.12);
}
.search-suggest[hidden] { display: none; }
.search-suggest__item {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem; font-size: 0.8125rem; color: #14140C;
}
.search-suggest__item i { font-size: 0.75rem; }
.search-suggest__item:hover, .search-suggest__item:focus-visible { background: #F0F0EE; }

/* 標題：“關鍵字” 搜尋結果 N筆 */
.search-recommend-title .section-count { color: #A1A19F; font-size: 0.875rem; font-weight: 500; margin-left: 0.5rem; }

/* 分類：桌面等寬框線按鈕；手機改黑色下拉 */
.tabs-row { padding-top: 0.5rem; padding-bottom: 1.5rem; }
.tab { box-sizing: border-box; text-align: center; font-weight: 700; padding: 0.75rem 0; min-width: 7.5rem; }
.tab-select-wrap { display: none; }
@media (min-width: 64rem) { .tab { min-width: 11.25rem; } }
.tabs-divider { margin: 0 1.25rem; }
/* 版型切換在「全部」也顯示（設計稿） */
.mode-all .layout-toggle { display: flex; }

@media (max-width: 47.999rem) {
  .tabs-row { flex-wrap: wrap; padding-bottom: 0.75rem; }
  .tabs { display: none; }
  .tab-select-wrap { display: block; flex: 0 0 100%; position: relative; }
  .tab-select-wrap::after {
    content: ''; position: absolute; top: 50%; left: calc(50% + 1.25rem);
    width: 0.375rem; height: 0.375rem; margin-top: -0.25rem;
    border-right: 1.5px solid #F7F7F7; border-bottom: 1.5px solid #F7F7F7;
    transform: rotate(45deg); pointer-events: none;
  }
  .tab-select {
    width: 100%; appearance: none; -webkit-appearance: none; border: none; border-radius: 0;
    background: #14140C; color: #F7F7F7; font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.8125rem; font-weight: 700; text-align: center; text-align-last: center;
    padding: 0.625rem 2rem; cursor: pointer;
  }
  .tabs-controls { flex: 0 0 100%; justify-content: space-between; }
}

/* 搜尋結果（大圖）：直式卡片、圖片直幅 */
body:not(.search-idle) .card:not(.card--list) { flex: 0 0 15rem; width: 15rem; }
body:not(.search-idle) .card:not(.card--list) img,
body.mode-single.view-grid:not(.search-idle) .card img { aspect-ratio: 3 / 4; min-height: 0; max-height: none; }
body:not(.search-idle) .card--artists:not(.card--list) img { aspect-ratio: 4 / 5; }
body:not(.search-idle) .card--artworks:not(.card--list) img { aspect-ratio: auto; max-height: 24rem; }
body:not(.search-idle) .card:not(.card--list) .card-content { padding: 0.75rem 0 1rem; }
body:not(.search-idle) .card-divider { border-top-color: #14140C; }
@media (min-width: 64rem) {
  body:not(.search-idle) .card:not(.card--list) { flex: 0 0 18.75rem; width: 18.75rem; }
}

/* 「···」用英文字型：中文字型把「·」當全形字，三個點會分得很開 */
.card-action-btn--more { font-family: "Geist", "Helvetica Neue", Arial, sans-serif; font-weight: 700; letter-spacing: 0.05em; }

/* 「＋ 加入行程」為一般字重、細加號（設計稿）；粗體會讓加號也變粗 */
.card-action-btn--primary { font-weight: 400; }
/* 搜尋頁依設計稿：手機 T261022_01–12、桌面 T261022_13–24（body.sr-v2，最後載入） */
body.sr-v2 { background: #F7F7F7; color: #14140C; }
/* TC26110402-8：footer 下方多出的白色空白＝navbar.css 給 body 的 84px 下內距 */
body.sr-v2 { padding-bottom: 0; }

/* 頁首跑馬燈：手機 35、桌面 51 */
.sr-v2 .v2-ticker-wrap--header { display: flex; align-items: center; height: 2.1875rem; padding: 0; margin: 0; background: #14140C; border-top: 0.8px solid #F7F7F7; border-bottom: none; overflow: hidden; white-space: nowrap; }
.sr-v2 .v2-ticker-wrap--header .v2-ticker__track { color: #F7F7F7; font: 500 0.5625rem/1 "Geist Mono", ui-monospace, monospace; letter-spacing: 0.032rem; }

/* Search 標題 */
.sr-v2 .search-page-header { padding: 5rem 1rem 0; background: #F7F7F7; }
.sr-v2 .search-page-title { margin: 0; font: 300 2.5rem/1.1 "Geist", sans-serif; color: #14140C; }
.sr-v2 .search-page-subtitle { margin: 0.3125rem 0 0; font: 700 1rem/1.5 "Noto Sans TC", sans-serif; color: #14140C; }
/* 搜尋列：輸入框 40 高、0.88px 框、篩選 40×40 */
.sr-v2 .search-form-wrap { display: flex; gap: 0.75rem; margin-top: 2rem; padding: 1rem 0 0; }
.sr-v2 .search-form { flex: 1; display: flex; align-items: center; gap: 0.5rem; height: 2.5rem; padding: 0 0.75rem; border: 0.88px solid #14140C; border-radius: 0; background: #FAFAF7; box-shadow: none; position: relative; }
.sr-v2 .search-form .search-icon { color: #14140C; font-size: 0.875rem; position: static; }
.sr-v2 .search-form input { flex: 1; min-width: 0; height: 100%; padding: 0; border: none; background: transparent; font: 400 0.75rem/1.5 "Noto Sans TC", sans-serif; color: #14140C; }
/* TC26110301：舊 searchall.css 的 #query padding-left 2.25rem 會壓過上一行，圖示到文字多空約 36px */
.sr-v2 .search-form #query { padding: 0; }
.sr-v2 .search-form input::placeholder { color: #A1A19F; }
.sr-v2 .search-recommend-btn { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; width: 2.5rem; height: 2.5rem; padding: 0; border: 0.8px solid #14140C; border-radius: 0; background: transparent; color: #14140C; font-size: 0; cursor: pointer; }
.sr-v2 .search-recommend-btn i { font-size: 0.875rem; }
.sr-v2 .search-hint { display: flex; align-items: center; gap: 0.375rem; margin: 0.125rem 0 0; font: 400 0.75rem/1.5 "Noto Sans TC", sans-serif; color: #A1A19F; }

/* 為您推薦 */
.sr-v2 .search-recommend-title { margin: 0; padding: 1.25rem 1rem; font: 700 1.75rem/1.5 "Noto Sans TC", sans-serif; color: #14140C; }

/* 類別／排序／檢視：手機第一列 343×50 黑底下拉，第二列排序＋三圖示 */
.sr-v2 .tabs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0; padding: 0 1rem; }
.sr-v2 .tab-select-wrap { flex: 0 0 100%; position: relative; }
.sr-v2 .tab-select { -webkit-appearance: none; appearance: none; width: 100%; height: 3.125rem; padding: 0 2.5rem; border: none; border-radius: 0; background: #14140C; color: #F7F7F7; font: 700 1rem/1.8 "Noto Sans TC", sans-serif; text-align: center; text-align-last: center; cursor: pointer; }
.sr-v2 .tab-select-wrap::after { border-color: #F7F7F7 !important; }
.sr-v2 .tabs-controls { flex: 0 0 100%; display: flex; align-items: center; justify-content: space-between; height: 3.125rem; gap: 0; }
.sr-v2 .sort-select { -webkit-appearance: none; appearance: none; height: 1.75rem; padding: 0 1.75rem 0 0; border: none; border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%2314140C' stroke-width='1.4'%3E%3Cpath d='M10 12l4 4 4-4'/%3E%3C/svg%3E") no-repeat right center / 1.75rem; font: 400 1rem/1.5 "Geist Mono", "Noto Sans TC", monospace; color: #14140C; cursor: pointer; }
.sr-v2 .layout-toggle { display: flex !important; align-items: center; gap: 0.625rem; padding-left: 0.8rem; border-left: 0.88px solid #14140C; }
/* TC26110401：「全部」隱藏版型切換 icon（含左側分隔線） */
.sr-v2.mode-all .layout-toggle { display: none !important; }
.sr-v2 .layout-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; padding: 0; border: 0.8px solid #14140C; border-radius: 0; background: transparent; color: #14140C; font-size: 0.75rem; box-sizing: border-box; cursor: pointer; }
.sr-v2 .layout-btn.is-active, .sr-v2 .layout-btn.active { background: #14140C; color: #F7F7F7; }
.sr-v2 .tabs-divider { height: 3px; margin: 0 1rem; border: none; opacity: 1; background: linear-gradient(#14140C, #14140C) left center / calc(100% - 0.5rem) 3px no-repeat, linear-gradient(#14140C, #14140C) right center / 3px 3px no-repeat; }

/* 單一類別：結果直接列出，不顯示分類標題與箭頭 */
.sr-v2.mode-single .section-header { display: none !important; }
.sr-v2.mode-single .category { padding: 0 !important; margin: 0 !important; }
.sr-v2 .scroll-container.sr-results { display: grid !important; overflow: visible !important; padding: 1.25rem 1rem 3.125rem !important; scroll-snap-type: none; flex-wrap: initial; }
.sr-v2 .sr-results.sr-grid, .sr-v2 .sr-results.sr-list { grid-template-columns: 1fr; gap: 2.5rem; }
.sr-v2 .sr-results.sr-waterfall { display: block !important; columns: 2; column-gap: 0.5rem; }
.sr-v2 .sr-results .card { position: relative; width: auto !important; min-width: 0 !important; max-width: none !important; flex: none !important; margin: 0 !important; padding: 0; border: none !important; border-radius: 0 !important; box-shadow: none !important; background: #F7F7F7 !important; break-inside: avoid; }
.sr-v2 .sr-results .card-img-wrapper { position: relative; width: 100% !important; height: auto !important; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 0 !important; background: #E5E5E3; }
.sr-v2 .sr-results .card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
.sr-v2 .sr-results.sr-waterfall .card-img-wrapper { aspect-ratio: auto; }
.sr-v2 .sr-results.sr-waterfall .card-img-wrapper img { height: auto; }
.sr-v2 .sr-results .card-badge--tl { position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; height: 1.75rem; padding: 0 0.5rem; border: none; border-radius: 0 !important; background: #14140C; color: #F7F7F7; font: 400 0.75rem/1 "Noto Sans TC", sans-serif; }
.sr-v2 .sr-results .card-badge--tr { display: none; }
.sr-v2 .sr-results .card-icon-btn.heart { position: absolute; top: 1rem; right: 1rem; display: flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; padding: 0; border: none; border-radius: 0 !important; background: transparent !important; color: #14140C; box-shadow: none; }
.sr-v2 .sr-results .card-content { padding: 0.75rem 0 0 !important; display: flex; flex-direction: column; background: transparent !important; }
.sr-v2 .sr-results .card-cat-row { display: flex; gap: 0.3125rem; margin-bottom: 0.375rem; }
.sr-v2 .sr-results .card-cat-badge { display: inline-flex; align-items: center; height: 1.75rem; padding: 0 0.5rem; border: 0.8px solid #14140C; border-radius: 0 !important; background: transparent; font: 400 0.75rem/1.5 "Noto Sans TC", sans-serif; color: #14140C; }
.sr-v2 .sr-results .card-cat-badge--dark { background: #14140C; color: #F7F7F7; }
.sr-v2 .sr-results.sr-grid .card-cat-badge--open { display: none; } /* 網格：營業中在圖上 */
.sr-v2 .sr-results .card-title { margin: 0; font: 700 1.5rem/1.5 "Noto Sans TC", sans-serif; color: #14140C; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; -webkit-line-clamp: unset; }
.sr-v2 .sr-results .card-subtitle { margin-top: 0.25rem; font: 600 1.125rem/1.5 "Geist", "Noto Sans TC", sans-serif; color: #14140C; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-v2 .sr-results .card-divider { height: 3px; margin: 0.5rem 0 0; border: none !important; opacity: 1; background: linear-gradient(#14140C, #14140C) left center / calc(100% - 0.5rem) 3px no-repeat, linear-gradient(#14140C, #14140C) right center / 3px 3px no-repeat !important; }
.sr-v2 .sr-results .card-meta-row { display: flex; align-items: center; gap: 0.25rem; margin-top: 0.25rem; font: 400 1rem/1.5 "Noto Sans TC", sans-serif; letter-spacing: 0.094rem; color: #43423E; }
.sr-v2 .sr-results .card-meta-row:first-of-type { margin-top: 0.5rem; font-family: "Geist Mono", ui-monospace, monospace; letter-spacing: 0; }
.sr-v2 .sr-results .card-meta-icon { width: 1.25rem; text-align: center; font-size: 0.8125rem; color: #43423E; }
.sr-v2 .sr-results .card-actions { display: flex; gap: 0.625rem; margin-top: 1rem; }
.sr-v2 .sr-results .card-action-btn { display: inline-flex; align-items: center; justify-content: center; height: 2.5rem; margin: 0; border-radius: 0 !important; box-sizing: border-box; text-decoration: none; }
.sr-v2 .sr-results .card-action-btn--primary { flex: 1; border: none; background: #14140C; color: #F7F7F7; font: 700 0.875rem/1.5 "Noto Sans TC", sans-serif; letter-spacing: 0.1em; }
.sr-v2 .sr-results .card-action-btn--more { flex: 0 0 2.5rem; width: 2.5rem; border: 0.8px solid #14140C; background: #F7F7F7; color: #14140C; }

/* 清單（手機）：343×212，左圖 120×160｜右文；操作列在圖下方整列（內容區最小高 212，操作列貼底並向左延伸） */
.sr-v2 .sr-results.sr-list .card { display: grid !important; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: 0.75rem; align-items: start; }
.sr-v2 .sr-results.sr-list .card-img-wrapper { position: static; aspect-ratio: 3 / 4; }
.sr-v2 .sr-results.sr-list .card-badge--tl { display: none; }
.sr-v2 .sr-results.sr-list .card-icon-btn.heart { top: 0; right: 0; }
.sr-v2 .sr-results.sr-list .card-content { padding: 0 !important; min-height: 13.25rem; min-width: 0; }
.sr-v2 .sr-results.sr-list .card-cat-row { padding-right: 2rem; }
.sr-v2 .sr-results.sr-list .card-actions { margin-top: auto; margin-left: -8.25rem; padding-top: 0.75rem; }
.sr-v2 .sr-results.sr-list .card-title { font-size: 1.25rem; }
.sr-v2 .sr-results.sr-list .card-meta-row { font-size: 0.75rem; letter-spacing: 0; }

/* 底部跑馬燈：手機 35 */
.sr-v2 .v2-ticker-wrap--bottom { display: flex; align-items: center; height: 2.1875rem; padding: 0; background: #F7F7F7; border-top: 0.8px solid #14140C; }
.sr-v2 .v2-ticker-wrap--bottom .v2-ticker__track { color: #14140C; font: 500 0.5625rem/1 "Geist Mono", ui-monospace, monospace; }

.sr-v2 .layout-btn:focus-visible, .sr-v2 .tab:focus-visible, .sr-v2 .card-action-btn:focus-visible, .sr-v2 .card-icon-btn:focus-visible { outline: 2px solid #14140C; outline-offset: 2px; }

/* ══════════ 桌面（T261022_13–24） ══════════ */
@media (min-width: 48rem) {
  .sr-v2 .v2-ticker-wrap--header { height: 3.1875rem; border-top-width: 0.5px; }
  .sr-v2 .v2-ticker-wrap--header .v2-ticker__track { font-size: 0.875rem; letter-spacing: 0.0625rem; }
  /* TC26110402 依 11/18 設計稿比例：跑馬燈→Search +6、Search→副標 +8、副標→搜尋框 +4、搜尋框→提示 +4、提示→為您推薦 +5、為您推薦→分類 −10、分隔線→卡片 +7、卡片內分隔線→資訊 +7 */
  .sr-v2 .search-page-header { padding: 4.125rem 5rem 0; }
  .sr-v2 .search-page-title { font-size: 3.75rem; font-weight: 200; line-height: 1.5; }
  .sr-v2 .search-page-subtitle { margin-top: 0.5rem; font-size: 1.125rem; }
  .sr-v2 .search-form-wrap { gap: 1.5rem; margin-top: 4.625rem; padding-top: 0.625rem; }
  /* TC26110301：照原型 框內左右 22px、圖示到文字約 15px（.ico 左右各 -6px 負邊距已抵掉 SVG 內留白） */
  .sr-v2 .search-form { height: 3.875rem; padding: 0 1.375rem; gap: 0.9375rem; border-width: 0.8px; }
  .sr-v2 .search-form input { font-size: 1rem; line-height: 1.1; }
  .sr-v2 .search-recommend-btn { width: 7.875rem; height: 3.875rem; font: 500 0.875rem/1.1 "Noto Sans TC", sans-serif; }
  .sr-v2 .search-hint { margin-top: 0.75rem; }
  .sr-v2 .search-recommend-title { padding: 2.8125rem 5rem 0; font-size: 2.25rem; font-weight: 600; letter-spacing: 0.05em; }
  .sr-v2 .tabs-row { flex-wrap: nowrap; justify-content: space-between; padding: 1.875rem 5rem 1.875rem; }
  .sr-v2 .tab-select-wrap { display: none !important; }
  .sr-v2 .tabs { display: flex !important; gap: 0.8125rem; border: none; }
  .sr-v2 .tab { flex: 0 0 auto; width: 11.965rem; min-width: 0; height: 3.25rem; padding: 0; border: 0.8px solid #14140C !important; border-radius: 0 !important; background: #F7F7F7; color: #14140C; font: 700 1rem/1.5 "Noto Sans TC", sans-serif; box-shadow: none; }
  .sr-v2 .tab.active { background: #14140C; color: #F7F7F7; }
  .sr-v2 .tab::after { display: none !important; }
  .sr-v2 .tabs-controls { flex: 0 0 auto; height: auto; gap: 1.25rem; }
  .sr-v2 .sort-select { width: 6.625rem; padding-right: 1.25rem; border-bottom: 0.89px solid #72736E; background-size: 1rem; font: 500 0.875rem/1.1 "Noto Sans TC", sans-serif; }
  .sr-v2 .layout-toggle { gap: 0.25rem; padding-left: 0.8rem; border-left-width: 0.8px; }
  .sr-v2 .tabs-divider { margin: 0 5rem; }
  .sr-v2 .scroll-container.sr-results { padding: 1.6875rem 5rem 6.25rem !important; }
  .sr-v2 .sr-results.sr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; row-gap: 3.75rem; }
  .sr-v2 .sr-results.sr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.75rem; row-gap: 3.75rem; }
  .sr-v2 .sr-results.sr-waterfall { columns: 3; column-gap: 2.5rem; }
  .sr-v2 .sr-results.sr-waterfall .card { margin-bottom: 2.5rem !important; }
  /* 網格卡（400×779）：圖 400×533 */
  .sr-v2 .sr-results .card-badge--tl { top: 0.75rem; left: 0.75rem; height: 1.75rem; background: #43423E; font-size: 0.6875rem; letter-spacing: 0.014rem; box-shadow: 0 1px 1.5px rgba(0,0,0,.1); }
  .sr-v2 .sr-results .card-icon-btn.heart { top: 0.75rem; right: 0.75rem; }
  .sr-v2 .sr-results .card-content { padding: 1.0625rem 0 1.5rem !important; }
  .sr-v2 .sr-results .card-cat-badge { height: 1.5625rem; font-weight: 500; }
  .sr-v2 .sr-results .card-title { font-size: 1.25rem; }
  .sr-v2 .sr-results .card-subtitle { margin-top: 0.125rem; font-size: 1rem; line-height: 1.1; }
  .sr-v2 .sr-results .card-divider { margin-top: 0.625rem; }
  .sr-v2 .sr-results .card-meta-row { margin-top: 0.125rem; gap: 0.375rem; font: 400 0.75rem/1.1 "Geist Mono", ui-monospace, monospace; letter-spacing: 0.0375rem; }
  .sr-v2 .sr-results .card-meta-row:first-of-type { margin-top: 0.5rem; }
  .sr-v2 .sr-results .card-divider + .card-meta-row { margin-top: 0.5625rem; } /* TC26110402-6 資料卡：分隔線→第一行資訊 9→16px */
  .sr-v2 .sr-results .card-meta-icon { width: 1rem; font-size: 0.75rem; }
  .sr-v2 .sr-results .card-actions { margin-top: 0.6875rem; }
  /* 清單卡（626×212）：圖 169×212、右欄 443，操作列在右欄底部 */
  .sr-v2 .sr-results.sr-list .card { grid-template-columns: 10.5625rem minmax(0, 1fr); column-gap: 1rem; }
  .sr-v2 .sr-results.sr-list .card-img-wrapper { aspect-ratio: 169 / 212; }
  .sr-v2 .sr-results.sr-list .card-content { min-height: 13.25rem; }
  .sr-v2 .sr-results.sr-list .card-actions { margin-left: 0; padding-top: 0.6875rem; margin-top: auto; }
  .sr-v2 .sr-results.sr-list .card-action-btn--primary { font-size: 0.75rem; font-weight: 400; letter-spacing: 0; }
  .sr-v2 .v2-ticker-wrap--bottom { height: 4.75rem; }
  .sr-v2 .v2-ticker-wrap--bottom .v2-ticker__track { font-size: 0.8125rem; font-weight: 400; }
}

/* 單一類別時主區不留邊（左右留白由結果容器負責） */
.sr-v2.mode-single main#content { padding-left: 0 !important; padding-right: 0 !important; }
/* 清單操作列向左延伸到圖片下方，不可被內容區裁切；網格同排按鈕對齊 */
.sr-v2 .sr-results .card-content { overflow: visible !important; }
.sr-v2 .sr-results.sr-grid .card { display: flex !important; flex-direction: column; }
.sr-v2 .sr-results.sr-grid .card-content { flex: 1; }
.sr-v2 .sr-results.sr-grid .card-actions { margin-top: auto; padding-top: 1rem; }
@media (min-width: 48rem) { .sr-v2 .sr-results.sr-grid .card-actions { padding-top: 0.6875rem; } }
.sr-v2 .search-form { box-sizing: border-box; }
.sr-v2 .search-form input { text-align: left; }

/* 其他類別比照藝文單位頁各排設計稿 */
/* 創作者：黑白人像，網格 270:337、清單方形 */
.sr-v2 .sr-results .card--artists .card-img-wrapper img { filter: none; } /* 人像彩色 */
.sr-v2 .sr-results.sr-grid .card--artists .card-img-wrapper { aspect-ratio: 270 / 337; }
.sr-v2 .sr-results.sr-list .card--artists .card-img-wrapper, .sr-v2 .sr-results.sr-list .card--artworks .card-img-wrapper { aspect-ratio: 1 / 1; }
.sr-v2 .sr-results.sr-list .card--artists .card-content, .sr-v2 .sr-results.sr-list .card--artworks .card-content { min-height: 0; }
/* 作品：網格依作品原比例、頂端對齊 */
.sr-v2 .sr-results.sr-grid .card--artworks .card-img-wrapper { aspect-ratio: auto; }
.sr-v2 .sr-results.sr-grid .card--artworks .card-img-wrapper img { height: auto; }
.sr-v2 .sr-results.sr-grid { align-items: start; }

/* ── 設計稿 icon（public/images/icon，以遮罩上色跟隨文字顏色） ── */
.ico--search { --ico: url(/images/icon/icon-Search.svg); }
.ico--filter { --ico: url(/images/icon/icon-Filter.svg); }
.ico--grid { --ico: url(/images/icon/icon-Grid_view.svg); }
.ico--list { --ico: url(/images/icon/icon-List_view.svg); }
.ico--waterfall { --ico: url(/images/icon/icon-Waterfall_view.svg); }
.ico--info { --ico: url(/images/icon/icon-Info.svg); }
.ico--chevron-down { --ico: url(/images/icon/icon-Chevron_down.svg); }
.sr-v2 .search-form .ico--search { position: static; color: #14140C; }
.sr-v2 .search-recommend-btn .ico--filter { width: 1.75rem; height: 1.75rem; }
.sr-v2 .search-hint .ico--info { width: 1.75rem; height: 1.75rem; margin: -0.5rem -0.375rem -0.5rem -0.5rem; color: #A1A19F; }
.sr-v2 .layout-btn .ico { --s: 1rem; }
.sr-v2 .sr-adv-txt { display: none; }
/* TC26110402-3：進階搜尋按鈕 icon 16→28px（與手機、其他頁同一套 28px icon） */
@media (min-width: 48rem) { .sr-v2 .sr-adv-txt { display: inline; } .sr-v2 .search-recommend-btn .ico--filter { width: 1.75rem; height: 1.75rem; } }

/* ── TC26102212 手機類別下拉（343×50 按鈕＋展開 343×240、五項各 48px） ── */
.sr-v2 .tab-select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sr-v2 .tab-select-wrap::after { display: none !important; }
.sr-v2 .sr-dd-btn { display: flex; align-items: center; justify-content: center; gap: 0.25rem; width: 100%; height: 3.125rem; padding: 0; border: none; border-radius: 0; background: #14140C; color: #F7F7F7; font: 700 1rem/1.8 "Noto Sans TC", sans-serif; cursor: pointer; }
.sr-v2 .tab-select-wrap.is-open .ico--chevron-down { transform: rotate(180deg); }
.sr-v2 .sr-dd-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin: 0; padding: 0; list-style: none; background: #F7F7F7; border: 1px solid #14140C; border-top: none; }
.sr-v2 .sr-dd-list li { display: flex; align-items: center; justify-content: center; height: 3rem; font: 400 1rem/1.5 "Noto Sans TC", sans-serif; color: #14140C; cursor: pointer; }
.sr-v2 .sr-dd-list li + li { border-top: 1px solid #E5E5E5; }
.sr-v2 .sr-dd-list li.is-active { font-weight: 700; background: #EDEDEB; }
.sr-v2 .sr-dd-list li:hover { background: #E8E8E2; }
.sr-v2 .sr-dd-btn:focus-visible { outline: 2px solid #14140C; outline-offset: 2px; }

/* ── TC26102211 搜尋「全部」：四個區塊同一套清單卡、橫向捲動不顯示捲軸、內容與頁面左右對齊、箭頭改設計稿 icon ── */
.ico--chevron-left { --ico: url(/images/icon/icon-Chevron_left.svg); }
.ico--chevron-right { --ico: url(/images/icon/icon-Chevron_right.svg); }
.ico--more { --ico: url(/images/icon/icon-More.svg); }
.sr-v2.mode-all main#content { padding-left: 0 !important; padding-right: 0 !important; }
.sr-v2.mode-all .category { margin: 0 !important; padding: 2.5rem 0 0 !important; }
.sr-v2.mode-all .section-header { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 0 1rem 1.25rem; }
.sr-v2.mode-all .section-title { margin: 0; font: 700 1.5rem/1.5 "Noto Sans TC", sans-serif; color: #14140C; }
.sr-v2.mode-all .section-count { margin-left: 0.5rem; font: 400 0.75rem/1 "Geist Mono", monospace; color: #72736E; }
.sr-v2 .section-nav { gap: 0.25rem; }
.sr-v2 .section-nav-btn { display: flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; padding: 0; border: 0.8px solid #14140C; border-radius: 0; background: transparent; color: #14140C; box-sizing: border-box; }
.sr-v2 .section-nav-btn .ico { width: 1.25rem; height: 1.25rem; }
.sr-v2 .section-nav-btn:hover { background: #14140C; color: #F7F7F7; }
.sr-v2 .scroll-container.sr-results.sr-row { display: flex !important; gap: 1.25rem; overflow-x: auto !important; padding: 0 1rem 1rem !important; scrollbar-width: none; scroll-snap-type: x mandatory; }
.sr-v2 .scroll-container.sr-row::-webkit-scrollbar { display: none; }
.sr-v2 .sr-row .card { flex: 0 0 85% !important; scroll-snap-align: start; }
.sr-v2 .sr-results .card-action-btn--more { font-size: 0; }
.sr-v2 .sr-results .card-action-btn--more::before { content: ''; width: 1.75rem; height: 1.75rem; background: currentColor; -webkit-mask: url(/images/icon/icon-More.svg) center / contain no-repeat; mask: url(/images/icon/icon-More.svg) center / contain no-repeat; }
@media (min-width: 48rem) {
  .sr-v2.mode-all .category { padding-top: 3.75rem !important; }
  .sr-v2.mode-all .section-header { padding: 0 5rem 1.875rem; }
  .sr-v2 .scroll-container.sr-results.sr-row { gap: 1.75rem; padding: 0 5rem 1rem !important; scroll-padding-left: 5rem; }
  .sr-v2 .sr-row .card { flex: 0 0 39.125rem !important; }
}
.sr-v2 .scroll-container.sr-results.sr-row { scroll-padding-left: 1rem; }
@media (min-width: 48rem) { .sr-v2 .scroll-container.sr-results.sr-row { scroll-padding-left: 5rem; } }

/* TC26102211（1023）：區塊左右切換改設計稿無框箭頭（← →），不能再捲時灰色 */
.sr-v2 .section-nav-btn { width: 2.25rem; height: 2.25rem; border: none; background: none; color: #14140C; }
.sr-v2 .section-nav-btn .ico { width: calc(var(--s) * 1.75); height: calc(var(--s) * 1.75); }
.sr-v2 .section-nav-btn:hover { background: none; color: #14140C; }
.sr-v2 .section-nav-btn:disabled { color: #A1A19F; cursor: default; }
/* TC26102212（1023）：手機下拉展開被 .tabs-row 的 overflow 裁掉，只看得到第一項 */
.sr-v2 .tabs-row { overflow: visible; }
/* TC26102212（1023）：清單卡片的收藏愛心在卡片右上角，標題右側留位置，不再疊到愛心 */
.sr-v2 .sr-results.sr-list .card-title { margin-right: 2.25rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 寬螢幕（>1600px）：單一類別的卡片維持約 1440px 設計稿上的大小（方格約 25rem 寬），改為依螢幕寬度增加欄數，
   不再把固定 3 欄撐到 800px 以上（2576px 螢幕圖片變很大） */
@media (min-width: 100rem) {
  .sr-v2 .sr-results.sr-grid { grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr)); }
  .sr-v2 .sr-results.sr-list { grid-template-columns: repeat(auto-fill, minmax(38rem, 1fr)); }
  .sr-v2 .sr-results.sr-waterfall { columns: 25rem auto; }
}
