/* ============================================================
   Concept A · Soft Village
   따뜻한 자연감 · 부드러운 마을 정서
   ============================================================ */

:root {
  --primary: #2F6B4F;
  --primary-dark: #234F3B;
  --secondary: #4A6FA5;
  --accent: #E89B4A;
  --danger: #C8553D;
  --text: #2A2E2B;
  --sub: #6B6F6C;
  --bg: #FAF7F2;
  --card: #FFFFFF;
  --border: #E5E0D6;
  --border-light: #F0EBE0;
  --shadow: 0 2px 8px rgba(42,46,43,0.06);
  --shadow-hover: 0 6px 16px rgba(42,46,43,0.10);
  --radius: 16px;
  --radius-btn: 12px;
  --container: 1140px;
}

*,*::before,*::after { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; display:block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 6px solid var(--primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.section-title small { display:block; font-size:13px; color: var(--sub); font-weight: 500; margin-top: 4px; letter-spacing: 0; font-family:'Noto Sans KR'; }

/* ===== Header ===== */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.logo {
  display: inline-flex; align-items: center;
}
.logo-img { height: 70px; width: auto; display: block; }
.footer-logo { height: 64px; width: auto; display: block; margin-bottom: 14px; }
.mobile-nav { display: none; }
.hamburger { display: none; }
.gnb { display: flex; gap: 32px; }
.gnb a {
  font-weight: 500; font-size: 17px; color: var(--text);
  position: relative; padding: 6px 0;
  transition: color .2s;
  letter-spacing: -0.01em;
}
.gnb a:hover { color: var(--primary); }
.gnb a::after {
  content:''; position:absolute; left:0; right:0; bottom: -2px;
  height: 2px; background: var(--primary); transform: scaleX(0);
  transition: transform .2s;
}
.gnb a:hover::after { transform: scaleX(1); }
.utility { display: flex; gap: 14px; align-items: center; }
.utility a {
  font-size: 13px; color: var(--sub);
  display: inline-flex; align-items: center; gap: 4px;
}
.utility a:hover { color: var(--primary); }
.cart-badge {
  display: inline-flex; align-items:center; justify-content:center;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--accent); color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 700;
  margin-left: 4px;
}

.hamburger { display: none; }
.hamburger-toggle { display:none; }

/* ===== Hero (full-width banner) ===== */
.hero {
  background: var(--bg);
  padding: 24px 0 40px;
  border-bottom: 1px solid var(--border);
}
.hero-banner {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(42,46,43,0.12);
}
.hero-banner img { width:100%; height: auto; display:block; }
.dots {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.dots span {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.55);
}
.dots span.active { background: #fff; width: 22px; border-radius: 999px; }

/* ===== Buttons (kept for reuse) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline {
  background: var(--card); color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ===== Section common ===== */
.section { padding: 64px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.section-head .more {
  font-size: 13px; color: var(--primary); font-weight: 600;
}
.section-head .more::after { content: " →"; }

/* ===== Popular grid (image + price only, natural ratios) ===== */
.popular-grid {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: center; align-items: flex-start;
}
.exp-card {
  flex: 0 0 calc((100% - 36px) / 3);
  max-width: calc((100% - 36px) / 3);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  cursor: pointer;
}
.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(47,107,79,0.4);
}
.exp-img { overflow: hidden; }
.exp-img img { width:100%; height:auto; display:block; transition: transform .4s; }
.exp-card:hover .exp-img img { transform: scale(1.04); }
.exp-body { padding: 12px 14px 14px; }
.exp-price {
  font-size: 15px; font-weight: 600; color: #2F6B4F;
  font-family: 'Noto Sans KR', sans-serif; letter-spacing: -0.01em;
}

/* ===== Notice & Stories split ===== */
.news-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}
.news-split .section-title { font-size: 22px; }
.news-split .section-head { margin-bottom: 18px; }

/* 공지 — 텍스트 리스트 카드 */
.notice-list {
  list-style: none; padding: 0; margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.notice-list li { border-bottom: 1px solid var(--border-light); }
.notice-list li:last-child { border-bottom: none; }
.notice-list li a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 20px;
  transition: background .15s;
}
.notice-list li a:hover { background: var(--bg); }
.notice-list li a::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}
.notice-title {
  flex: 1; font-size: 15px; font-weight: 500; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.notice-date { font-size: 12px; color: var(--sub); flex-shrink: 0; }

/* 소식 — 이미지 4개 그리드 */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.story-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(47,107,79,0.4);
}
.story-img { aspect-ratio: 4/3; overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.story-card:hover .story-img img { transform: scale(1.05); }
.story-title {
  font-size: 14px; font-weight: 700; line-height: 1.4;
  margin: 4px 14px 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-date {
  font-size: 12px; color: var(--sub);
  margin: 0 14px 14px;
}

/* ===== Reviews ===== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, box-shadow .2s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.review-head { display: flex; align-items: center; justify-content: space-between; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(47,107,79,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary); font-weight: 700; font-size: 14px;
}
.review-name { font-size: 14px; font-weight: 600; }
.review-stars { color: var(--accent); font-size: 13px; font-weight: 700; }
.review-body {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 14px; line-height: 1.6; color: var(--text);
  margin: 0;
}
.review-meta {
  font-size: 12px; color: var(--sub);
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--border-light); padding-top: 10px;
}

/* ===== Bottom Banner (mainbanner banner_type='B') ===== */
.bottom-banner-section {
  padding: 36px 0 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.bottom-banner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: center;
  justify-items: center;
}
.bottom-banner-grid .bb-card {
  display: block;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.bottom-banner-grid .bb-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(47,107,79,0.4);
}
.bottom-banner-grid .bb-card img {
  width: 100%;
  height: 86px;
  object-fit: contain;
  display: block;
  padding: 8px 10px;
}
@media (max-width: 1023px) {
  .bottom-banner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .bottom-banner-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bottom-banner-section { padding: 28px 0 36px; }
}

/* ===== Footer ===== */
.site-footer {
  background: #2A3530;
  color: #C8CFC8;
  padding: 48px 0 28px;
  font-size: 13px;
  margin-top: 64px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #3D4A45;
}
.footer-top h4 { color: #fff; font-size: 14px; margin: 0 0 10px; }
.footer-top p { margin: 4px 0; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; padding: 20px 0; }
.footer-links a { color: #C8CFC8; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: #8A958F; }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  /* hero-banner: aspect-ratio로 비율 유지, 별도 height 불필요 */
  /* tablet: 3 columns retained via base flex-basis */
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .news-split { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 767px) {
  .gnb, .utility { display: none; }
  .header-inner { height: 80px; }
  .logo-img { height: 70px; }
  .footer-logo { height: 52px; }
  .hamburger {
    display: inline-flex; flex-direction: column; gap: 4px;
    width: 36px; height: 36px; border: 1px solid var(--border);
    border-radius: 8px; background: var(--card);
    align-items: center; justify-content: center;
    cursor: pointer;
  }
  .hamburger span { display:block; width: 18px; height:2px; background: var(--text); border-radius: 2px;}
  .hamburger-toggle:checked ~ .site-header .mobile-nav { display: block; }
  .mobile-nav {
    display: none;
    position: absolute; top: 80px; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--border);
    padding: 12px 24px; z-index: 49;
  }
  .mobile-nav a {
    display: block; padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px; font-weight: 500;
  }
  .mobile-nav a:last-child { border-bottom: none; }

  .hero { padding: 16px 0 32px; }
  .hero-banner { border-radius: 12px; }
  .section-title { font-size: 22px; }
  .section { padding: 44px 0; }

  .popular-grid { gap: 12px; }
  .popular-grid .exp-card { flex: 0 0 calc((100% - 12px) / 2); max-width: calc((100% - 12px) / 2); }
  .review-grid { grid-template-columns: 1fr; }

  .stories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .footer-top { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  /* hero-banner: aspect-ratio 유지 */
  .btn { padding: 12px 18px; font-size: 14px; }
  .stories-grid { grid-template-columns: 1fr; }
  .notice-title { font-size: 14px; }
}

/* ============================================================
   Sub Page Common
   페이지 타이틀, 서브 설명, 페이지네이션, 폼 등
   ============================================================ */

.page-head {
  padding: 48px 0 8px;
}
.page-head .page-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 700; font-size: 32px;
  margin: 0;
  padding-left: 14px;
  border-left: 6px solid var(--primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.page-head .page-sub {
  margin: 12px 0 0 20px;
  color: var(--sub); font-size: 14px;
}

/* breadcrumb 형식 (선택적) */
.breadcrumb {
  font-size: 12px; color: var(--sub);
  margin: 0 0 12px 0;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 6px; opacity: .5; }

/* ===== Pagination ===== */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  margin: 36px 0 8px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border-radius: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--sub);
  border: 1px solid var(--border);
  background: var(--card);
  transition: all .15s;
}
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pagination .ellipsis {
  border: none; background: transparent;
}

/* ===== Filter Bar (검색/정렬) ===== */
.filter-bar {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter-bar .filter-left {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.filter-bar .filter-right {
  margin-left: auto;
  display: flex; gap: 10px; align-items: center;
}
.filter-bar select,
.filter-bar input[type="text"] {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.filter-bar select:focus,
.filter-bar input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,107,79,0.12);
}
.filter-bar select { padding-right: 32px; min-width: 130px; cursor: pointer; }
.filter-bar input[type="text"] { min-width: 220px; }
.filter-bar .btn-search {
  height: 40px;
  padding: 0 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.filter-bar .btn-search:hover { background: var(--primary-dark); }

/* ===== Forms (공통 입력) ===== */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label.field-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-row .field-required { color: var(--danger); margin-left: 3px; }
.form-row input[type="text"],
.form-row input[type="password"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row input[type="number"],
.form-row textarea,
.form-row select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.form-row textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.6;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,107,79,0.12);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #B5B6B0; }

.input-group {
  display: flex; gap: 8px; align-items: stretch;
}
.input-group input { flex: 1; }
.input-group .btn-sub {
  flex-shrink: 0;
  height: 44px;
  padding: 0 16px;
  background: var(--card);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all .15s;
}
.input-group .btn-sub:hover {
  background: var(--primary);
  color: #fff;
}
.field-help {
  margin-top: 6px;
  font-size: 12px;
  color: var(--sub);
}
.field-error {
  margin-top: 6px;
  font-size: 12px;
  color: var(--danger);
}

.checkbox-row {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg);
  margin-bottom: 8px;
  font-size: 13px;
}
.checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.checkbox-row .check-required { color: var(--danger); font-weight: 600; }
.checkbox-row .check-optional { color: var(--sub); font-size: 12px; }
.checkbox-row label { flex: 1; cursor: pointer; }
.checkbox-row .terms-link {
  margin-left: auto; font-size: 12px; color: var(--sub);
  text-decoration: underline; text-underline-offset: 3px;
}
.checkbox-row .terms-link:hover { color: var(--primary); }

.form-actions {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 28px;
}
.form-actions .btn { min-width: 130px; }

/* ============================================================
   Review Page
   ============================================================ */
.rv-list {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 8px;
}
.rv-item {
  display: grid;
  grid-template-columns: 100px 1fr 140px;
  gap: 18px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  align-items: center;
}
.rv-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(47,107,79,0.3);
}
.rv-thumb {
  width: 100px; height: 100px;
  border-radius: 12px; overflow: hidden;
  background: var(--bg);
  position: relative;
}
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rv-thumb .rv-stars-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: var(--accent);
  font-size: 11px; font-weight: 700;
  padding: 14px 6px 4px; text-align: center;
  letter-spacing: 1px;
}
.rv-content { min-width: 0; }
.rv-title {
  font-size: 17px; font-weight: 700;
  margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-body {
  font-size: 14px; color: var(--text); line-height: 1.6;
  margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-village-chip {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(47,107,79,0.4);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(47,107,79,0.06);
}
.rv-meta {
  font-size: 12px; color: var(--sub);
  display: flex; flex-direction: column; gap: 4px;
  text-align: right;
}
.rv-meta span { white-space: nowrap; }
.rv-meta .rv-name { font-weight: 600; color: var(--text); font-size: 13px; }

.rv-page-action {
  display: flex; justify-content: flex-end;
  margin-bottom: 16px;
}

/* ============================================================
   Reserve List Page
   체험 목록 - main의 popular-grid 패턴 재사용
   ============================================================ */
.reserve-list-wrap .popular-grid { margin-top: 8px; }

/* ============================================================
   Reserve Detail Page
   ============================================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}
.detail-gallery .detail-main-img {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 12px;
}
.detail-gallery .detail-main-img img {
  width: 100%; height: auto; display: block;
}
.detail-thumbs {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.detail-thumbs .thumb {
  flex: 0 0 90px; height: 70px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s;
}
.detail-thumbs .thumb.active { border-color: var(--primary); }
.detail-thumbs .thumb:hover { border-color: rgba(47,107,79,0.5); }
.detail-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  align-self: start;
  position: sticky; top: 110px;
}
.detail-info .detail-cat {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  color: var(--primary);
  background: rgba(47,107,79,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.detail-info .detail-name {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 22px; font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.3;
}
.detail-info .detail-price {
  font-size: 28px; font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  font-family: 'Noto Sans KR', sans-serif;
}
.detail-info .detail-price small {
  font-size: 13px; color: var(--sub); font-weight: 500;
  margin-left: 4px;
}
.detail-spec {
  list-style: none; padding: 0;
  margin: 0 0 18px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.detail-spec li {
  font-size: 13px; color: var(--text);
  padding: 6px 0;
  display: flex; align-items: center; gap: 8px;
}
.detail-spec li::before {
  content: ''; width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.detail-spec li strong {
  color: var(--sub); font-weight: 500;
  min-width: 64px;
}

.detail-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 18px 0;
}

.detail-counter-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
}
.detail-counter-row .counter-label {
  font-size: 13px; font-weight: 600;
  color: var(--text);
}
.counter {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
}
.counter button {
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  font-size: 16px; color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.counter button:hover { background: var(--bg); }
.counter .count {
  min-width: 36px; text-align: center;
  font-size: 14px; font-weight: 600;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  padding: 0 6px;
  line-height: 32px;
}

.detail-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  margin-top: 10px;
}
.detail-total-row .total-label {
  font-size: 13px; color: var(--sub);
}
.detail-total-row .total-amount {
  font-size: 22px; font-weight: 700;
  color: var(--primary);
}

.detail-action-stack {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 12px;
}
.detail-action-stack .btn { width: 100%; padding: 14px; }
.detail-fav-link {
  display: inline-flex; align-items: center; gap: 4px;
  justify-content: center;
  font-size: 12px; color: var(--sub);
  margin-top: 8px;
  padding: 6px;
}
.detail-fav-link:hover { color: var(--danger); }
.detail-fav-link.is-marked { color: var(--danger); font-weight: 600; }
.detail-fav-link.is-marked:hover { color: var(--danger); cursor: default; }

/* 캘린더 미리보기 */
.detail-section { margin-top: 56px; }
.detail-section h3.section-sub-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px; font-weight: 700;
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.cal-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  overflow-x: auto;
  text-align: center;
}
#reserveCalendarDiv {
  display: inline-block;
  text-align: left;
  max-width: 100%;
}
/* 내부 캘린더 표 (외곽 wrapper table 안에 있어 descendant 셀렉터로 매치) */
#reserveCalendarDiv table.CalendarTable {
  table-layout: fixed;
  border-collapse: collapse;
  margin: 0 8px;
}
#reserveCalendarDiv table.CalendarTable td[colspan="7"] {
  white-space: nowrap;
  font-size: 15px;
  line-height: 52px;
  vertical-align: middle;
  /* calendar.js의 background="ca_top.gif" 인라인 속성 무력화 */
  background-image: none !important;
  background: transparent;
}
#reserveCalendarDiv table.CalendarTable td[colspan="7"] img {
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px;
}
#reserveCalendarDiv table.CalendarTable td { padding: 4px 6px; }
#reserveCalendarDiv table.CalendarTable .sundayTitle,
#reserveCalendarDiv table.CalendarTable .normaldayTitle,
#reserveCalendarDiv table.CalendarTable .saturdayTitle,
#reserveCalendarDiv table.CalendarTable td.reserveCalendarView {
  width: 60px;
  white-space: nowrap;
}
/* 요일 헤더 배경 — calendar.css의 .gif 이미지 대신 CSS 컬러 사용 */
#reserveCalendarDiv table.CalendarTable .sundayTitle {
  background: #d9534f;
  color: #fff;
  font-weight: 600;
}
#reserveCalendarDiv table.CalendarTable .saturdayTitle {
  background: #4a7bd1;
  color: #fff;
  font-weight: 600;
}
#reserveCalendarDiv table.CalendarTable .normaldayTitle {
  background: #3a3a3a;
  color: #fff;
  font-weight: 600;
}

/* reserve1 전용 — 단일 캘린더를 카드(rs1-cal-card) 폭에 가득 채움 */
.rs1-cal-mount { display: block !important; text-align: left !important; }
.rs1-cal-mount table.CalendarTable {
  width: 100% !important;
  margin: 0 !important;
}
.rs1-cal-mount table.CalendarTable .sundayTitle,
.rs1-cal-mount table.CalendarTable .normaldayTitle,
.rs1-cal-mount table.CalendarTable .saturdayTitle,
.rs1-cal-mount table.CalendarTable td.reserveCalendarView {
  width: auto !important;
}
/* "선택" 버튼 — btn_choice.gif 이미지 숨기고 CSS 가상 버튼으로 대체 */
.rs1-cal-mount td.reserveCalendar img[src*="btn_choice"] { display: none !important; }
.rs1-cal-mount td.reserveCalendar.reserveok {
  text-align: center !important;
  vertical-align: middle !important;
  padding: 8px 4px !important;
}
.rs1-cal-mount td.reserveCalendar.reserveok::after {
  content: "선택";
  display: inline-block;
  margin-top: 4px;
  padding: 4px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.rs1-cal-mount td.reserveCalendar.reserveok:hover::after { background: var(--primary); }
.rs1-cal-mount td.reserveCalendar.reserveDate::after { background: var(--primary); }

/* 모바일 — view.php의 두 캘린더를 가로 → 세로 스택 (외곽 wrapper만 매치, .CalendarTable 자체는 제외) */
@media (max-width: 767px) {
  .cal-wrap { padding: 14px; }
  #reserveCalendarDiv > table:not(.CalendarTable),
  #reserveCalendarDiv > table:not(.CalendarTable) > tbody,
  #reserveCalendarDiv > table:not(.CalendarTable) > tbody > tr,
  #reserveCalendarDiv > table:not(.CalendarTable) > tbody > tr > td {
    display: block !important;
    width: auto !important;
  }
  #reserveCalendarDiv table.CalendarTable {
    margin: 0 auto 18px;
  }
  #reserveCalendarDiv table.CalendarTable .sundayTitle,
  #reserveCalendarDiv table.CalendarTable .normaldayTitle,
  #reserveCalendarDiv table.CalendarTable .saturdayTitle,
  #reserveCalendarDiv table.CalendarTable td.reserveCalendarView {
    width: 46px;
  }
  /* reserve1 — 모바일에서도 카드 폭에 가득 채움 */
  .rs1-cal-mount table.CalendarTable .sundayTitle,
  .rs1-cal-mount table.CalendarTable .normaldayTitle,
  .rs1-cal-mount table.CalendarTable .saturdayTitle,
  .rs1-cal-mount table.CalendarTable td.reserveCalendarView {
    width: auto !important;
  }
}
.cal-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.cal-head .cal-month {
  font-size: 17px; font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
}
.cal-head button {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
}
.cal-head button:hover { background: var(--bg); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-grid .cal-dow {
  font-size: 11px; font-weight: 600; color: var(--sub);
  text-align: center;
  padding: 6px 0;
}
.cal-grid .cal-dow.sun { color: var(--danger); }
.cal-grid .cal-cell {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  border-radius: 8px;
  font-size: 13px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: all .15s;
  position: relative;
}
.cal-grid .cal-cell:hover { background: rgba(47,107,79,0.1); }
.cal-grid .cal-cell.empty { background: transparent; cursor: default; }
.cal-grid .cal-cell.full {
  background: #F5F1EB;
  color: #B5B6B0;
  cursor: not-allowed;
  text-decoration: line-through;
}
.cal-grid .cal-cell.selected {
  background: var(--primary);
  color: #fff; font-weight: 700;
}
.cal-grid .cal-cell .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--primary);
  margin-top: 2px;
}
.cal-grid .cal-cell.full .dot { background: var(--danger); }
.cal-grid .cal-cell.selected .dot { background: #fff; }
.cal-legend {
  display: flex; gap: 16px; justify-content: center;
  margin-top: 14px; font-size: 11px; color: var(--sub);
}
.cal-legend .legend-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; margin-right: 4px; vertical-align: middle;
}
.cal-legend .legend-dot.avail { background: var(--primary); }
.cal-legend .legend-dot.full { background: var(--danger); }

.intro-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.intro-block p {
  margin: 0 0 14px;
  font-size: 14px; line-height: 1.8; color: var(--text);
}
.intro-block .intro-img {
  margin: 18px 0 4px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.intro-block .intro-img img { width: 100%; height: 100%; object-fit: cover; }

/* SNS share */
.sns-share {
  display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap;
}
.sns-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 13px; font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform .2s;
}
.sns-btn:hover { transform: translateY(-2px); }
.sns-btn.insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sns-btn.fb { background: #1877F2; }
.sns-btn.x { background: #000; }
.sns-btn.kakao { background: #FEE500; color: #3c1e1e; }
.sns-btn.naver { background: #03C75A; }
.sns-btn.url {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.sns-btn svg { width: 20px; height: 20px; fill: currentColor; display: block; pointer-events: none; }

/* URL 복사 토스트 — 클릭한 SNS 아이콘 바로 아래에 표시 (type2 전용, footmenu_n_type2.php의 JS가 위치 동적 계산) */
.sns-share { position: relative; }
.t2-sns-toast {
  position: absolute;
  background: rgba(42,46,43,0.95);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.t2-sns-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 후기 목록 — 공지글 행 강조 */
.rv-item.rv-item-notice {
  background: rgba(232,155,74,0.06);
  border: 1px solid rgba(232,155,74,0.25);
}
.rv-item.rv-item-notice .rv-title { color: var(--accent); }

/* 사용자 입력 콘텐츠 영역 — 인라인 font-family 무시하고 Noto Sans KR 강제 */
.intro-block, .intro-block *,
.intro-content, .intro-content *,
.bv-content, .bv-content *,
.info-doc-body, .info-doc-body * {
  font-family: 'Noto Sans KR', sans-serif !important;
}

/* ============================================================
   News Page (공지 / 소식 탭)
   ============================================================ */
.news-tabs {
  display: flex; gap: 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}
.news-tab-input { display: none !important; }
.news-tabs label.news-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px;
  font-size: 14px; font-weight: 600;
  color: var(--sub);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.news-tabs label.news-tab:hover { color: var(--primary); }
.news-tabs label.news-tab .count {
  font-size: 11px; color: var(--sub);
  background: var(--bg);
  padding: 2px 7px;
  border-radius: 999px;
}

#tab-notice:checked ~ .news-tabs label[for="tab-notice"],
#tab-stories:checked ~ .news-tabs label[for="tab-stories"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.news-panel { display: none; }
#tab-notice:checked ~ .news-panel-notice { display: block; }
#tab-stories:checked ~ .news-panel-stories { display: block; }

/* 공지 - 큰 리스트 */
.news-notice-list {
  list-style: none; padding: 0; margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.news-notice-list li { border-bottom: 1px solid var(--border-light); }
.news-notice-list li:last-child { border-bottom: none; }
.news-notice-list li a {
  display: grid;
  grid-template-columns: 60px 1fr 100px 80px;
  gap: 16px; padding: 18px 22px;
  align-items: center;
  transition: background .15s;
}
.news-notice-list li a:hover { background: var(--bg); }
.news-notice-list .news-no {
  font-size: 13px; color: var(--sub); font-weight: 500;
}
.news-notice-list .news-tag,
.rv-title .news-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--accent);
  background: rgba(232,155,74,0.12);
  padding: 3px 10px;
  border-radius: 999px;
  margin-right: 8px;
  vertical-align: middle;
}
.news-notice-list .news-title-text {
  font-size: 15px; font-weight: 500; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-notice-list .news-date,
.news-notice-list .news-views {
  font-size: 12px; color: var(--sub); text-align: right;
}

/* 소식 - 큰 카드 그리드 */
.news-stories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.news-stories-grid .news-story-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.news-stories-grid .news-story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(47,107,79,0.4);
}
.news-stories-grid .news-story-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.news-stories-grid .news-story-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.news-stories-grid .news-story-card:hover .news-story-img img { transform: scale(1.04); }
.news-stories-grid .news-story-meta {
  display: flex; gap: 8px; align-items: center;
  margin: 12px 14px 6px;
  font-size: 11px; color: var(--sub);
}
.news-stories-grid .news-story-meta .cat-chip {
  color: var(--primary); font-weight: 600;
  background: rgba(47,107,79,0.08);
  padding: 2px 8px;
  border-radius: 999px;
}
.news-stories-grid .news-story-card h3 {
  font-size: 15px; font-weight: 700; line-height: 1.4;
  margin: 4px 14px 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-stories-grid .news-story-excerpt {
  font-size: 13px; color: var(--sub); line-height: 1.55;
  margin: 0 14px 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   Signup / Login
   ============================================================ */
.auth-wrap {
  max-width: 600px;
  margin: 0 auto;
}
.login-wrap { max-width: 480px; }

.signup-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  margin: 8px 0 32px;
}
.signup-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--sub);
}
.signup-step .step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--sub);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  border: 1.5px solid var(--border);
}
.signup-step.active .step-num {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.signup-step.active .step-label { color: var(--primary); font-weight: 600; }
.signup-step.done .step-num {
  background: rgba(47,107,79,0.12);
  color: var(--primary);
  border-color: rgba(47,107,79,0.4);
}
.step-bar {
  width: 60px; height: 1.5px;
  background: var(--border);
  margin: 0 14px;
}
.step-bar.active { background: var(--primary); }

.terms-block { margin-top: 8px; }
.terms-block .terms-title {
  font-size: 13px; font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0 18px;
  color: var(--sub); font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-sub-links {
  display: flex; justify-content: center; gap: 0;
  margin-top: 6px;
  font-size: 13px;
}
.auth-sub-links a {
  padding: 6px 14px;
  color: var(--sub);
  position: relative;
}
.auth-sub-links a:hover { color: var(--primary); }
.auth-sub-links a + a::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 1px; height: 12px; background: var(--border);
  transform: translateY(-50%);
}

/* 로그인 자동로그인 row */
.login-keep-row {
  display: flex; justify-content: space-between; align-items: center;
  margin: 4px 0 6px;
  font-size: 13px;
}
.login-keep-row label {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text); cursor: pointer;
}
.login-keep-row label input {
  width: 16px; height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Login 로고 영역 */
.auth-logo {
  text-align: center;
  margin-bottom: 22px;
}
.auth-logo img { height: 56px; margin: 0 auto; }
.auth-welcome {
  text-align: center;
  margin-bottom: 22px;
  color: var(--sub);
  font-size: 13px;
}

/* 풀폭 큰 버튼 */
.btn-block { width: 100%; padding: 14px; font-size: 15px; }

/* ============================================================
   Cart Page
   ============================================================ */
.cart-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
  transition: box-shadow .2s, border-color .2s;
}
.cart-item:hover {
  border-color: rgba(47,107,79,0.3);
  box-shadow: var(--shadow);
}
.cart-thumb {
  width: 80px; height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { min-width: 0; }
.cart-name {
  font-size: 15px; font-weight: 700;
  margin: 0 0 6px;
}
.cart-meta-row {
  display: flex; flex-wrap: wrap; gap: 6px 12px;
  font-size: 12px; color: var(--sub);
  margin-bottom: 4px;
}
.cart-meta-row span { display: inline-flex; align-items: center; gap: 4px; }
.cart-meta-row span::before {
  content: ''; width: 3px; height: 3px;
  background: var(--sub); border-radius: 50%;
  display: inline-block;
}
.cart-meta-row span:first-child::before { display: none; }
.cart-option {
  font-size: 12px; color: var(--sub);
}
.cart-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  flex-shrink: 0;
}
.cart-price {
  font-size: 17px; font-weight: 700;
  color: var(--primary);
}
.cart-del {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 50%;
  font-size: 14px; line-height: 1;
  color: var(--sub);
  cursor: pointer;
  transition: all .15s;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-del:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: rgba(200,85,61,0.06);
}

.cart-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky; top: 110px;
  box-shadow: var(--shadow);
}
.cart-summary h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 17px; font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.cart-sum-row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}
.cart-sum-row .sum-label { color: var(--sub); }
.cart-sum-row .sum-value { color: var(--text); font-weight: 500; }
.cart-sum-row.discount .sum-value { color: var(--danger); }
.cart-sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 2px solid var(--border);
}
.cart-sum-total .total-label {
  font-size: 14px; font-weight: 600; color: var(--text);
}
.cart-sum-total .total-amount {
  font-size: 24px; font-weight: 700;
  color: var(--primary);
  font-family: 'Noto Sans KR', sans-serif;
}
.cart-actions {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 18px;
}
.cart-actions .btn { width: 100%; padding: 13px; }

.cart-empty {
  display: none;
  padding: 60px 20px;
  text-align: center;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--sub);
}
.cart-empty .empty-icon { font-size: 36px; opacity: .5; margin-bottom: 10px; }
.cart-empty .empty-title { font-size: 15px; font-weight: 600; color: var(--text); margin: 0 0 6px; }
.cart-empty .empty-desc { font-size: 13px; }

/* ============================================================
   Concept-A Index Page (시안 진입점)
   ============================================================ */
.idx-hero {
  padding: 56px 0 36px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.idx-hero h1 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 32px; font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.idx-hero h1 .idx-tag {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--primary);
  background: rgba(47,107,79,0.1);
  padding: 4px 12px;
  border-radius: 999px;
  vertical-align: middle;
  margin-right: 8px;
}
.idx-hero p {
  margin: 0; font-size: 14px; color: var(--sub);
  max-width: 540px; margin: 0 auto;
}
.idx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 36px 0 64px;
}
.idx-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.idx-card::before {
  content: ''; position: absolute; left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--primary);
  opacity: .8;
}
.idx-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(47,107,79,0.4);
}
.idx-card .idx-num {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px; color: var(--primary); font-weight: 700;
  letter-spacing: 0.05em;
}
.idx-card h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px; font-weight: 700;
  margin: 8px 0 8px;
  color: var(--text);
}
.idx-card p {
  font-size: 13px; color: var(--sub); line-height: 1.6;
  margin: 0 0 16px;
  min-height: 42px;
}
.idx-card .idx-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600;
  color: var(--primary);
}
.idx-card .idx-link::after { content: ' →'; }
.idx-foot-note {
  font-size: 12px; color: var(--sub);
  text-align: center;
  padding: 24px 0 48px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   Board View (글 상세) — 4개 게시판 공통
   ============================================================ */
.bv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.bv-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--text);
}
.bv-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 12px; color: var(--sub);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}
.bv-meta .bv-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.bv-meta .bv-meta-item.author { color: var(--text); font-weight: 600; }
.bv-meta .bv-meta-sep { color: var(--border); }

.bv-attach {
  margin-top: 18px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-size: 13px;
  display: flex; align-items: center; gap: 8px;
}
.bv-attach::before {
  content: '📎'; opacity: .7;
}
.bv-attach a { color: var(--primary); font-weight: 500; }
.bv-attach a:hover { text-decoration: underline; }

.bv-image {
  margin: 28px 0 16px;
  text-align: center;
}
.bv-image img {
  display: inline-block;
  max-width: 100%;
  border-radius: 12px;
}

.bv-content {
  padding: 28px 0 8px;
  font-size: 15px; line-height: 1.85;
  color: var(--text);
  word-break: break-all;
  overflow-wrap: anywhere;
}
.bv-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 8px 0;
}
.bv-content p { margin: 0 0 14px; }
.bv-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* 이전글/다음글 */
.bv-nav {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.bv-nav-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 4px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}
.bv-nav-row:last-child { border-bottom: none; }
.bv-nav-label {
  flex-shrink: 0;
  font-weight: 600; color: var(--sub);
  min-width: 56px;
}
.bv-nav-text {
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0;
}
.bv-nav-text a:hover { color: var(--primary); }
.bv-nav-text.empty { color: var(--sub); font-style: italic; }

/* 액션 버튼 (목록/수정/삭제/답변) */
.bv-actions {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-top: 26px;
}
.bv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 22px;
  border-radius: var(--radius-btn);
  font-size: 14px; font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text);
  transition: all .15s;
}
.bv-btn:hover { border-color: var(--primary); color: var(--primary); }
.bv-btn-primary {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
}
.bv-btn-primary:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.bv-btn-danger {
  background: var(--card); color: var(--danger);
  border-color: var(--danger);
}
.bv-btn-danger:hover { background: var(--danger); color: #fff; }

/* 댓글 */
.bv-comments {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.bv-comments-title {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin: 0 0 14px;
}
.bv-comment-input-row {
  display: flex; gap: 8px; margin-bottom: 18px;
}
.bv-comment-input-row input[type="text"] {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}
.bv-comment-input-row input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,107,79,0.12);
}
.bv-comment-input-row .bv-comment-submit {
  height: 42px; padding: 0 18px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.bv-comment-input-row .bv-comment-submit:hover { background: var(--primary-dark); }

.bv-comment-list { display: flex; flex-direction: column; gap: 12px; }
.bv-comment {
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}
.bv-comment-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
  gap: 10px;
}
.bv-comment-author {
  font-size: 13px; font-weight: 600; color: var(--text);
}
.bv-comment-date {
  font-size: 12px; color: var(--sub);
  margin-left: 8px;
}
.bv-comment-del {
  font-size: 11px; color: var(--sub);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}
.bv-comment-del:hover { color: var(--danger); border-color: var(--danger); }
.bv-comment-body {
  font-size: 14px; line-height: 1.6; color: var(--text);
  word-break: break-all;
}

.bv-empty {
  text-align: center; color: var(--sub);
  padding: 18px 0; font-size: 13px;
}

/* ============================================================
   MyPage (마이페이지) — reservelist, marklist, reserveview, reserve1, write0
   ============================================================ */
.mp-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-light);
}
.mp-tab {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  font-size: 14px; font-weight: 500;
  color: var(--sub);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.mp-tab:hover { color: var(--primary); }
.mp-tab.active {
  color: var(--primary);
  font-weight: 700;
  border-bottom-color: var(--primary);
}

/* 예약내역 — 카드 리스트 */
.mp-reserve-list { display: flex; flex-direction: column; gap: 14px; }
.mp-reserve-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
  transition: box-shadow .2s, border-color .2s;
}
.mp-reserve-item:hover {
  box-shadow: var(--shadow);
  border-color: rgba(47,107,79,0.3);
}
.mp-reserve-info { min-width: 0; }
.mp-reserve-name {
  font-size: 16px; font-weight: 700;
  margin: 0 0 8px; color: var(--text);
}
.mp-reserve-name a { color: inherit; }
.mp-reserve-name a:hover { color: var(--primary); }
.mp-reserve-name .mp-pkg {
  font-size: 12px; color: var(--secondary);
  font-weight: 500; margin-left: 4px;
}
.mp-reserve-meta {
  display: flex; flex-wrap: wrap; gap: 4px 14px;
  font-size: 13px; color: var(--sub);
}
.mp-reserve-meta .mp-meta-num {
  font-weight: 600; color: var(--text);
}
.mp-reserve-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.mp-reserve-price {
  font-size: 18px; font-weight: 700; color: var(--primary);
}
.mp-reserve-actions {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end;
}

/* 상태 배지 — type2 톤 */
.mp-status {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.mp-status-paid { background: rgba(47,107,79,0.10); color: var(--primary); }
.mp-status-wait { background: rgba(232,155,74,0.14); color: #B97026; }
.mp-status-cancel { background: rgba(120,120,120,0.10); color: var(--sub); }

a.mp-status-link { display: inline-block; }
a.mp-status-link:hover .mp-status-wait {
  background: rgba(232,155,74,0.22); text-decoration: underline;
}

/* 액션 버튼 (mp 작은 버튼) */
.mp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.mp-btn:hover { border-color: var(--primary); color: var(--primary); }
.mp-btn-primary {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
}
.mp-btn-primary:hover { background: var(--primary-dark); color: #fff; }
.mp-btn-accent {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
}
.mp-btn-accent:hover { background: #C97E2D; color: #fff; border-color: #C97E2D; }
.mp-btn-outline {
  background: var(--card); color: var(--primary);
  border-color: var(--primary);
}
.mp-btn-outline:hover { background: var(--primary); color: #fff; }

/* 안내문 */
.mp-note {
  margin-top: 16px;
  font-size: 12px; color: var(--sub);
  text-align: right;
}

.mp-empty {
  text-align: center; padding: 60px 20px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--sub);
}
.mp-empty .mp-empty-icon { font-size: 36px; opacity: .5; margin-bottom: 8px; }
.mp-empty .mp-empty-title { font-size: 15px; font-weight: 600; color: var(--text); margin: 0 0 4px; }

/* 관심상품(찜) — 그리드 */
.mp-mark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mp-mark-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.mp-mark-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.mp-mark-img {
  aspect-ratio: 4/3;
  background: var(--bg);
  overflow: hidden;
}
.mp-mark-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mp-mark-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.mp-mark-name {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 38px;
}
.mp-mark-price {
  font-size: 13px; color: var(--sub);
  flex: 1;
}
.mp-mark-price b { color: var(--primary); font-weight: 700; }
.mp-mark-actions {
  display: flex; gap: 6px; justify-content: space-between;
  margin-top: 8px;
}
.mp-mark-status {
  font-size: 11px; padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--sub);
}
.mp-mark-status.open { background: rgba(47,107,79,0.10); color: var(--primary); }
.mp-mark-del {
  background: none; border: none;
  color: var(--sub); cursor: pointer;
  font-size: 18px; line-height: 1;
  padding: 0 4px;
}
.mp-mark-del:hover { color: var(--danger); }

/* 예약 상세 — 정보 박스 */
.mp-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.mp-info-card h3 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 17px; font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}
.mp-info-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}
.mp-info-row:last-child { border-bottom: none; }
.mp-info-label {
  color: var(--sub);
  font-weight: 500;
}
.mp-info-value {
  color: var(--text);
  word-break: break-all;
}
.mp-info-value strong { color: var(--primary); font-weight: 700; }

.mp-info-actions {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 20px;
}

/* 약관 동의 (write0) */
.mp-terms {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.mp-terms-title {
  font-size: 15px; font-weight: 700;
  margin: 0 0 12px;
}
.mp-terms-box {
  height: 160px;
  overflow: auto;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-size: 13px; line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}
.mp-terms-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
}
.mp-terms-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* 캘린더 영역 (reserve1) */
.mp-calendar-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.mp-person-list {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.mp-person-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.mp-person-row .mp-person-label {
  color: var(--sub); font-weight: 500;
}
.mp-person-row .mp-person-value {
  font-weight: 700; color: var(--text);
}

/* ============================================================
   Responsive (sub pages)
   ============================================================ */
@media (max-width: 1023px) {
  .idx-grid { grid-template-columns: repeat(3, 1fr); }
  .news-stories-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-info { position: static; }
  .cart-wrap { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .mp-mark-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 767px) {
  .page-head { padding: 32px 0 4px; }
  .page-head .page-title { font-size: 24px; }

  .filter-bar { gap: 8px; }
  .filter-bar .filter-right { margin-left: 0; width: 100%; }
  .filter-bar input[type="text"] { flex: 1; min-width: 0; }

  .rv-item {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 14px;
  }
  .rv-thumb { width: 80px; height: 80px; }
  .rv-meta {
    grid-column: 1 / -1;
    flex-direction: row; gap: 10px;
    text-align: left;
    border-top: 1px solid var(--border-light);
    padding-top: 8px;
    flex-wrap: wrap;
  }
  .rv-page-action { justify-content: center; }

  .idx-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-stories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .news-notice-list li a {
    grid-template-columns: 1fr 80px;
    gap: 10px; padding: 14px 16px;
  }
  .news-notice-list .news-no, .news-notice-list .news-views { display: none; }
  .news-notice-list .news-title-text { font-size: 14px; }

  .form-card { padding: 24px 18px; }
  .signup-steps { gap: 0; }
  .step-bar { width: 30px; margin: 0 6px; }
  .signup-step .step-label { display: none; }
  .signup-step.active .step-label { display: inline; font-size: 12px; }

  .cart-item {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 14px;
  }
  .cart-thumb { width: 64px; height: 64px; }
  .cart-right {
    grid-column: 1 / -1;
    flex-direction: row; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 10px;
  }

  .detail-info { padding: 22px; }
  .detail-info .detail-name { font-size: 19px; }
  .detail-info .detail-price { font-size: 24px; }

  .news-tabs label.news-tab { padding: 10px 16px; font-size: 13px; }

  /* board view */
  .bv-card { padding: 24px 18px; }
  .bv-title { font-size: 20px; }
  .bv-content { padding: 22px 0 4px; font-size: 14px; }
  .bv-actions { gap: 6px; }
  .bv-btn { height: 38px; padding: 0 16px; font-size: 13px; }

  /* mypage tabs */
  .mp-tab { padding: 10px 14px; font-size: 13px; }
  .mp-reserve-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
  .mp-reserve-right {
    flex-direction: row; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 12px; gap: 10px;
  }
  .mp-reserve-actions { justify-content: flex-end; }

  .mp-info-card { padding: 22px 18px; }
  .mp-info-row {
    grid-template-columns: 100px 1fr;
    gap: 8px; font-size: 13px;
  }

  .mp-person-row { grid-template-columns: 100px 1fr; }
}

@media (max-width: 480px) {
  .idx-grid { grid-template-columns: 1fr; }
  .news-stories-grid { grid-template-columns: 1fr; }
  .auth-sub-links { flex-wrap: wrap; gap: 4px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }

  .rv-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .rv-thumb { margin: 0 auto; }
  .rv-meta { justify-content: center; }

  .sns-share { justify-content: center; }
  .detail-thumbs .thumb { flex: 0 0 70px; height: 56px; }

  .mp-mark-grid { grid-template-columns: 1fr; }
  .mp-info-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .mp-info-label { font-size: 12px; color: var(--sub); }
  .mp-person-row { grid-template-columns: 1fr; gap: 2px; }
  .bv-comment-input-row { flex-direction: column; }
  .bv-comment-input-row .bv-comment-submit { width: 100%; }
}
