@font-face {
  font-family: 'Cafe24Surround';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/Cafe24Ssurround.woff') format('woff');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NanumSquareRound';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/NanumSquareRound.woff') format('woff');
  font-weight: normal;
  font-display: swap;
}

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

button, input, select, textarea {
  font-family: inherit;
}

:root {
  --primary: #e8985a;
  --primary-dark: #d4803e;
  --bg: #faf6f1;
  --card-bg: #fff;
  --text: #2d2016;
  --text-light: #8a7a6d;
  --border: #efe6dc;
  --badge-cafe: #c9956b;
  --badge-bakery: #d4803e;
  --badge-restaurant: #b07050;
  --badge-etc: #a09080;
  --shadow: 0 2px 12px rgba(80, 50, 20, 0.08);
  --radius: 14px;
}

body {
  font-family: 'NanumSquareRound', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* ========== Header ========== */
.header {
  background: linear-gradient(180deg, #fff 0%, #fdf6ee 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-title {
  flex-shrink: 0;
}

.logo {
  font-family: 'Cafe24Surround', sans-serif;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--primary-dark);
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
  letter-spacing: -0.2px;
}

.search-box {
  flex: 1;
  max-width: 380px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-light);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 10px 36px 10px 40px;
  border: 2px solid var(--border);
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  background: var(--bg);
  transition: border-color 0.2s;
  color: var(--text);
}

.search-box input:focus {
  border-color: var(--primary);
}

.search-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

/* ========== Tabs Section ========== */
.tabs-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-height, 57px);
  z-index: 99;
}

.tabs-scroll-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 20px 0;
}

.tabs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 10px;
}

.tabs-row::-webkit-scrollbar {
  display: none;
}

.sub-tabs {
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.sub-tabs[hidden] {
  display: none;
}

.sub-tabs.collapsed {
  max-height: 32px;
  overflow: hidden;
  position: relative;
}

.sub-tabs-toggle {
  display: none;
  padding: 2px 0 8px;
  border: none;
  background: none;
  font-size: 11px;
  color: var(--text-light);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

.tab {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  color: var(--text-light);
  flex-shrink: 0;
}

.tab:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Category tabs (underline style) */
.cat-tabs {
  gap: 0 !important;
  padding-bottom: 0 !important;
}

.tab-cat {
  padding: 8px 14px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text-light);
  position: relative;
  transition: color 0.2s;
  flex-shrink: 0;
}

.tab-cat:hover { color: var(--text); }

.tab-cat.active {
  color: var(--primary-dark);
  font-weight: 600;
}

.tab-cat.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px 2px 0 0;
}

/* Sub-region tabs (smaller, lighter) */
.tab-sub {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 14px;
  background: var(--bg);
  border-color: transparent;
  color: var(--text-light);
}

.tab-sub:hover {
  background: var(--border);
  border-color: transparent;
  color: var(--text);
}

.tab-sub.active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.tab .tab-count {
  font-size: 11px;
  opacity: 0.85;
  margin-left: 2px;
}

/* ========== Main Content ========== */
.main-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
}

.cards-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.cards-header h2 {
  font-size: 18px;
  font-weight: 700;
}

.store-count {
  font-size: 13px;
  color: var(--text-light);
}

/* ========== Cards Grid ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.store-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(80, 50, 20, 0.14);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--border);
  display: block;
}

.card-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #efe6dc, #d9cfc5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.card-body {
  padding: 10px 12px 12px;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.card-name {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-카페 { background: #fdf0e4; color: var(--badge-cafe); }
.badge-베이커리 { background: #fde8d8; color: var(--badge-bakery); }
.badge-디저트 { background: #fce4ec; color: #c0506a; }
.badge-브런치 { background: #fff8e1; color: #b08030; }
.badge-음식점 { background: #fde8d8; color: var(--badge-restaurant); }
.badge-쇼핑 { background: #e8f0fd; color: #5070a0; }
.badge-기타, .badge-생활\/문화 { background: #f0ece8; color: var(--badge-etc); }

/* (tab-divider removed - categories now separate row) */

.card-location {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-phone {
  font-size: 11px;
  color: var(--text-light);
}

/* ========== Load More ========== */
.load-more-wrap {
  text-align: center;
  margin-top: 20px;
}

.load-more-btn {
  padding: 10px 36px;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
}

.load-more-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ========== Map ========== */
.map-section {
  margin-top: 32px;
}

.map-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.map-container {
  width: 100%;
  height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
}

/* Custom map markers */
.marker-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  object-fit: cover;
  background: var(--border);
}

.marker-icon-placeholder {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

/* Cluster icons */
.custom-cluster { background: none !important; }
.cluster-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.cluster-small { width: 34px; height: 34px; background: var(--primary); }
.cluster-medium { width: 40px; height: 40px; background: var(--primary-dark); font-size: 14px; }
.cluster-large { width: 46px; height: 46px; background: var(--badge-restaurant); font-size: 15px; }

/* Map popup */
.map-popup { font-size: 13px; line-height: 1.5; min-width: 160px; }
.map-popup-name { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.map-popup-address { color: var(--text-light); font-size: 12px; }
.map-popup-badge {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 8px;
  background: #fdf0e4;
  color: var(--badge-cafe);
  margin-top: 4px;
}

/* ========== Instagram Card ========== */
.insta-card-section {
  margin-top: 40px;
}

.insta-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.insta-card {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.insta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(80, 50, 20, 0.18);
}

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

.insta-card-img-top {
  object-position: top;
}

.insta-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 24px;
  color: #fff;
  gap: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.insta-card-id {
  font-size: 18px;
  font-weight: 700;
}

.insta-card-label {
  font-size: 13px;
  opacity: 0.95;
}

/* ========== Cross Link ========== */
.cross-link-section {
  margin-top: 24px;
}

.cross-link-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.cross-link-card:hover {
  border-color: var(--primary);
  background: #fdf6ee;
  transform: translateY(-2px);
}

.cross-link-emoji {
  font-size: 36px;
  flex-shrink: 0;
}

.cross-link-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cross-link-title {
  font-family: 'Cafe24Surround', sans-serif;
  font-size: 17px;
  color: var(--text);
}

.cross-link-sub {
  font-size: 13px;
  color: var(--text-light);
}

/* ========== Footer ========== */
.footer {
  text-align: center;
  padding: 24px 16px 20px;
  color: var(--text-light);
  font-size: 12px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
  background: #fff;
}

.footer-insta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-insta-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-insta-link:hover {
  color: #e6683c;
}

/* ========== Modal ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-overlay[hidden] { display: none; }

.modal {
  background: #fff;
  border-radius: 18px;
  max-width: 530px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  position: relative;
  animation: modalIn 0.25s ease;
  display: flex;
  flex-direction: column;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-scroll {
  overflow-y: auto;
  flex: 1;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  padding: 0;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  color: var(--text);
}
.modal-close svg { display: block; }

/* ========== Image Slider ========== */
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, #efe6dc, #d9cfc5);
  flex-shrink: 0;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
  touch-action: pan-y;
}

.slider-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  background: #f5f0eb;
}

.slider-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
  z-index: 5;
  color: var(--text);
  transition: opacity 0.2s;
}
.slider-arrow svg { display: block; }

.slider-arrow:hover { background: #fff; }
.slider-arrow[hidden] { display: none; }
.slider-prev { left: 8px; }
.slider-next { right: 8px; }

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.slider-dot.active {
  background: #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.modal-body { padding: 18px 22px 22px; }

.modal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.modal-header h3 { font-size: 19px; font-weight: 700; }

.modal-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 10px;
  background: #fdf0e4;
  color: var(--badge-cafe);
  flex-shrink: 0;
}

.modal-info p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 7px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.modal-info .info-icon {
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  font-size: 14px;
}

.hours-detail-link {
  font-size: 12px;
  color: var(--primary-dark);
  text-decoration: none;
  white-space: nowrap;
}

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

/* ========== Modal Tabs ========== */
.modal-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  padding: 0 22px;
  gap: 0;
}

.modal-tab {
  padding: 12px 16px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.modal-tab.active {
  color: var(--primary-dark);
}

.modal-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px 2px 0 0;
}

.modal-tab-content { display: none; }
.modal-tab-content.active { display: block; }

/* ========== Menu Section ========== */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.menu-item:last-child { border-bottom: none; }

.menu-item-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
  background: var(--border);
  display: block;
  margin-bottom: 8px;
}

.menu-item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.menu-item-price {
  font-size: 14px;
  color: var(--primary-dark);
  font-weight: 600;
  flex-shrink: 0;
}

.menu-empty {
  text-align: center;
  padding: 30px 0;
  color: var(--text-light);
  font-size: 14px;
}

/* ========== Micro Review ========== */
.micro-review {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 10px;
  line-height: 1.5;
}

/* ========== Review Tab ========== */
.review-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.review-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.review-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
}

.review-stat-label {
  font-size: 11px;
  color: var(--text-light);
}

/* Visitor Reviews */
.visitor-reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.visitor-review-item {
  background: var(--bg);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.visitor-review-item:hover {
  background: var(--border);
}

.visitor-review-author {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.visitor-review-body {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 8px;
}

.visitor-review-images {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.visitor-review-images::-webkit-scrollbar { display: none; }

.visitor-review-images img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Review Detail Overlay */
.review-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.review-detail-overlay[hidden] { display: none; }

.review-detail {
  background: #fff;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.2s ease;
}

.review-detail-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  padding: 0;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  color: var(--text);
}
.review-detail-close svg { display: block; }

.review-detail-images {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.review-detail-images img:first-child {
  border-radius: 16px 16px 0 0;
}

.review-detail-body {
  padding: 16px 20px 20px;
}

.review-detail-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.review-detail-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-line;
}

.review-section-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.blog-reviews {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.blog-review-item {
  display: block;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
}

.blog-review-item:hover { background: var(--border); }

.blog-review-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-review-author {
  font-size: 11px;
  color: var(--text-light);
}

.review-more-link {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ========== Info Tab ========== */
.info-section {
  margin-bottom: 18px;
}

.info-section-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.info-tag {
  font-size: 12px;
  padding: 5px 10px;
  background: var(--bg);
  border-radius: 8px;
  color: var(--text);
}

.info-road-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  white-space: pre-line;
  background: var(--bg);
  padding: 12px 14px;
  border-radius: 10px;
  max-height: 200px;
  overflow-y: auto;
}

.info-empty {
  text-align: center;
  padding: 30px 0;
  color: var(--text-light);
  font-size: 14px;
}

/* ========== Modal Links ========== */
.modal-links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.modal-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.modal-link-btn:hover { opacity: 0.85; }

.naver-btn { background: #03c75a; color: #fff; }
.insta-btn {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}
.blog-btn { background: #00c73c; color: #fff; }
.homepage-btn { background: var(--text); color: #fff; }

.no-results {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-light);
  font-size: 15px;
  grid-column: 1 / -1;
}

/* ========== Responsive ========== */
@media (max-width: 1280px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 12px;
  }
  .header-title { text-align: center; }
  .logo { font-size: 19px; }
  .search-box { max-width: 100%; }
  .tabs-section { position: sticky; z-index: 99; }
  .tabs-scroll-wrapper { padding: 8px 12px 0; }
  .tabs-row { gap: 6px; padding-bottom: 8px; }
  .tab { padding: 6px 12px; font-size: 12px; }
  .tab-cat { padding: 7px 12px; font-size: 12px; }
  .tab-sub { padding: 5px 10px; font-size: 11px; }
  .main-content { padding: 16px; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .card-body { padding: 8px 10px 10px; }
  .card-name { font-size: 13px; }
  .map-container { height: 360px; }
  .modal { max-width: 100%; border-radius: 16px; }
  .slider { border-radius: 16px 16px 0 0; }
  .modal-tabs { padding: 0 16px; }
}

@media (max-width: 540px) {
  .insta-cards-grid { grid-template-columns: 1fr; gap: 10px; }
  .insta-card-id { font-size: 16px; }
  .insta-card-label { font-size: 12px; }
  .header-inner { padding: 14px 16px 10px; gap: 8px; }
  .logo { font-size: 18px; }
  .logo-sub { font-size: 11px; }
  .search-box input { padding: 9px 36px 9px 38px; font-size: 13px; }
  .tabs-scroll-wrapper { padding: 6px 10px 0; }
  .tabs-row { gap: 7px 5px; padding-bottom: 6px; }
  .tab { padding: 5px 11px; font-size: 11px; border-width: 1px; }
  .tab-cat { padding: 6px 10px; font-size: 11px; }
  .tab-sub { padding: 4px 9px; font-size: 10px; }
  .sub-tabs { overflow-x: visible; overflow-y: hidden; flex-wrap: wrap; }
  .sub-tabs.collapsed { max-height: 28px; }
  .sub-tabs-toggle { display: inline-flex; align-items: center; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cards-header h2 { font-size: 16px; }
  .card-image { aspect-ratio: 1 / 1; }
  .card-name { font-size: 12px; }
  .badge { font-size: 9px; padding: 1px 5px; }
  .card-location { font-size: 11px; }
  .card-phone { font-size: 10px; }
  .map-container { height: 320px; border-radius: 10px; }
  .modal-body { padding: 14px 16px 18px; }
  .modal-header h3 { font-size: 17px; }
  .slider-arrow { width: 28px; height: 28px; font-size: 16px; }
  .modal-overlay { padding: 10px; }
}
