/* =========================================================
   도쿄 오모테산도·하라주쿠 쇼핑 집중공략 - 스타일시트
   컨셉: 화이트 베이스 + 블랙 텍스트, 레드는 강조 전용
   ========================================================= */

:root {
  --c-bg: #ffffff;
  --c-text: #111111;
  --c-text-sub: #55585f;
  --c-line: #e2e2e2;
  --c-point: #e0242e;
  --c-point-dark: #a8121a;
  --c-surface: #f6f6f6;
  --c-black: #0b0b0b;
  --font-display: 'Archivo Black', 'Pretendard', sans-serif;
  --font-body: 'Pretendard', 'Noto Sans KR', sans-serif;
  --radius: 4px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); letter-spacing: -0.01em; }
p { margin: 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.section { padding: 56px 0; border-bottom: 1px solid var(--c-line); scroll-margin-top: 48px; }
.section-head { margin-bottom: 26px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--c-point);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(21px, 3.6vw, 30px);
  font-weight: 900;
  line-height: 1.25;
}
.section-desc {
  margin-top: 10px;
  color: var(--c-text-sub);
  font-size: 14px;
  max-width: 720px;
}

/* ---------- 히어로 ---------- */
.hero { padding: 48px 0 36px; border-bottom: 4px solid var(--c-black); }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--c-point);
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero__title {
  font-size: clamp(26px, 5.6vw, 46px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.hero__subtitle {
  margin-top: 12px;
  font-size: clamp(14px, 2.2vw, 17px);
  font-weight: 700;
  white-space: pre-line;
}
.hero__desc {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--c-text-sub);
  max-width: 800px;
  line-height: 1.65;
}
.hero__scope {
  margin-top: 18px;
  font-size: 12px;
  color: #999;
  max-width: 800px;
}

/* =========================================================
   상단 탭 네비게이션 (2번 섹션)
   ========================================================= */
.tab-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--c-line);
}
.tab-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav__inner::-webkit-scrollbar { display: none; }
.tab-nav__btn {
  padding: 13px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-text);
  background: #fff;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
}
.tab-nav__btn.is-active,
.tab-nav__btn:hover {
  color: var(--c-black);
  font-weight: 900;
  border-bottom-color: var(--c-point);
}

/* =========================================================
   03·04. 3시간 핵심 루트 / 감도 루트 (세로 리스트, 가로 스크롤 금지)
   ========================================================= */
.route-switch { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.route-switch__btn {
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 800;
  border: 1.5px solid var(--c-black);
  border-radius: 20px;
  background: #fff;
}
.route-switch__btn.is-active { background: var(--c-black); color: #fff; }

.route-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.route-vertical-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--c-line);
  flex-wrap: wrap;
}
.route-vertical-list__item--station { background: var(--c-surface); }
.route-vertical-list__num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-black);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.route-vertical-list__label {
  font-size: 13.5px;
  font-weight: 800;
}
button.route-vertical-list__label:hover { color: var(--c-point); text-decoration: underline; }
.route-vertical-list__note {
  font-size: 11.5px;
  color: var(--c-text-sub);
  margin-left: auto;
}

/* ---------- 취향별 표 ---------- */
.taste-table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); }
.taste-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.taste-table th, .taste-table td { padding: 11px 14px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.taste-table thead th { background: var(--c-black); color: #fff; font-size: 12px; }
.taste-table tbody th { font-weight: 800; white-space: nowrap; background: var(--c-surface); }
.taste-store-link {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  margin: 2px 4px 2px 0;
  border: 1px solid var(--c-line);
  border-radius: 20px;
}
.taste-store-link:hover { border-color: var(--c-point); color: var(--c-point); }

/* =========================================================
   06. 매장 정보 (배지 범례 + 접힘형 전체 카드)
   ========================================================= */
.badge-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  font-size: 12px;
  margin-bottom: 22px;
}
.badge-legend li { display: flex; align-items: center; gap: 8px; }
.badge-legend span:not(.badge-chip) { color: var(--c-text-sub); }

.store-toggle {
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
}
.store-toggle__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  background: var(--c-black);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.store-toggle__summary::-webkit-details-marker { display: none; }
.store-toggle__chevron { margin-left: auto; font-size: 12px; transition: transform 0.2s ease; }
.store-toggle[open] .store-toggle__chevron { transform: rotate(180deg); }

.store-card-group { padding: 20px 18px 4px; border-bottom: 1px solid var(--c-line); }
.store-card-group:last-child { border-bottom: none; }
.store-card-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  border-left: 5px solid var(--cat-color);
  padding-left: 10px;
  margin-bottom: 14px;
}
.store-card-group__blurb { font-size: 12px; color: var(--c-text-sub); margin: -8px 0 12px 15px; }
.store-card-group__count { font-size: 11.5px; color: var(--c-text-sub); font-weight: 700; margin-left: 4px; }

.store-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 18px;
}
.store-card {
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--cat-color);
  border-radius: 6px;
  padding: 14px 16px;
  background: #fff;
  scroll-margin-top: 90px;
  transition: box-shadow 0.2s ease;
}
.store-card.is-highlighted { box-shadow: 0 0 0 3px var(--c-point); }
.store-card__name { font-size: 14px; font-weight: 900; line-height: 1.3; margin-bottom: 6px; }
.store-card__badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.store-card__desc {
  font-size: 12px;
  color: var(--c-text-sub);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-card__time { font-size: 11.5px; color: var(--c-text); margin-bottom: 10px; }
.store-card__time span { color: var(--c-point); font-weight: 800; }
.store-card__map-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 11px;
  border: 1.5px solid var(--c-point);
  border-radius: 20px;
  color: var(--c-point);
}
.store-card__map-btn:hover { background: var(--c-point); color: #fff; }

/* ---------- 배지 칩 ---------- */
.badge-chip {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 3px;
  color: #fff;
  letter-spacing: 0.02em;
}
.badge-EASY    { background: #2f9e44; }
.badge-CHECK   { background: #1f6fd6; }
.badge-WAIT    { background: #f2811d; }
.badge-DROP    { background: var(--c-point); }
.badge-VINTAGE { background: #6a4c2b; }
.badge-PRICEY  { background: #111111; }
.badge-SNEAKER { background: #6741d9; }
.badge-GORP    { background: #0c8599; }

/* ---------- 드롭 가이드 ---------- */
.drop-guide-list { display: flex; flex-direction: column; }
.drop-guide__item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 13px;
}
.drop-guide__brand { font-weight: 900; color: var(--c-point); }
.drop-guide__text { color: var(--c-text-sub); }
@media (max-width: 640px) { .drop-guide__item { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- 타이밍 표 ---------- */
.timing-table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 18px; }
.timing-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.timing-table th, .timing-table td { padding: 11px 14px; border-bottom: 1px solid var(--c-line); text-align: left; }
.timing-table tbody th { white-space: nowrap; font-weight: 800; background: var(--c-surface); }
.timing-notes {
  background: #fff6f6;
  border: 1px solid #f3c9cb;
  border-radius: var(--radius);
  padding: 14px 16px;
}
.timing-notes h4 { font-size: 12.5px; font-weight: 900; color: var(--c-point-dark); margin-bottom: 6px; }
.timing-notes-list li { font-size: 12.5px; position: relative; padding-left: 14px; margin-top: 5px; }
.timing-notes-list li::before { content: '⚠'; position: absolute; left: 0; }

/* ---------- 체크리스트 ---------- */
.checklist-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
}
.checklist__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: 12.5px;
}
.checklist__item input { width: 15px; height: 15px; accent-color: var(--c-point); flex-shrink: 0; }
.checklist__item label { flex: 1; }

/* =========================================================
   10. 지도 탭 (Google Maps JS API + 카테고리 패널)
   ========================================================= */
.map-section { background: var(--c-surface); }

.map-zone-flow { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.map-zone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 6px;
  font-size: 12px;
  font-weight: 800;
  border: 1.5px solid var(--c-line);
  border-radius: 20px;
  background: #fff;
}
.map-zone__num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-black); color: #fff; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}
.map-zone.is-active { border-color: var(--c-point); color: var(--c-point); }
.map-zone.is-active .map-zone__num { background: var(--c-point); }

.map-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: start;
}
.map-layout__embed {
  width: 100%;
  min-height: 520px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-layout__embed iframe { display: block; width: 100%; height: 100%; min-height: 520px; }
.map-embed__placeholder {
  padding: 32px 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--c-text-sub);
  line-height: 1.7;
}
.map-embed__placeholder i { font-size: 26px; color: var(--c-point); display: block; margin-bottom: 12px; }

.map-layout__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.map-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.map-cat-tab {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  border: 1.5px solid var(--c-black);
  border-radius: 20px;
  background: #fff;
  color: var(--c-black);
  white-space: nowrap;
}
.map-cat-tab.is-active { background: var(--c-black); color: #fff; }

.map-store-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 560px;
  overflow-y: auto;
  position: relative;
  padding-right: 4px;
}
.map-store-item {
  border: 1px solid var(--c-line);
  border-radius: 6px;
  background: #fff;
}
.map-store-item.is-expanded { border-color: var(--c-point); }
.map-store-item__head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 11px 13px;
  text-align: left;
}
.map-store-item__name { font-size: 13px; font-weight: 900; }
.map-store-item__meta { font-size: 11.5px; color: var(--c-text-sub); }
.map-store-item__detail {
  padding: 0 13px 13px;
  font-size: 12px;
  color: var(--c-text-sub);
  line-height: 1.55;
}
.map-store-item__hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--c-point);
}

/* ---------- 구글맵 InfoWindow 카드 (마커 클릭 시 표시) ---------- */
.iw-card {
  min-width: 180px;
  max-width: 240px;
  padding: 2px 2px 4px;
  font-family: var(--font-body);
}
.iw-emoji {
  display: inline-block;
  font-size: 18px;
  margin-bottom: 4px;
}
.iw-title {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
  color: var(--c-text);
  line-height: 1.3;
}
.iw-cat {
  display: inline-block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--c-point);
  letter-spacing: 0.02em;
}
.iw-desc {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--c-text-sub);
  line-height: 1.5;
}

/* ---------- 마지막 안내 ---------- */
.disclaimer { background: var(--c-black); color: #fff; padding: 36px 0; }
.disclaimer .container { text-align: center; }
.disclaimer p { font-size: 13.5px; line-height: 1.7; max-width: 680px; margin: 0 auto; }
.disclaimer strong { color: var(--c-point); }

footer.site-footer { padding: 20px 0; text-align: center; font-size: 11.5px; color: #999; }

/* =========================================================
   반응형 (모바일: 좌우 스크롤 전면 금지)
   ========================================================= */
@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-layout { gap: 12px; }
  .map-layout__embed { min-height: 320px; scroll-margin-top: 56px; }
  .map-store-list { max-height: 42vh; }
}

@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .hero { padding: 36px 0 24px; }
  .tab-nav__btn { padding: 10px 9px; font-size: 12px; }
  .store-card-grid { grid-template-columns: 1fr; }
  .route-vertical-list__item { flex-wrap: nowrap; padding: 9px 2px; gap: 10px; }
  .route-vertical-list__label { flex: 1; min-width: 0; text-align: left; }
  .route-vertical-list__note { max-width: 42%; text-align: right; }
  .drop-guide__item { grid-template-columns: 1fr; }
  .tab-nav__inner { padding: 0 8px; }
  .taste-table thead { display: none; }
  .taste-table, .taste-table tbody, .taste-table tr, .taste-table th, .taste-table td { display: block; width: 100%; }
  .taste-table tbody th { border-bottom: none; padding: 10px 12px 4px; white-space: normal; }
  .taste-table td { padding: 4px 12px 10px; background: var(--c-surface); }
  .taste-store-link { white-space: nowrap; }
}