/* ════════════════════════════════════════════════════
   Tour Detail — Mobile booking optimization
   Noto Serif KR titles · Pretendard UI
════════════════════════════════════════════════════ */

.td-page {
  background: var(--cream, #F4EFE7);
  color: var(--ink, #181513);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: -0.02em;
  word-break: keep-all;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.td-page h1,
.td-page h2,
.td-page .td-acc summary,
.td-page .td-reviews-heading {
  font-family: "Noto Serif KR", serif;
}

/* ── Nav ─────────────────────────────────────────── */
.td-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(244, 239, 231, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 35, 26, 0.08);
}
.td-nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.td-nav__mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(179, 138, 60, 0.45);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold, #B38A3C);
}
.td-nav__back {
  font-size: 12px;
  color: var(--gold, #B38A3C);
  text-decoration: none;
  font-weight: 500;
}

/* ── Hero ────────────────────────────────────────── */
.td-hero {
  background: var(--warm-white, #FAF7F2);
}
.td-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 280px;
  overflow: hidden;
  background: #2C231A;
}
.td-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.td-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(24, 21, 19, 0.35) 100%);
  pointer-events: none;
}
.td-hero__body {
  padding: 16px 16px 18px;
}
.td-hero__badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold, #B38A3C);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.td-hero__title {
  font-size: clamp(1.45rem, 5.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}
.td-hero__lead {
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-m, #3D3530);
  margin-bottom: 12px;
}
.td-hero__cta {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  text-transform: none;
}
.td-hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.td-hero__cta-row .btn--outline {
  width: 100%;
  justify-content: center;
  min-height: 46px;
  font-size: 14px;
  text-transform: none;
  border-radius: 8px;
}
.td-cta-note {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--olive-gray, #70725F);
}
.td-cta-note--ticket {
  padding: 8px 10px;
  background: rgba(179, 138, 60, 0.06);
  border-radius: 6px;
  color: var(--bronze, #B38A3C);
}

/* ── Booking flow wrapper (summary 아래 고정 순서) ─── */
.td-booking-flow {
  display: block;
}

.td-convert {
  padding: 4px 16px 12px;
}
.td-convert__cta {
  width: 100%;
  justify-content: center;
  min-height: 50px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-transform: none;
}
.td-convert .td-cta-note {
  margin-top: 10px;
  margin-bottom: 0;
}

.td-reviews-preview {
  padding: 14px 16px 6px;
  margin-bottom: 2px;
}
.td-reviews-preview__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold, #B38A3C);
  margin: 0 0 12px;
}
.td-reviews-preview__trust,
.td-reviews-preview__title {
  display: none;
}
.td-reviews-preview__quotes {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.td-reviews-preview__cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 인용문형 대표 후기 (미리보기) */
.td-rv-quote {
  margin: 0;
  padding: 14px 0 14px 14px;
  border-left: 2px solid rgba(179, 138, 60, 0.35);
  border-bottom: 1px solid rgba(44, 35, 26, 0.06);
}
.td-rv-quote:last-child {
  border-bottom: none;
  padding-bottom: 10px;
}
.td-rv-quote__text {
  font-family: "Noto Serif KR", serif;
  font-size: 14px;
  line-height: 1.68;
  color: var(--ink);
  margin: 0 0 10px;
  padding: 0;
  border: none;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.td-rv-quote__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.4;
}
.td-rv-quote__name {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.td-rv-quote__dot {
  color: rgba(44, 35, 26, 0.25);
  font-size: 10px;
}
.td-rv-quote__info {
  color: var(--olive-gray, #6B6560);
}
.td-rv-quote__stars {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--gold, #B38A3C);
  margin: 0 0 6px;
  opacity: 0.9;
}
.td-rv-quote__tour {
  font-size: 11px;
  color: var(--olive-gray, #6B6560);
  margin: 0;
  line-height: 1.45;
}

/* 레거시 카드 클래스 — 스크립트 재실행 전 호환 */
.td-rv-card {
  margin: 0;
  padding: 14px 0 14px 14px;
  background: transparent;
  border: none;
  border-left: 2px solid rgba(179, 138, 60, 0.35);
  border-bottom: 1px solid rgba(44, 35, 26, 0.06);
  border-radius: 0;
  box-shadow: none;
}
.td-rv-card:last-child { border-bottom: none; }
.td-rv-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  order: 2;
}
.td-rv-card__name {
  font-size: 12px;
  font-weight: 600;
}
.td-rv-card__info {
  font-size: 12px;
  white-space: normal;
}
.td-rv-card__stars {
  font-size: 9px;
  letter-spacing: 1.5px;
  margin: 0 0 6px;
  opacity: 0.9;
  order: 3;
}
.td-rv-card__text {
  font-family: "Noto Serif KR", serif;
  font-size: 14px;
  line-height: 1.68;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 10px;
  order: 1;
  -webkit-line-clamp: 3;
}
.td-rv-card__text::before,
.td-rv-card__text::after { content: none; }
.td-rv-card__tour {
  font-size: 11px;
  padding-top: 0;
  border-top: none;
  order: 4;
}
.td-rv-card {
  display: flex;
  flex-direction: column;
}
.td-rv-card__meta { display: none; }

.td-reviews-preview__more,
.td-reviews-preview__link {
  display: block;
  width: auto;
  min-height: 0;
  margin: 8px 0 0;
  padding: 6px 0 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold, #B38A3C);
  text-align: center;
  text-decoration: none;
  text-transform: none;
  letter-spacing: -0.01em;
  background: none;
  border: none;
  border-radius: 0;
}
.td-reviews-preview__link::after {
  content: ' →';
  font-size: 11px;
  opacity: 0.75;
}

.td-ticket-lead {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-m);
  margin: 0 0 12px;
  padding: 10px 12px;
  background: rgba(179, 138, 60, 0.06);
  border-radius: 8px;
  color: var(--bronze, #B38A3C);
}

.td-ticket-box {
  margin: 0 16px 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid rgba(179, 138, 60, 0.22);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(24, 21, 19, 0.04);
}
.td-ticket-box__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold, #B38A3C);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.td-ticket-box__text {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-m);
  margin: 0;
}

  .td-summary {
    margin-bottom: 0;
  }
  .td-reviews-preview {
    padding-top: 12px;
    padding-bottom: 4px;
  }
  .td-convert--final {
  padding: 8px 16px 20px;
}
.td-convert--final .td-convert__cta {
  width: 100%;
  justify-content: center;
  min-height: 50px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: -0.015em;
}

.td-reviews-block--full {
  margin: 0 16px 12px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(44, 35, 26, 0.1);
  overflow: hidden;
}
.td-reviews-block--full summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  font-family: "Noto Serif KR", serif;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
}
.td-reviews-block--full summary::-webkit-details-marker { display: none; }
.td-reviews-block--full summary::after {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--gold, #B38A3C);
  border-bottom: 1.5px solid var(--gold, #B38A3C);
  transform: rotate(45deg);
  margin-top: -4px;
}
.td-reviews-block--full[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

/* ── Summary card ────────────────────────────────── */
.td-summary {
  padding: 0 16px 8px;
  margin-top: 0;
  scroll-margin-top: 64px; /* 홈 카드 "일정·가격 보기" 앵커 클릭 시 sticky 상단 nav에 가리지 않도록 */
}
.td-summary__card {
  background: var(--white);
  border: 1px solid rgba(44, 35, 26, 0.1);
  border-radius: 12px;
  padding: 4px 0;
  box-shadow: 0 4px 20px rgba(24, 21, 19, 0.05);
}
/* 정보 그리드 — 2열 카드형. 라벨은 셀 위에, 값은 아래에 두어 좁은 칸에서 글자가 세로로 쪼개지지 않게 함 */
.td-summary__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.td-summary__cell {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(44, 35, 26, 0.06);
  border-right: 1px solid rgba(44, 35, 26, 0.06);
}
.td-summary__cell:nth-child(2n) {
  border-right: none;
}
.td-summary__cell--price {
  grid-column: 1 / -1;
  border-right: none;
  background: rgba(179, 138, 60, 0.05);
  padding-bottom: 16px;
}
.td-summary__cell-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bronze, #B38A3C);
  margin-bottom: 4px;
}
.td-summary__cell-value {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
}
.td-summary__cell-value small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--olive-gray, #70725F);
  margin-top: 2px;
}
/* 가격 숫자 — 너무 크지 않되 또렷하게 */
.td-price-amount {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 2px 0 10px;
}
.td-price-amount small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--olive-gray, #70725F);
  margin-top: 3px;
}

/* 연계 신청 혜택 박스 — 카카오 노란색과 경쟁하지 않는 차분한 크림/골드 강조 */
.td-price-perk {
  background: var(--warm-white, #FAF7F2);
  border: 1px solid rgba(179, 138, 60, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
}
.td-price-perk__badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bronze-dark, #2C231A);
  background: rgba(179, 138, 60, 0.18);
  border: 1px solid rgba(179, 138, 60, 0.4);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.td-price-perk__desc {
  font-size: 13.5px;
  color: var(--brown-mid, #4A3D32);
  line-height: 1.55;
  margin: 0 0 10px;
}
.td-price-perk__highlight {
  font-size: 15px;
  font-weight: 700;
  color: var(--bronze, #B38A3C);
}
.td-price-perk__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.td-price-perk__tag {
  display: inline-block;
  font-size: 11px;
  color: var(--brown-mid, #4A3D32);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(179, 138, 60, 0.3);
  border-radius: 20px;
  padding: 3px 10px;
}
.td-price-perk__note {
  font-size: 11.5px;
  color: var(--olive-gray, #70725F);
  margin: 0;
}

/* 포함 · 불포함 · 예약/취소 — 3개 안내 박스 */
.td-summary__policy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(44, 35, 26, 0.08);
}
.td-summary__policy-box {
  background: rgba(244, 239, 231, 0.5);
  border: 1px solid rgba(44, 35, 26, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}
.td-summary__policy-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bronze, #B38A3C);
  margin-bottom: 6px;
}
.td-summary__policy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.td-summary__policy-list li {
  font-size: 12.5px;
  color: var(--ink-m, #3D3530);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .td-summary__grid { grid-template-columns: 1fr; }
  .td-summary__cell { border-right: none; }
  .td-summary__policy { grid-template-columns: 1fr; gap: 8px; }
}

/* ── Reviews block (always visible, compact) ─────── */
.td-reviews-block {
  background: var(--white);
  border: 1px solid rgba(44, 35, 26, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
.td-reviews-block .td-acc__inner {
  border-top: none;
  padding-top: 14px;
}
.td-reviews-heading {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}

/* ── Accordions ──────────────────────────────────── */
.td-accordions {
  padding: 8px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.td-acc,
.td-reviews-block {
  background: var(--white);
  border: 1px solid rgba(44, 35, 26, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
.td-acc summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.td-acc summary::-webkit-details-marker { display: none; }
.td-acc summary::after {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--gold, #B38A3C);
  border-bottom: 1.5px solid var(--gold, #B38A3C);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}
.td-acc[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.td-acc summary:focus-visible {
  outline: 2px solid var(--gold, #B38A3C);
  outline-offset: -2px;
}
.td-acc__inner {
  padding: 0 16px 18px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-m);
  border-top: 1px solid rgba(44, 35, 26, 0.06);
}
.td-acc__inner > *:first-child { margin-top: 14px; }
.td-acc__inner p { margin-bottom: 12px; }
.td-acc__inner p:last-child { margin-bottom: 0; }

/* ── Content blocks ──────────────────────────────── */
.td-timeline { display: flex; flex-direction: column; gap: 0; }
.td-tl-item {
  position: relative;
  padding: 0 0 18px 20px;
  border-left: 2px solid rgba(179, 138, 60, 0.25);
  margin-left: 6px;
}
.td-tl-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.td-tl-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold, #B38A3C);
}
.td-tl-step {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold, #B38A3C);
  margin-bottom: 4px;
}
.td-tl-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}
.td-tl-desc {
  font-size: 13px;
  color: var(--ink-m);
  line-height: 1.68;
}
.td-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(179, 138, 60, 0.08);
  color: var(--bronze, #B38A3C);
  border: 1px solid rgba(179, 138, 60, 0.18);
}

.td-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.td-list-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold, #B38A3C);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.td-check-list,
.td-bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.td-check-list li,
.td-bullet-list li {
  font-size: 13px;
  padding: 6px 0 6px 16px;
  position: relative;
  line-height: 1.55;
  color: var(--ink-m);
}
.td-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold, #B38A3C);
  font-size: 11px;
  font-weight: 700;
}
.td-bullet-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--gold, #B38A3C);
  font-weight: 700;
}
.td-bullet-list li.is-key {
  font-weight: 600;
  color: var(--ink);
}

.td-rec-card {
  padding: 14px 0;
  border-bottom: 1px solid rgba(44, 35, 26, 0.06);
}
.td-rec-card:last-child { border-bottom: none; padding-bottom: 0; }
.td-rec-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  font-family: "Pretendard", sans-serif;
}
.td-rec-card p { font-size: 13px; margin: 0; }

.td-rv {
  padding: 16px 0 16px 14px;
  border-bottom: 1px solid rgba(44, 35, 26, 0.06);
  border-left: 2px solid rgba(179, 138, 60, 0.2);
  margin-left: 0;
}
.td-rv:last-child { border-bottom: none; }
.td-rv__head { display: none; }
.td-rv__byline {
  font-size: 12px;
  color: var(--olive-gray, #6B6560);
  margin: 0 0 4px;
}
.td-rv__byline .td-rv__name {
  font-weight: 600;
  color: var(--ink);
}
.td-rv__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}
.td-rv__info {
  font-size: 12px;
  color: var(--olive-gray, #6B6560);
  margin: 0;
}
.td-rv__stars { color: var(--gold); font-size: 9px; margin: 0 0 6px; letter-spacing: 1.5px; opacity: 0.9; }
.td-rv__text {
  font-family: "Noto Serif KR", serif;
  font-size: 14px;
  line-height: 1.68;
  margin: 0 0 10px;
  padding: 0;
  border: none;
  color: var(--ink);
  font-weight: 500;
}
.td-rv__tour {
  font-size: 11px;
  color: var(--olive-gray, #6B6560);
  margin: 0;
}
.td-rv__meta { display: none; }

.td-reviews-more { margin-top: 10px; }
.td-reviews-more .btn {
  width: 100%;
  justify-content: center;
  min-height: 42px;
  text-transform: none;
  border-radius: 8px;
  font-size: 13px;
}

.td-cancel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.td-cancel-item {
  background: var(--cream, #F4EFE7);
  border-radius: 8px;
  padding: 12px;
  border: 1px solid rgba(44, 35, 26, 0.08);
}
.td-cancel-item--alert {
  background: rgba(123, 45, 62, 0.04);
  border-color: rgba(123, 45, 62, 0.12);
}
.td-cancel-when {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}
.td-cancel-desc {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.td-cancel-note { font-size: 11px; color: var(--olive-gray); line-height: 1.5; }

.td-faq-item { padding: 12px 0; border-bottom: 1px solid rgba(44, 35, 26, 0.06); }
.td-faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.td-faq-q { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.td-faq-a { font-size: 13px; color: var(--ink-m); line-height: 1.65; margin: 0; }

.td-note {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(179, 138, 60, 0.06);
  border-radius: 8px;
  font-size: 12px;
  color: var(--bronze);
  line-height: 1.6;
}

.td-inline-cta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(44, 35, 26, 0.08);
}
.td-inline-cta .btn {
  width: 100%;
  justify-content: center;
  min-height: 46px;
  text-transform: none;
  border-radius: 8px;
}

/* ── Footer ──────────────────────────────────────── */
.td-footer {
  padding: 28px 16px 100px;
  text-align: center;
  background: var(--charcoal, #181513);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  line-height: 1.7;
}
.td-footer a { color: rgba(255, 255, 255, 0.45); text-decoration: none; }
.td-footer__back {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  color: var(--gold-lt, #C4A066);
}

/* ── Sticky CTA ──────────────────────────────────── */
.td-sticky {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(24, 21, 19, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(179, 138, 60, 0.2);
}
.td-sticky .btn {
  flex: 1;
  justify-content: center;
  min-height: 50px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: -0.015em;
}

/* ── Mobile booking optimization (390px first) ───── */
@media (max-width: 767px) {
  .td-page .td-hero {
    display: flex;
    flex-direction: column;
  }
  .td-page .td-hero__body {
    order: 2;
    padding: 14px 16px 12px;
  }
  .td-page .td-hero__media {
    order: 1;
    aspect-ratio: 16 / 8;
    max-height: 160px;
  }
  /* Hero: 요약 카드 CTA와 중복 — 모바일에서는 하단 고정 CTA 우선 */
  .td-page .td-hero__cta-row .btn--kakao {
    display: none;
  }
  .td-page .td-hero__cta-row .btn--outline {
    display: none;
  }
  /* Summary: sticky CTA와 동일 문구 중복 — 모바일에서는 하단 고정 CTA만 */
  .td-summary__cta {
    display: none;
  }
  /* 미니 예약폼(#tour-mini-booking-form)이 이 섹션에 주입됨 — 숨기면 모바일 예약 불가 */
  .td-page .td-convert--final,
  .td-page #tour-booking {
    display: block;
    padding: 16px 16px 24px;
    scroll-margin-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .td-convert--final .td-convert__cta {
    display: none;
  }
  .td-booking-flow,
  .td-reviews-preview,
  .td-ticket-box {
    display: block;
  }
  .td-accordions > .td-reviews-block:not(.td-reviews-block--full) {
    display: none;
  }
}

@media (max-width: 390px) {
  .td-rv-card__head,
  .td-rv__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .td-rv-card__info,
  .td-rv__info {
    white-space: normal;
  }
  .td-page .td-hero__media {
    max-height: 128px;
  }
  .td-page .td-hero__badge {
    margin-bottom: 6px;
  }
  .td-page .td-hero__title {
    font-size: 1.34rem;
    line-height: 1.28;
  }
  .td-page .td-hero__cta {
    min-height: 46px;
    font-size: 14px;
  }
  .td-page .td-hero__cta-row .btn--outline {
    min-height: 42px;
    font-size: 13px;
  }
  .td-page .td-summary__item {
    padding: 10px 12px;
  }
  .td-page .td-summary__label {
    min-width: 62px;
  }
  .td-page .td-summary__value {
    font-size: 12px;
  }
  .td-page .td-acc summary {
    padding: 14px;
    font-size: 14px;
  }
  .td-two-col { grid-template-columns: 1fr; }
  .td-cancel-grid { grid-template-columns: 1fr; }
}

/* ── Desktop ─────────────────────────────────────── */
@media (min-width: 768px) {
  .td-page {
    padding-bottom: 0;
  }
  /* 예약 흐름: 모바일과 동일하게 요약 카드 아래 노출 */
  .td-booking-flow,
  .td-reviews-preview,
  .td-ticket-box,
  .td-convert--final {
    display: block;
  }
  .td-hero__media {
    max-height: 360px;
    aspect-ratio: 21 / 9;
  }
  .td-hero__body,
  .td-summary,
  .td-booking-flow,
  .td-reviews-preview,
  .td-ticket-box,
  .td-accordions,
  .td-convert--final,
  .td-reviews-block--full {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .td-booking-flow .td-reviews-preview {
    padding-left: 0;
    padding-right: 0;
  }
  .td-booking-flow .td-ticket-box {
    margin-left: 0;
    margin-right: 0;
  }
  .td-hero__cta-row {
    flex-direction: row;
  }
  .td-hero__cta-row .btn {
    width: auto;
    flex: 1;
  }
  .td-acc summary {
    padding: 18px 20px;
    font-size: 16px;
  }
  .td-acc__inner {
    padding: 0 20px 22px;
  }
  .td-sticky {
    display: none;
  }
  .td-footer {
    padding-bottom: 40px;
  }
  /* 하단 후기: 접힌 보조 섹션만 (기본 펼침 금지) */
  .td-reviews-block--full {
    display: block;
    margin-bottom: 20px;
  }
  .td-reviews-block--full summary {
    display: flex;
    padding: 16px 20px;
    font-size: 14px;
    color: var(--olive-gray, #6B6560);
    font-weight: 500;
    font-family: "Pretendard", sans-serif;
  }
  .td-reviews-block--full .td-acc__inner {
    padding: 0 20px 18px;
  }
  [data-rv-extra][hidden] {
    display: none !important;
  }
}

/* ── Pompidou / paused tour detail ── */
.td-status-notice {
  margin: 0 16px 0;
  padding: 14px 16px;
  background: rgba(253, 251, 248, 0.96);
  border: 1px solid rgba(139, 105, 20, 0.22);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(61, 43, 31, 0.06);
}
.td-status-notice__title {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold, #B38A3C);
}
.td-status-notice__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-m, #4A3D32);
}
.td-convert--paused .td-convert__paused-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--olive-gray, #70725F);
}
.td-inline-figure {
  margin: 18px 0 0;
}
.td-inline-figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.td-inline-figure figcaption {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--olive-gray, #70725F);
}
.td-alt-tours {
  margin: 28px 16px 36px;
  padding-top: 8px;
}
.td-alt-tours__head {
  margin-bottom: 16px;
}
.td-alt-tours__title {
  margin: 6px 0 8px;
  font-family: "Noto Serif KR", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink, #2A2218);
}
.td-alt-tours__lead {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-m, #4A3D32);
}
.td-alt-tours__grid {
  margin-top: 14px;
}
.td-alt-tours .cur-card {
  opacity: 1;
  transform: none;
}
@media (min-width: 768px) {
  .td-status-notice {
    max-width: 920px;
    margin: 0 auto 4px;
  }
  .td-alt-tours {
    max-width: 1044px;
    margin-left: auto;
    margin-right: auto;
  }
}
