:root,
html[data-theme="editorial"] {
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --surface-muted: #EFECE5;
  --ink: #111111;
  --ink-secondary: #4B4B52;
  --ink-muted: #76767F;
  --border: #E4E1DA;
  --border-strong: #C9C4B8;
  --accent: #FF4D2D;
  --accent-ink: #FFFFFF;
  --accent-soft: #FFF0EC;
  --cta-bg: #111111;
  --cta-ink: #FFFFFF;
  --cta-hover-bg: #FF4D2D;
  --cta-hover-ink: #FFFFFF;
  --rocket: #0074E9;
  --rocket-soft: #EDF5FF;
  --controls-bg: rgba(248, 247, 244, 0.92);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 2px 10px rgba(17, 17, 17, 0.04);
  --shadow-hover: 0 14px 32px rgba(17, 17, 17, 0.09);
  --shadow-spotlight: 0 14px 36px rgba(255, 77, 45, 0.12);
}

html[data-theme="living"] {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --surface-muted: #F3ECE0;
  --ink: #1C2B22;
  --ink-secondary: #4B5B51;
  --ink-muted: #738278;
  --border: #EAE0D2;
  --border-strong: #D6C7B3;
  --accent: #C85A32;
  --accent-ink: #FFFFFF;
  --accent-soft: #FDF0EB;
  --cta-bg: #1E4631;
  --cta-ink: #FFFFFF;
  --cta-hover-bg: #C85A32;
  --cta-hover-ink: #FFFFFF;
  --rocket: #1E6B4B;
  --rocket-soft: #E9F5EE;
  --controls-bg: rgba(251, 248, 243, 0.92);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --shadow-card: 0 6px 20px rgba(30, 70, 49, 0.05);
  --shadow-hover: 0 16px 34px rgba(30, 70, 49, 0.11);
  --shadow-spotlight: 0 14px 36px rgba(200, 90, 50, 0.14);
}

html[data-theme="darkglass"] {
  --bg: #0B0D12;
  --surface: rgba(22, 26, 36, 0.78);
  --surface-muted: #161A24;
  --ink: #F4F6FA;
  --ink-secondary: #B4BCCB;
  --ink-muted: #7F899D;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(46, 229, 157, 0.45);
  --accent: #2EE59D;
  --accent-ink: #07130E;
  --accent-soft: rgba(46, 229, 157, 0.14);
  --cta-bg: #2EE59D;
  --cta-ink: #07130E;
  --cta-hover-bg: #FFB020;
  --cta-hover-ink: #161004;
  --rocket: #38BDF8;
  --rocket-soft: rgba(56, 189, 248, 0.14);
  --controls-bg: rgba(11, 13, 18, 0.84);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 8px 28px rgba(0, 0, 0, 0.32);
  --shadow-hover: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(46, 229, 157, 0.25);
  --shadow-spotlight: 0 16px 40px rgba(46, 229, 157, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
}

html[data-theme="darkglass"] body {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(46, 229, 157, 0.11), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 176, 32, 0.08), transparent 32%);
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 상단 신뢰 배너 + 테마 전환 바 */
.trust-banner {
  background: #141416;
  color: #E4E4E7;
  font-size: 12px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="living"] .trust-banner {
  background: #1A3A28;
  color: #EDF5EF;
}

html[data-theme="darkglass"] .trust-banner {
  background: rgba(8, 10, 14, 0.94);
  color: #CBD5E1;
}

.trust-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.trust-banner__notice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.trust-banner__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

.trust-banner__text {
  margin: 0;
  line-height: 1.4;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.theme-switcher[hidden] {
  display: none !important;
}

.theme-switcher__btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.theme-switcher__btn:hover {
  color: #FFFFFF;
}

.theme-switcher__btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

/* 브랜드 헤더 */
.brand-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

html[data-theme="darkglass"] .brand-header {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 280px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #141416;
  flex-shrink: 0;
  object-fit: cover;
}

.brand-meta {
  min-width: 0;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-name {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink-secondary);
  font-size: 11.5px;
  font-weight: 700;
}

.brand-badge svg {
  color: var(--accent);
}

.brand-tagline {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  letter-spacing: -0.01em;
}

.brand-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12.5px;
}

.stat-pill__label {
  color: var(--ink-muted);
  font-weight: 500;
}

.stat-pill__value {
  color: var(--ink);
  font-weight: 800;
}

.stat-pill--accent .stat-pill__value {
  color: var(--accent);
}

/* 메인 영역 */
.main-content {
  padding-top: 22px;
  padding-bottom: 60px;
}

/* =========================================================
   A안: 에디토리얼 히어로 (29CM / 매거진 셀렉트숍)
   ========================================================= */
.hero-section {
  margin-bottom: 24px;
}

.editorial-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  align-items: center;
}

.editorial-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.editorial-eyebrow-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #111111;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 4px;
}

.editorial-eyebrow-issue {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.editorial-hero__headline {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.editorial-hero__sub {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
  max-width: 480px;
}

.editorial-hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.editorial-hero__feature {
  display: grid;
  grid-template-columns: 164px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  align-items: center;
}

.editorial-hero__feature:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-hover);
}

.editorial-feature__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-muted);
}

.editorial-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-feature__media .code-badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

.editorial-feature__media .rocket-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
}

.editorial-feature__caption {
  min-width: 0;
}

.editorial-feature__label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
}

.editorial-feature__title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.editorial-feature__desc {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================
   B안: 감성 리빙 쇼룸 (이번 주 인기 꿀템 TOP 3)
   ========================================================= */
.top3-section {
  margin-bottom: 24px;
}

.living-showcase {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #FFFFFF 0%, #F5EFE4 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.living-showcase__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.living-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}

.living-showcase__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.living-showcase__sub {
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
}

.top3-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.top3-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top3-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.top3-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-muted);
  overflow: hidden;
}

.top3-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top3-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(200, 90, 50, 0.28);
}

.top3-card__media .code-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(30, 70, 49, 0.9);
}

.top3-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 15px;
}

.top3-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.top3-card__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top3-card__desc {
  margin: 6px 0 14px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top3-card__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =========================================================
   C안: 모던 다크 글래스 셀렉트숍 (히어로 + 빠른 번호 점프바)
   ========================================================= */
.glass-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(24, 29, 41, 0.88) 0%, rgba(15, 18, 26, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  align-items: center;
}

.glass-hero__glow {
  position: absolute;
  inset: -40% auto auto -10%;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(46, 229, 157, 0.18), transparent 70%);
  pointer-events: none;
}

.glass-hero__content {
  position: relative;
  z-index: 1;
}

.glass-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(46, 229, 157, 0.16);
  border: 1px solid rgba(46, 229, 157, 0.35);
  color: #2EE59D;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.glass-pill--amber {
  background: rgba(255, 176, 32, 0.14);
  border-color: rgba(255, 176, 32, 0.32);
  color: #FFB020;
}

.glass-hero__headline {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.glass-hero__headline span {
  color: #2EE59D;
}

.glass-hero__sub {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.glass-hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.glass-hero__showcase {
  position: relative;
  z-index: 1;
}

.glass-showcase-card {
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.glass-showcase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 229, 157, 0.5);
}

.glass-showcase-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #141821;
}

.glass-showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glass-showcase-card__media .code-badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

.glass-showcase-card__media .rocket-badge {
  position: absolute;
  top: 8px;
  right: 8px;
}

.glass-showcase-card__meta {
  padding-top: 10px;
}

.glass-showcase-card__meta strong {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  color: #FFFFFF;
}

/* 빠른 번호 점프바 */
.quick-jump-section {
  margin-bottom: 16px;
}

.quick-jump-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.quick-jump-bar__label {
  font-size: 12px;
  font-weight: 800;
  color: #FFB020;
  white-space: nowrap;
  flex-shrink: 0;
}

.quick-jump-bar__pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.quick-jump-bar__pills::-webkit-scrollbar {
  display: none;
}

.jump-pill {
  flex: 0 0 auto;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.jump-pill:hover {
  border-color: #2EE59D;
  color: #2EE59D;
}

.jump-pill.is-active {
  background: #2EE59D;
  border-color: #2EE59D;
  color: #07130E;
  font-weight: 800;
}

/* 딥링크 스포트라이트 카드 (?item=062) */
.spotlight-section {
  margin-bottom: 24px;
}

.spotlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-spotlight);
}

html[data-theme="darkglass"] .spotlight-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.spotlight-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-muted);
}

.spotlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.spotlight-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.spotlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.spotlight-close {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-secondary);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.spotlight-close:hover {
  background: var(--surface-muted);
}

.spotlight-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.spotlight-card__title {
  margin: 8px 0 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.spotlight-card__desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.spotlight-card__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.spotlight-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.spotlight-card__actions .btn--accent {
  flex: 1 1 auto;
}

/* 검색 & 필터 바 */
.controls-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--controls-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box__icon {
  position: absolute;
  left: 14px;
  color: var(--ink-muted);
  pointer-events: none;
}

.search-box__input {
  width: 100%;
  height: 46px;
  padding: 0 40px 0 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-box__input::placeholder {
  color: var(--ink-muted);
}

.search-box__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-box__clear {
  position: absolute;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-box__clear[hidden] {
  display: none;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.category-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.category-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.chip.is-active {
  background: var(--cta-bg);
  border-color: var(--cta-bg);
  color: var(--cta-ink);
  font-weight: 700;
}

.view-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.result-count {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}

.view-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.view-toggle__btn {
  width: 30px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.view-toggle__btn.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* 상품 그리드 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-grid.is-list {
  grid-template-columns: 1fr;
  gap: 12px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

html[data-theme="darkglass"] .product-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-muted);
  overflow: hidden;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.04);
}

.code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(17, 17, 17, 0.86);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

html[data-theme="living"] .code-badge {
  border-radius: 999px;
  background: rgba(30, 70, 49, 0.9);
}

html[data-theme="darkglass"] .code-badge {
  background: rgba(11, 13, 18, 0.85);
  border: 1px solid rgba(46, 229, 157, 0.4);
  color: #2EE59D;
}

html[data-theme="darkglass"] .product-card__media .rocket-badge,
html[data-theme="darkglass"] .glass-showcase-card__media .rocket-badge {
  background: rgba(11, 13, 18, 0.86);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38BDF8;
  backdrop-filter: blur(4px);
}

.product-card__media .code-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.rocket-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--rocket-soft);
  color: var(--rocket);
  font-size: 11px;
  font-weight: 800;
}

html[data-theme="living"] .rocket-badge {
  border-radius: 999px;
}

.product-card__media .rocket-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 15px;
  min-width: 0;
}

.product-card__cat {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.product-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__point {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.44;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  margin-top: auto;
  padding-top: 14px;
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  flex: 1 1 auto;
  background: var(--cta-bg);
  color: var(--cta-ink);
}

.btn--primary:hover {
  background: var(--cta-hover-bg);
  color: var(--cta-hover-ink);
}

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--accent:hover {
  filter: brightness(0.94);
}

.btn--secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
}

.btn--secondary:hover {
  background: var(--surface-muted);
}

.btn--icon {
  width: 40px;
  padding: 0;
  flex: 0 0 40px;
  background: var(--bg);
  border-color: var(--border);
  color: var(--ink-secondary);
}

.btn--icon:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

/* 리스트 보기 변형 */
.product-grid.is-list .product-card {
  flex-direction: row;
  align-items: stretch;
}

.product-grid.is-list .product-card__media {
  width: 144px;
  flex: 0 0 144px;
}

.product-grid.is-list .product-card__body {
  padding: 14px 16px;
}

.product-grid.is-list .product-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 10px;
}

.product-grid.is-list .product-card__actions {
  width: 100%;
  max-width: 300px;
}

/* 빈 상태 */
.empty-state {
  text-align: center;
  padding: 56px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
}

.empty-state__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.empty-state__desc {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* 푸터 */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 0 36px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.site-footer__handle {
  color: var(--ink-muted);
  font-size: 13px;
}

.site-footer__notice,
.site-footer__contact {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* 토스트 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 100;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.94);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.24);
  white-space: nowrap;
}

/* 반응형 */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .editorial-hero,
  .glass-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .top3-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .trust-banner {
    font-size: 11px;
  }

  .trust-banner__inner {
    justify-content: center;
    text-align: center;
  }

  .theme-switcher {
    width: 100%;
    justify-content: center;
  }

  .theme-switcher__btn {
    flex: 1 1 0;
    padding: 5px 6px;
    font-size: 11px;
    text-align: center;
  }

  .brand-header__inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-tagline {
    font-size: 12.5px;
  }

  .editorial-hero,
  .glass-hero,
  .living-showcase {
    padding: 18px 16px;
  }

  .editorial-hero__headline,
  .glass-hero__headline {
    font-size: 22px;
  }

  .editorial-hero__feature {
    grid-template-columns: 104px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .editorial-feature__title {
    font-size: 14px;
  }

  .top3-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .top3-card {
    flex-direction: row;
    align-items: stretch;
  }

  .top3-card__media {
    width: 122px;
    flex: 0 0 122px;
    aspect-ratio: 1 / 1;
  }

  .top3-card__body {
    padding: 12px;
  }

  .top3-card__title {
    font-size: 13.5px;
  }

  .top3-card__desc {
    display: none;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card__body {
    padding: 11px;
  }

  .product-card__title {
    font-size: 13.5px;
  }

  .product-card__point {
    font-size: 11.5px;
    -webkit-line-clamp: 1;
  }

  .btn {
    height: 36px;
    font-size: 11.5px;
    padding: 0 8px;
  }

  .btn--primary {
    min-width: 0;
    letter-spacing: -0.02em;
  }

  .btn--icon {
    width: 34px;
    flex: 0 0 34px;
  }

  .product-grid.is-list .product-card__media {
    width: 108px;
    flex: 0 0 108px;
  }

  .product-grid.is-list .product-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}
