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

body {
  font-family: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f5f7fb;
  color: #111827;
}

a {
  color: inherit;
  text-decoration: none;
}

.app {
  max-width: 800px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 16px 72px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 14px 0 10px;
  background-color: #f5f7fb;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 20px;
  width: auto;
}

@media (max-width: 480px) {
  .logo-img {
    height: 24px;
  }
}

.header-menu-button {
  display: none; /* 햄버거 버튼 임시 숨김 */
}

.menu-line {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background-color: #111827;
}

.header-location {
  width: 100%;
}

.location-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  background-color: #f1fbf9;
  font-size: 14px;
  color: #111827;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.location-button:hover {
  background-color: #e8f5f3;
}

.location-button:active {
  transform: scale(0.98);
}

.location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff7f3f;
  flex-shrink: 0;
}

.location-text {
  flex: 1;
  text-align: left;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-arrow {
  font-size: 10px;
  color: #6b7280;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.location-button.active .location-arrow {
  transform: rotate(180deg);
}

.app-main {
  flex: 1;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f9fafb;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.primary-button.full {
  width: 100%;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
}

.link-more {
  font-size: 12px;
  color: #9ca3af;
}

.section-today {
  padding-top: 12px;
  margin-bottom: 20px;
}

.section-title-main {
  font-size: 18px;
  font-weight: 700;
  margin-left: 2px;
  margin-bottom: 10px;
}

.today-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 6px;
  margin: 0;
  scroll-snap-type: x mandatory;
}

.today-card {
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: start;
}

.today-card-link {
  display: block;
}

.today-card-image {
  position: relative;
  height: 230px;
  border-radius: 18px;
  overflow: hidden;
  background-color: #111827;
  background-size: cover;
  background-position: center;
}

.today-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1));
}

.today-card-text {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
}

.today-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.today-card-desc {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 8px;
  line-height: 1.4;
}

.today-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.today-distance,
.today-rating {
  display: inline-flex;
  align-items: center;
}

.event-section {
  margin-top: 8px;
}

.event-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.event-card {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.event-link {
  display: flex;
  align-items: center;
  padding: 10px 12px;
}

.event-main {
  flex: 1;
}

.event-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.event-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background-color: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  margin-bottom: 4px;
}

.event-address {
  font-size: 12px;
  color: #6b7280;
}

.event-date {
  margin-top: 2px;
  font-size: 12px;
  color: #a5b4fc;
}

.event-meta {
  margin-left: 8px;
  font-size: 12px;
  color: #e5e7eb;
}

.event-price {
  font-weight: 600;
}

.load-more-container {
  margin-top: 24px;
  text-align: center;
}

.load-more-button {
  padding: 12px 32px;
  border-radius: 999px;
  border: 1px solid #ff7f3f;
  background-color: #ffffff;
  color: #ff7f3f;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.load-more-button:hover {
  background-color: #fff5f0;
}

.load-more-button:active {
  transform: scale(0.98);
}

.empty-text {
  font-size: 13px;
  color: #6b7280;
  padding: 12px 0;
}

.section-nearby {
  margin-top: 18px;
}

.section-header-with-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sort-controls {
  display: flex;
  align-items: center;
}

.sort-select {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  font-size: 13px;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.sort-select:hover {
  border-color: #ff7f3f;
  background-color: #fff5f0;
}

.sort-select:focus {
  outline: none;
  border-color: #ff7f3f;
  box-shadow: 0 0 0 3px rgba(255, 127, 63, 0.1);
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
  padding: 12px 0;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.2s ease;
}

.category-chip:hover {
  background-color: #fff5f0;
  border-color: #ff7f3f;
  color: #ff7f3f;
}

.category-chip.is-active {
  background: linear-gradient(135deg, #ff7f3f, #ff5b2c);
  border-color: #ff7f3f;
  color: #ffffff;
}

.nearby-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.nearby-card {
  border-radius: 20px;
  background-color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 12px;
}

.nearby-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.nearby-thumb-wrapper {
  flex-shrink: 0;
}

.nearby-thumb {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  font-size: 12px;
}

.nearby-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nearby-info {
  flex: 1;
  min-width: 0;
}

.nearby-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.nearby-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nearby-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.meta-date {
  color: #6b7280;
  white-space: nowrap;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background-color: #e0f2fe;
  color: #0284c7;
}

.filter-bar {
  margin-bottom: 10px;
}

.section-filter {
  margin-bottom: 20px;
  padding: 16px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-form {
  width: 100%;
}

.filter-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 150px;
}

.filter-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 6px;
}

.region-select-button {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.region-select-button:hover {
  border-color: #ff7f3f;
  background-color: #fff5f0;
}

.region-select-button:active {
  transform: scale(0.98);
}

.region-select-arrow {
  font-size: 10px;
  color: #6b7280;
  transition: transform 0.2s ease;
}

.region-select-button:active .region-select-arrow {
  transform: rotate(180deg);
}

/* 지역 선택 모달 */
.region-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.region-modal.region-modal-active {
  opacity: 1;
  visibility: visible;
}

.region-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.region-modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: 80vh;
  background-color: #ffffff;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.region-modal.region-modal-active .region-modal-content {
  transform: translateY(0);
}

.region-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.region-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.region-modal-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.region-modal-close:hover {
  color: #111827;
}

.region-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

/* 대분류 그리드 (전체, 서울, 부산, ...) - 5열 */
.region-major-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}

/* 중분류 영역 / 5열 그리드 */
.region-minor-section {
  min-height: 80px;
}

.region-minor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

/* 지역 칩 (대분류·중분류 공통) */
.region-chip {
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background-color: #e5e7eb;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.region-chip:hover {
  background-color: #d1d5db;
  color: #111827;
}

.region-chip.is-selected {
  background: linear-gradient(135deg, #ff7f3f, #ff5b2c);
  color: #ffffff;
}

.region-chip.is-selected:hover {
  background: linear-gradient(135deg, #ff6b2c, #ff4a1a);
  color: #ffffff;
}

.region-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
}

.region-modal-confirm {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ff7f3f, #ff5b2c);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.region-modal-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 127, 63, 0.3);
}

.region-modal-confirm:active {
  transform: translateY(0);
}

.region-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 12px 0;
}

.location-option {
  margin-bottom: 12px;
}

.location-option-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.location-option-button:hover {
  background-color: #f9fafb;
  border-color: #ff7f3f;
}

.location-option-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.location-option-info {
  flex: 1;
}

.location-option-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.location-option-desc {
  font-size: 13px;
  color: #6b7280;
}

.location-regions {
  margin-top: 12px;
}

.location-regions-title {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 12px;
}

.location-region-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.location-region-item {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.location-region-item:hover {
  background-color: #fff5f0;
  border-color: #ff7f3f;
  color: #ff7f3f;
}

@media (max-width: 480px) {
  .location-region-list {
    grid-template-columns: 1fr;
  }
}

.filter-actions {
  display: flex;
  gap: 8px;
}

.filter-button {
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ff7f3f, #ff5b2c);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 127, 63, 0.3);
}

.filter-button-secondary {
  background: #f3f4f6;
  color: #374151;
}

.filter-button-secondary:hover {
  background: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  .filter-row {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .filter-actions {
    width: 100%;
  }

  .filter-button {
    flex: 1;
  }
}

.input {
  width: 100%;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background-color: #020617;
  color: #e5e7eb;
  font-size: 13px;
}

.input::placeholder {
  color: #6b7280;
}

.detail-page {
  margin: 0 -16px;
  padding-bottom: 80px;
  background-color: #ffffff;
}

.detail-top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 8px 16px 6px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.detail-back-button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background-color: #fff7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
  cursor: pointer;
  color: #ff6b2c;
  margin-right: 8px;
}

.detail-back-icon {
  font-size: 18px;
}

.detail-top-title {
  font-size: 16px;
  font-weight: 500;
}

.detail-hero {
  width: 100%;
  height: 260px;
  background-color: #e5e7eb;
  overflow: hidden;
  position: relative;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 13px;
}

/* 상세 이미지 캐러셀 */
.detail-hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.detail-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.detail-hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.detail-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.detail-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.detail-hero-dot.active,
.detail-hero-dot:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.detail-hero-image-clickable {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.detail-hero-image-clickable:hover {
  opacity: 0.9;
}

/* 이미지 확대 모달 */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
}

.image-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 20px;
  z-index: 1;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.image-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.image-modal-prev,
.image-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.image-modal-prev {
  left: 20px;
}

.image-modal-next {
  right: 20px;
}

.image-modal-prev:hover,
.image-modal-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.image-modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.image-modal-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 2;
}

@media (max-width: 480px) {
  .image-modal-prev,
  .image-modal-next {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .image-modal-prev {
    left: 10px;
  }

  .image-modal-next {
    right: 10px;
  }

  .image-modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .image-modal-content {
    padding: 50px 10px 10px;
  }
}

.detail-sheet {
  padding: 12px 16px 16px;
}

.detail-basic {
  margin-bottom: 6px;
}

.detail-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.detail-basic-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #4b5563;
  flex-wrap: wrap;
}

.detail-rating {
  color: #f59e0b;
}

.detail-dot {
  color: #d1d5db;
}

.detail-distance {
  color: #6b7280;
}

.detail-price {
  font-weight: 600;
  color: #ef4444;
}

.detail-chip-row {
  margin-top: 6px;
}

.detail-divider {
  margin: 8px -16px 6px;
  border: none;
  border-top: 1px solid #f3f4f6;
}

.detail-section {
  margin-top: 16px; /* 섹션 사이의 간격 */
}

.detail-section-compact {
  margin-top: 0;
  margin-bottom: 0;
}

/* 콤팩트 섹션 (운영기간, 운영시간 등) 전용 설정 */
.detail-section-compact .detail-section-title {
  margin-bottom: 12; /* 주소, 연락처와 동일한 간격 */
}
.detail-section-compact .detail-section-body {
  margin-top: 0;
  margin-bottom: 12 !important; /* 아래 섹션과의 중복 여백 제거 */
  padding-left: 24px; /* 아이콘 너비만큼 들여쓰기 */
}
.detail-section-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 상세 설명 섹션의 타이틀과 내용 사이 여백 */
.detail-section-text .detail-section-title {
  margin-bottom: 8px;
}

/* 외부 링크 섹션의 타이틀과 내용 사이 여백 줄이기 */
.detail-section-external .detail-section-title {
  margin-bottom: 2px;
}

/* p 태그 자체의 기본 여백 제거 */
.detail-date-range, 
.detail-opening-hours,
.detail-external-link {
  margin: 0;
  display: block;
  line-height: 1.4;
}

.detail-section-external .detail-section-body {
  margin-top: 0;
  margin-bottom: 0 !important;
  padding-left: 0; /* 외부링크는 아이콘이 없으므로 들여쓰기 제거 혹은 조정 */
}

.detail-title-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.detail-section-body {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
  /* white-space: pre-line; */
  padding-left: 22px;
  margin-top: 0;
  margin-bottom: 16px !important;
}

.detail-text-content {
  white-space: pre-wrap;
  word-wrap: break-word;
  padding-left: 0 !important; /* 상세설명은 들여쓰기 제거 */
}

.detail-date-range {
  font-size: 14px;
  color: #374151;
  margin: 0;
  padding: 0;
}

.detail-opening-hours {
  font-size: 14px;
  color: #374151;
  margin: 0;
  padding: 0;
}

.detail-price {
  font-size: 14px;
  color: #374151;
  margin: 0;
  padding: 0;
  font-weight: 500;
}

.detail-external-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.detail-external-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

.detail-external-link-icon {
  font-size: 12px;
  opacity: 0.7;
}

.detail-search-keywords {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.detail-address-text {
  color: #111827;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.detail-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.detail-address-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 16px !important;
}

.detail-phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 16px !important;
}

.detail-link {
  color: #0284c7;
  text-decoration: none;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.detail-link:hover {
  text-decoration: underline;
}

.detail-inline-button {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.detail-inline-button.primary {
  background: linear-gradient(135deg, #ff7f3f, #ff5b2c);
  color: #ffffff;
}

.detail-inline-button.secondary {
  background-color: #ffffff;
  border: 1px solid #ff7f3f;
  color: #ff7f3f;
}

.detail-inline-button:disabled {
  opacity: 0.5;
  cursor: default;
}

/* 길찾기/위치보기 버튼 텍스트 */
.route-button-text-mobile {
  display: inline;
}

.route-button-text-desktop {
  display: none;
}

@media (min-width: 768px) {
  .route-button-text-mobile {
    display: none;
  }
  
  .route-button-text-desktop {
    display: inline;
  }
}

/* 미디어 컨텐츠 섹션 */
.detail-media-section {
  margin-top: 20px;
  width: 100%;
  overflow: hidden;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.detail-media-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.detail-media-subtitle {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.detail-media-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.detail-media-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* 각 페이지는 세로로 3개씩 배치 (카드 형태) */
.detail-media-list {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 12px;
  width: max-content;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.detail-media-item {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.detail-media-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.detail-media-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.detail-media-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #e5e7eb;
  max-width: 100%;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.detail-media-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

.detail-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.detail-media-play-icon {
  font-size: 48px;
  color: rgba(255, 127, 63, 0.8);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.detail-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 8px;
}

.detail-media-platform {
  display: flex;
  align-items: center;
}

.detail-media-platform-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.detail-media-platform-badge.youtube {
  background-color: rgba(255, 0, 0, 0.9);
}

.detail-media-platform-badge.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.detail-media-platform-badge.tiktok {
  background-color: rgba(0, 0, 0, 0.9);
}

.detail-media-title {
  padding: 12px;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  margin: 0;
  white-space: normal;
  word-break: break-word;
  font-weight: 500;
}

.detail-media-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.detail-media-prev,
.detail-media-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #6b7280;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.detail-media-prev:hover,
.detail-media-next:hover {
  background-color: #fff7f2;
  border-color: #ff7f3f;
  color: #ff7f3f;
}

.detail-media-prev:disabled,
.detail-media-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.detail-media-page-info {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

/* 구글 검색 섹션 */
.detail-google-search-section {
  margin-top: 20px;
}

.detail-google-search-box {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}

.detail-google-search-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.detail-google-search-text {
  font-size: 14px;
  color: #4b5563;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.detail-google-search-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff7f3f, #ff5b2c);
  color: #ffffff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 127, 63, 0.3);
}

.detail-google-search-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 127, 63, 0.4);
}

.detail-google-search-icon {
  font-size: 16px;
}

@media (max-width: 480px) {
  .detail-media-item {
    width: 100%;
  }
  
  .detail-media-thumbnail {
    height: auto;
  }
}

/* 지도 앱 선택 모달 */
.route-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.route-modal.route-modal-active {
  opacity: 1;
  visibility: visible;
}

.route-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.route-modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  background-color: #ffffff;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px 32px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
}

.route-modal.route-modal-active .route-modal-content {
  transform: translateY(0);
}

.route-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.route-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.route-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.route-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route-app-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.route-app-button:hover {
  background-color: #f9fafb;
  border-color: #ff7f3f;
}

.route-app-button:active {
  transform: scale(0.98);
}

.route-app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.route-app-button[data-app="naver"] .route-app-icon {
  background: linear-gradient(135deg, #03c75a, #02b350);
}

.route-app-button[data-app="kakao"] .route-app-icon {
  background: linear-gradient(135deg, #fee500, #fdd835);
  color: #3c1e1e;
}

.route-app-button[data-app="tmap"] .route-app-icon {
  background: linear-gradient(135deg, #ff6b00, #ff8c00);
}

.route-app-info {
  flex: 1;
}

.route-app-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.route-app-desc {
  font-size: 13px;
  color: #6b7280;
}

.error-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f7fb;
}

.error-container {
  text-align: center;
}

.error-code {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
}

.error-message {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 800px;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-around;
  padding: 4px 0 6px;
  z-index: 20;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 10px;
  color: #9ca3af;
  min-width: 0;
}

.bottom-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.bottom-nav-icon svg {
  width: 22px;
  height: 22px;
}

.bottom-nav-item.is-active {
  color: #ff6b2c;
}

@media (min-width: 600px) {
  .app {
    max-width: 800px;
  }
}

/* 플로팅 버튼 */
.floating-button {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ff7f3f 0%, #ff6b2c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 127, 63, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.floating-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 127, 63, 0.5);
}

.floating-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 127, 63, 0.4);
}

.floating-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* 모바일에서 하단 네비게이션과 겹치지 않도록 조정 */
@media (max-width: 599px) {
  .floating-button {
    bottom: 90px;
    right: 16px;
  }
}

/* 태블릿 이상에서는 약간 위로 */
@media (min-width: 600px) {
  .floating-button {
    bottom: 24px;
    right: 24px;
  }
}


