/* deals/templates/deals/includes/feed_view_toggle.html의 <style>에서 옮김(2026-11-24) — 페이지마다 다시 받지 않게. 고치면 그 템플릿의 ?v=를 올린다. */
.home-view-toggle { display: inline-flex; flex: 0 0 auto; padding: 3px; border: 1px solid var(--line, #e2e8f0); border-radius: 999px; background: #f8f5f6; }
.home-view-toggle__button { display: inline-flex; align-items: center; gap: 5px; width: auto; margin: 0; padding: 5px 11px; border: 0; border-radius: 999px; background: transparent; color: var(--muted, #64748b); font-size: .78rem; font-weight: 800; line-height: 1; cursor: pointer; transition: background 140ms ease, color 140ms ease; }
.home-view-toggle__button.is-active { background: #fff; color: var(--brand-strong, #e0507e); box-shadow: 0 2px 6px rgba(80,50,60,.12); }
.home-view-toggle__icon { display: inline-flex; }
.home-view-toggle__icon svg { width: 13px; height: 13px; }
/* 리스트 배치. 클래스를 세 번 적어 특이성을 올린다 — `.product-feed-grid.hotdeal-feed-grid`(클래스 둘)의 열 정의를 이겨야 한다(CLAUDE.md §7의 그 함정). */
.feed-grid--list.feed-grid--list.feed-grid--list { grid-template-columns: 1fr; gap: 0; }
.feed-grid--list .product-feed-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line, #e2e8f0); border-radius: 0; box-shadow: none; }
.feed-grid--list .product-feed-card:last-child { border-bottom: 0; }
.feed-grid--list .product-feed-media { width: 84px; height: 84px; border-radius: 12px; }
.feed-grid--list .product-feed-body { padding: 0; gap: 3px; }
.feed-grid--list .product-feed-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 가격 줄 한 줄(2026-11-10 운영자 요청): `가격 · 5분 전 · 조회 323 · 💬N ……… 11:02`.
   무료배송 칩과 가격 아래 보조 문구는 리스트에서 뺀다(가격하락·역대가는 사진 배지가 이미 말한다).
   글자가 넘치면 가운데(시간·조회)만 `…`으로 줄고 가격과 오른쪽 시각은 잘리지 않는다.
   리스트 전용 조각은 카드 템플릿에 `hidden`으로 들어 있다 — 여기서만 연다. */
.feed-grid--list .product-feed-ship,
.feed-grid--list .product-feed-price-block > .product-feed-delta,
.feed-grid--list .product-feed-only-card { display: none; }
.feed-grid--list .product-feed-only-list[hidden] { display: inline; }
.feed-grid--list .product-feed-price-block { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.feed-grid--list .product-feed-price { flex: 0 0 auto; white-space: nowrap; }
.feed-grid--list .product-feed-drop { flex: 0 0 auto; margin: 0; }
.feed-grid--list .product-feed-activity { flex: 0 1 auto; flex-wrap: nowrap; min-width: 0; }
.feed-grid--list .product-feed-activity .product-feed-checked { min-width: 0; }
.feed-grid--list .product-feed-clock[hidden] { display: inline; flex: 0 0 auto; margin-left: auto; padding-left: 6px; color: #94a3b8; font-size: .68rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* 줄인 배치 카드(2026-11-24 — 홈·오늘특가의 모든 카드)의 리스트 한 줄: `가격 ↓칩 · 판매처 ★ 🛒 5분 전 👁 💬 ……… 11:02`.
   가격 줄의 오른쪽 시각은 접고 아이콘 줄의 시각 항목을 대신 연다. 아이콘 줄은 한 줄 높이라 넘치는 뒤쪽 항목은 잘린다. */
.feed-grid--list .product-feed-compact-price { flex: 0 0 auto; flex-wrap: nowrap; }
.feed-grid--list .product-feed-compact-time { display: none; }
.feed-grid--list .product-feed-facts { flex: 0 1 auto; min-width: 0; margin: 0; align-self: center; }
.feed-grid--list .product-feed-facts .product-feed-fact--time { display: inline-flex; }
/* 좁은 화면에서 한 줄에 다 들어가도록 부가 정보는 접는다. */
.feed-grid--list .product-feed-flags { display: none; }
@media (max-width: 620px) {
  .feed-grid--list .product-feed-card { grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
  .feed-grid--list .product-feed-media { width: 68px; height: 68px; }
  .feed-grid--list .product-feed-home-meta { display: none; }
  .feed-grid--list .product-feed-fact--merchant,
  .feed-grid--list .product-feed-facts .product-feed-rating { display: none; }
}
