/* REPLMOA 공통 스타일시트 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
}
body {
  background-color: #faf9f6;
  color: #18181b;
  line-height: 1.6;
  word-break: keep-all;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* 상단 고정 헤더 */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e7e5e0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 16px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #111111;
  white-space: nowrap;
}
.logo span {
  color: #d96b27;
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #3f3f46;
}
.nav a {
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active {
  color: #d96b27;
  border-bottom-color: #d96b27;
}

/* 모바일 햄버거 버튼 및 드로어 */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-end;
}
.hamburger-btn span {
  display: block;
  height: 2px;
  background: #18181b;
  border-radius: 2px;
  transition: width 0.2s, transform 0.2s, opacity 0.2s;
}
.hamburger-btn span:nth-child(1) { width: 22px; }
.hamburger-btn span:nth-child(2) { width: 22px; }
.hamburger-btn span:nth-child(3) { width: 15px; }

.mobile-drawer {
  display: none;
  background: #ffffff;
  border-top: 1px solid #eceae4;
  border-bottom: 1px solid #e7e5e0;
  padding: 8px 20px 14px;
}
.mobile-drawer.open {
  display: block;
}
.mobile-drawer a {
  display: block;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 700;
  color: #27272a;
  border-bottom: 1px solid #f4f3ef;
}
.mobile-drawer a:last-child {
  border-bottom: none;
}
.mobile-drawer a:hover, .mobile-drawer a.active {
  color: #d96b27;
}

/* 메인 페이지 전용 */
.main-wrap {
  padding: 22px 0 64px;
}

/* 최상단 VIP 안내 박스 (링크 없는 순수 안내 영역) */
.vip-banner {
  background: linear-gradient(90deg, #fdfbf7 0%, #f5efe2 50%, #fdfbf7 100%);
  border: 1.5px solid #d4af37;
  border-radius: 12px;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.08);
}
.vip-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.vip-badge {
  background: linear-gradient(135deg, #e0be53, #b89028);
  color: #111111;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.vip-title {
  font-size: 17px;
  font-weight: 800;
  color: #18181b;
  line-height: 1.3;
}
.vip-sub {
  font-size: 13px;
  color: #52525b;
  margin-top: 2px;
}

/* 섹션 헤더 */
.sec-head {
  margin: 26px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sec-head h2 {
  font-size: 17px;
  font-weight: 800;
  color: #18181b;
  white-space: nowrap;
}
.sec-head span {
  font-size: 12px;
  color: #71717a;
  white-space: nowrap;
}

/* 추천 업체 카드 그리드 (PC & 모바일 3열 가로 배치) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: #ffffff;
  border: 1px solid #e5e2dc;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #d96b27;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}
.thumb {
  position: relative;
  width: 100%;
  height: 156px;
  background: #eae7e1;
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.verified-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(24, 24, 27, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.card-body {
  padding: 15px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 5px;
  color: #18181b;
}
.card-desc {
  font-size: 12.5px;
  color: #52525b;
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}
.go-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #d96b27;
  color: #ffffff !important;
  padding: 9px 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
}
.go-btn:hover {
  background: #b85619;
}

/* 업체 리스트 */
.vendor-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vendor-row {
  background: #ffffff;
  border: 1px solid #e5e2dc;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.15s, transform 0.15s;
}
.vendor-row:hover {
  border-color: #d96b27;
  transform: translateX(2px);
}
.vendor-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.row-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eae7e1;
}
.vendor-row-text {
  min-width: 0;
  flex: 1;
}
.vendor-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-pill {
  background: #18181b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.vendor-row-name {
  font-size: 15px;
  font-weight: 800;
  color: #18181b;
}
.vendor-row-sub {
  font-size: 12px;
  color: #52525b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-btn {
  background: #d96b27;
  color: #ffffff !important;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.row-btn:hover {
  background: #b85619;
}

/* 메인 핵심 요약 + 가이드 허브 카드 */
.summary-box {
  background: #ffffff;
  border: 1px solid #e5e2dc;
  border-radius: 14px;
  padding: 24px 26px;
  margin-top: 32px;
}
.summary-box h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.summary-box p {
  font-size: 14px;
  color: #52525b;
  margin-bottom: 16px;
}
.guide-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.hub-card {
  background: #faf9f6;
  border: 1px solid #e5e2dc;
  border-radius: 10px;
  padding: 15px 18px;
  transition: border-color 0.2s, background 0.2s;
  display: block;
}
.hub-card:hover {
  border-color: #d96b27;
  background: #fff8f3;
}
.hub-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 3px;
}
.hub-card span {
  font-size: 12px;
  color: #52525b;
}

/* 입점 안내 박스 */
.partner-box {
  background: #fffaf5;
  border: 1px solid #f0d7c2;
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.partner-box h4 {
  font-size: 15px;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 4px;
}
.partner-box p {
  font-size: 13px;
  color: #52525b;
  margin: 0;
}
.partner-link-btn {
  background: #d96b27;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.partner-link-btn:hover {
  background: #b85619;
}

/* 가이드 상세 페이지 공통 스타일 */
.breadcrumb {
  font-size: 13px;
  color: #71717a;
  margin-bottom: 16px;
}
.breadcrumb a:hover {
  color: #d96b27;
}
.guide-hero {
  background: #ffffff;
  border: 1px solid #e5e2dc;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 24px;
}
.guide-badge {
  display: inline-block;
  background: #fff3eb;
  color: #d96b27;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.guide-hero h1 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.guide-hero p {
  font-size: 15px;
  color: #52525b;
}

.toc-box {
  background: #f4f3ef;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 26px;
}
.toc-box strong {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
.toc-box ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: #3f3f46;
}
.toc-box a:hover {
  color: #d96b27;
  text-decoration: underline;
}

.doc-section {
  background: #ffffff;
  border: 1px solid #e5e2dc;
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 22px;
}
.doc-section h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f4f3ef;
}
.doc-section h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 18px 0 8px;
  color: #18181b;
}
.doc-section p {
  font-size: 14px;
  color: #3f3f46;
  margin-bottom: 12px;
}
.doc-list {
  padding-left: 20px;
  margin-bottom: 14px;
  color: #3f3f46;
  font-size: 14px;
}
.doc-list li {
  margin-bottom: 6px;
}

.info-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.info-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.mini-card {
  background: #faf9f6;
  border: 1px solid #e5e2dc;
  border-radius: 12px;
  padding: 16px;
}
.mini-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}
.mini-card p {
  font-size: 13px;
  margin-bottom: 8px;
}
.mini-card ul {
  padding-left: 16px;
  font-size: 13px;
  color: #52525b;
}
.mini-card ul li {
  margin-bottom: 4px;
}

.table-wrap {
  overflow-x: auto;
  margin: 14px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  border: 1px solid #e5e2dc;
  padding: 10px 12px;
  text-align: left;
}
th {
  background: #f4f3ef;
  font-weight: 800;
}

.alert-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #dc2626;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 13px;
  color: #7f1d1d;
}
.tip-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 13px;
  color: #78350f;
}

details {
  border: 1px solid #e5e2dc;
  border-radius: 10px;
  padding: 13px 16px;
  margin-bottom: 10px;
  background: #faf9f6;
}
summary {
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  color: #18181b;
}
details p {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 13px;
  color: #3f3f46;
}

.disclaimer {
  background: #f4f3ef;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 12px;
  color: #52525b;
  margin-top: 24px;
  line-height: 1.65;
}

/* 푸터 및 카피라이트 중앙 정렬 */
.footer {
  background: #18181b;
  color: #a1a1aa;
  padding: 32px 0;
  font-size: 13px;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  color: #e4e4e7;
  font-weight: 600;
}
.footer-links a:hover {
  color: #fbbf24;
}
.copyright {
  text-align: center;
  color: #a1a1aa;
}

/* 모바일/태블릿(768px 이하): 좌측 로고 + 우측 햄버거 메뉴 + 추천 업체 3열 가로 유지 */
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .info-grid-3 { grid-template-columns: 1fr; }
  .info-grid-2, .guide-hub-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hamburger-btn { display: flex; }
  .header-inner { height: 56px; }
  .logo { font-size: 20px; }
}

/* 모바일 세부 여백(600px 이하): VIP 외곽선 바깥 여백 추가 & 안쪽 여백 슬림 유지 */
@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .main-wrap { padding: 16px 0 48px; }

  .vip-banner {
    padding: 12px 14px;
    gap: 10px;
    margin-top: 4px;
    margin-bottom: 18px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 10px;
  }
  .vip-left { gap: 9px; }
  .vip-badge {
    font-size: 11px;
    padding: 3px 7px;
  }
  .vip-title {
    font-size: 14px;
    margin-bottom: 2px;
  }
  .vip-sub {
    font-size: 11px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .sec-head {
    margin: 22px 2px 12px;
    gap: 8px;
  }
  .sec-head h2 {
    font-size: 15px;
    padding-left: 2px;
  }
  .sec-head span {
    font-size: 11px;
    padding-right: 2px;
  }

  .grid-3 { gap: 6px; }
  .thumb { height: 74px; }
  .verified-badge {
    top: 5px;
    left: 5px;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 4px;
  }
  .card { border-radius: 8px; }
  .card-body { padding: 8px 7px 9px; }
  .card-title {
    font-size: 12px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-desc {
    font-size: 10px;
    line-height: 1.3;
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .go-btn {
    padding: 5px 0;
    font-size: 10.5px;
    border-radius: 5px;
  }

  /* 리스트 항목들은 기존 여백 유지 */
  .vendor-row {
    padding: 10px 12px;
    gap: 10px;
  }
  .vendor-row-left { gap: 10px; }
  .row-thumb {
    width: 44px;
    height: 44px;
    border-radius: 7px;
  }
  .cat-pill {
    font-size: 10px;
    padding: 2px 6px;
  }
  .vendor-row-name { font-size: 14px; }
  .vendor-row-sub {
    font-size: 11px;
    margin-top: 2px;
  }
  .row-btn {
    padding: 7px 11px;
    font-size: 11px;
  }

  .partner-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
  }
  .partner-link-btn {
    width: 100%;
    text-align: center;
  }

  .guide-hero { padding: 20px; }
  .guide-hero h1 { font-size: 21px; }
  .doc-section { padding: 18px; }
}
