:root {
  --brand: #15b8a6;
  --brand-strong: #0f766e;
  --accent: #ff6b4a;
  --sun: #f7b731;
  --ink: #16212a;
  --muted: #667582;
  --line: #e6edf1;
  --soft: #f6f9fa;
  --panel: #fff;
  --radius: 8px;
  --shadow: 0 12px 34px rgba(18, 32, 43, .10);
  --pc-container: 960px;
  --pc-gutter: 48px;
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans SC", "Noto Sans KR", Arial, sans-serif;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  width: min(var(--pc-container), calc(100vw - var(--pc-gutter)));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
}

.brand-text {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #15b8a6;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #263640;
  font-size: 15px;
  font-weight: 700;
}

.nav a,
.header-actions a {
  white-space: nowrap;
}

.nav-group {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
}

.nav-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .58;
}

.nav-group:hover .nav-trigger,
.nav-group:focus-within .nav-trigger {
  background: #eefbf9;
  color: var(--brand-strong);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 80;
  min-width: 158px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 11px;
  border-radius: 6px;
  color: #263640;
  font-size: 14px;
  font-weight: 700;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: #eefbf9;
  color: var(--brand-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search,
.hero-search,
.inline-search {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.search {
  height: 40px;
}

.search input,
.hero-search input,
.inline-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 14px;
  outline: none;
}

.search button,
.hero-search button,
.inline-search button {
  border: 0;
  padding: 0 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.header-help {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brand-strong);
  font-weight: 800;
}

.header-action {
  padding: 9px 10px;
  color: #263640;
  font-weight: 800;
}

.member-link {
  color: var(--brand-strong);
}

.header-logout {
  margin: 0;
}

.header-logout button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

main {
  width: min(var(--pc-container), calc(100vw - var(--pc-gutter)));
  margin: 0 auto;
}

.home-main {
  padding-bottom: 30px;
}

.home-hero {
  position: relative;
  min-height: 520px;
  margin: 24px 0 20px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce8ec;
  box-shadow: var(--shadow);
}

.home-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 25, 34, .72), rgba(12, 25, 34, .30) 48%, rgba(12, 25, 34, .06));
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 74px 58px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0 0 14px;
  font-size: 52px;
  line-height: 1.08;
}

.home-hero p {
  max-width: 520px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  line-height: 1.6;
}

.hero-search {
  width: min(520px, 100%);
  height: 54px;
  border: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.hero-search input {
  font-size: 16px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-links a {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 800;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  padding: 10px 0 18px;
}

.quick-item {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 98px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-item:hover,
.product-card:hover,
.list-card:hover,
.promo-card:hover {
  transform: translateY(-2px);
  border-color: #b8e8e1;
  box-shadow: var(--shadow);
}

.quick-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #eefbf9;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
}

.travel-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 4px 0 20px;
}

.travel-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.travel-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.travel-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 4px 0 20px;
}

.promo-card {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.promo-card img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  display: block;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .04));
}

.promo-card strong {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.content-section {
  padding: 28px 0 8px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head > a {
  color: var(--brand-strong);
  font-weight: 900;
}

.card-grid,
.list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card,
.list-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card img,
.list-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  background: var(--soft);
}

.product-body,
.list-card-body {
  display: grid;
  align-content: start;
  min-height: 176px;
  padding: 13px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff0ec;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.product-card h3,
.list-card h2 {
  margin: 0 0 8px;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card p,
.list-card p {
  margin: 0 0 12px;
  min-height: 40px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card strong,
.list-card-bottom strong {
  margin-top: auto;
  color: var(--accent);
  font-size: 18px;
}

.list-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.arrow {
  color: var(--brand-strong);
  font-weight: 900;
}

.sns {
  padding: 34px 0 44px;
}

.sns h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.sns-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sns-links a,
.footer a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
}

.sns-links a {
  background: #fff;
}

.footer {
  background: #15212a;
  color: #fff;
}

.footer-inner {
  width: min(var(--pc-container), calc(100vw - var(--pc-gutter)));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0;
}

.footer strong {
  font-size: 20px;
}

.footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer a {
  border-color: rgba(255, 255, 255, .18);
}

.page-title {
  padding: 30px 0 18px;
}

.page-title.compact {
  padding-bottom: 0;
}

.page-title div {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.page-title h1 {
  margin: 12px 0 8px;
  font-size: 38px;
  line-height: 1.18;
}

.page-title p {
  margin: 0;
  color: var(--muted);
}

.list-hero {
  padding: 34px 0 20px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.category-tabs a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.category-tabs a.active {
  border-color: var(--brand);
  background: #eefbf9;
  color: var(--brand-strong);
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.result-count {
  color: var(--muted);
  font-weight: 800;
}

.inline-search {
  width: 360px;
  height: 42px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 10px 0 38px;
}

.pagination a,
.pagination span,
.empty-state a,
.primary-action,
.secondary-action {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
}

.pagination a,
.primary-action {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 900;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 70px 0;
  color: var(--muted);
}

.detail-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
  padding: 10px 0 46px;
}

.product-media-panel {
  margin-bottom: 16px;
}

.product-hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--soft);
}

.detail-main-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.35;
  height: auto;
  object-fit: cover;
  background: var(--soft);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 33, 42, .62);
  transform: translateY(-50%) rotate(45deg);
}

.gallery-nav::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: solid #fff;
  border-width: 0 0 3px 3px;
}

.gallery-nav-prev {
  left: 32px;
}

.gallery-nav-next {
  right: 32px;
  transform: translateY(-50%) rotate(-135deg);
}

.product-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  overflow: hidden;
}

.product-thumbs img {
  width: 88px;
  height: 56px;
  border: 2px solid #fff;
  border-radius: 3px;
  object-fit: cover;
  background: var(--soft);
  box-shadow: 0 1px 4px rgba(18, 32, 43, .12);
}

.price-calendar-panel {
  margin-bottom: 18px;
  background: #fff;
}

.calendar-months {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  background: #fff;
}

.calendar-months button {
  min-height: 54px;
  border: 0;
  border-left: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.calendar-months button:first-child {
  border-left: 0;
}

.calendar-months button.active {
  background: #53616b;
  color: #fff;
}

.calendar-months strong,
.calendar-months span {
  display: block;
}

.calendar-months strong {
  font-size: 16px;
}

.calendar-months span {
  margin-top: 3px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.calendar-months button.active span {
  color: #fff;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays {
  min-height: 34px;
  align-items: center;
  background: #53616b;
  color: #dfe7eb;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.calendar-day {
  position: relative;
  min-height: 82px;
  border-right: 1px solid #d8dee3;
  border-bottom: 1px solid #d8dee3;
  border-top: 0;
  border-left: 0;
  padding: 7px 8px;
  background: #fafbfc;
  color: #a4adb5;
  text-align: left;
  appearance: none;
}

.calendar-day:nth-child(7n + 1) {
  border-left: 1px solid #d8dee3;
}

.calendar-date {
  display: block;
  color: #2d3a40;
  font-size: 14px;
  font-weight: 800;
}

.calendar-day strong,
.calendar-day em {
  display: block;
  margin-top: 5px;
  text-align: center;
  font-style: normal;
  font-weight: 900;
}

.calendar-day strong {
  color: #ff5b2e;
  font-size: 13px;
}

.calendar-day em {
  color: #18a957;
  font-size: 12px;
}

.calendar-day.blank {
  background: #fff;
}

.calendar-day.enabled {
  cursor: pointer;
}

.calendar-day.enabled:hover,
.calendar-day.enabled:focus {
  background: #fff7f2;
  outline: 2px solid rgba(255, 107, 74, .32);
  outline-offset: -2px;
}

.calendar-day.selected {
  outline: 2px solid #ff6b1f;
  outline-offset: -2px;
  background: #fffaf6;
}

.calendar-day:disabled {
  cursor: default;
}

.booking-panel {
  position: sticky;
  top: 90px;
  border: 1px solid #dfe6eb;
  border-radius: 6px;
  padding: 18px 18px 16px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(18, 32, 43, .08);
}

.booking-product-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.booking-product-head h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.42;
}

.booking-product-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.product-code {
  display: inline-flex;
  margin: 18px 0;
  border-radius: 6px;
  padding: 10px 13px;
  background: #f7f9fa;
  color: var(--muted);
  font-weight: 900;
}

.booking-price-box {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  border-radius: 14px;
  padding: 22px 18px;
  background: linear-gradient(135deg, #fff6f5 0%, #fff 100%);
}

.booking-price-box div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: baseline;
}

.booking-price-box span {
  color: var(--muted);
  font-weight: 900;
}

.booking-price-box del {
  color: #ff405b;
  font-size: 22px;
  font-weight: 900;
}

.booking-price-box strong {
  color: #ff405b;
  font-size: 30px;
  line-height: 1;
}

.booking-price-box em {
  margin-left: 4px;
  border-radius: 999px;
  padding: 2px 6px;
  background: #fff0f2;
  color: #ff405b;
  font-size: 12px;
  font-style: normal;
}

.booking-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.booking-stats span {
  border: 1px solid #d9e4ec;
  border-radius: 6px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.booking-stats strong {
  color: #1f6fff;
}

.booking-form-block {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.booking-form-block label {
  color: var(--muted);
  font-weight: 900;
}

.booking-form-block small {
  color: var(--muted);
  font-weight: 800;
}

.date-select {
  width: 100%;
  height: 42px;
  border: 1px solid #cdd5db;
  border-radius: 8px;
  background: #f8fafb;
  color: #2d3a40;
  font-size: 18px;
  font-weight: 800;
}

.package-choice {
  width: fit-content;
  max-width: 100%;
  border-radius: 6px;
  padding: 12px 14px;
  background: #ff405b;
  color: #fff;
  line-height: 1.5;
}

.quantity-row {
  display: grid;
  grid-template-columns: 38px 1fr 38px auto;
  gap: 10px;
  align-items: center;
  border-radius: 10px;
  padding: 11px;
  background: #f7f9fa;
}

.quantity-row button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  font-weight: 900;
}

.quantity-row strong {
  text-align: center;
  font-size: 18px;
}

.quantity-row span {
  color: #ff405b;
  font-weight: 900;
}

.booking-plain-info {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.booking-plain-info span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 900;
}

.booking-plain-info strong {
  font-weight: 800;
}

.detail-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.detail-info-strip div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}

.detail-info-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.detail-info-strip strong {
  overflow-wrap: anywhere;
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.option-panel {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.option-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fcfc;
}

.option-panel-head h2 {
  margin: 0;
  font-size: 21px;
}

.option-panel-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.option-panel-head span,
.option-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.option-list {
  display: grid;
  gap: 0;
}

.option-item {
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(0, 1.25fr);
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.option-item:first-child {
  border-top: 0;
}

.option-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.option-title-row h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.option-title-row > span {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eefbf9;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 900;
}

.option-item p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.55;
}

.option-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}

.option-price-grid div {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.option-price-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.option-price-grid strong {
  color: var(--accent);
  font-size: 18px;
}

.option-compact-row {
  min-width: 0;
}

.option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
}

.meta-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.meta-list dt {
  color: var(--muted);
}

.meta-list dd {
  margin: 0;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.detail-actions .primary-action,
.detail-actions .secondary-action {
  text-align: center;
}

.secondary-action {
  color: var(--brand-strong);
  font-weight: 900;
}

.handoff-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.content-block {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.content-block h2,
.related-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.rich-text {
  color: #2d3a40;
  line-height: 1.8;
  overflow: hidden;
}

.rich-text img {
  max-width: 100%;
  height: auto !important;
}

.rich-text table {
  max-width: 100%;
  border-collapse: collapse;
}

.rich-text td,
.rich-text th {
  border: 1px solid var(--line);
  padding: 8px;
}

.related-panel {
  padding: 16px;
  position: sticky;
  top: 90px;
}

.booking-related {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.booking-related h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.booking-related .related-item {
  grid-template-columns: 74px 1fr;
}

.booking-related .related-item img {
  width: 74px;
  height: 50px;
}

.detail-related-mobile {
  display: none;
}

.line-detail-main {
  padding-bottom: 44px;
}

.line-crumb {
  padding-top: 18px;
}

.line-crumb strong {
  display: inline-block;
  max-width: 520px;
  overflow: hidden;
  color: #7b8790;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.line-summary-stage {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 18px;
}

.line-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.line-gallery-main img {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 4;
  height: auto;
  object-fit: cover;
}

.line-gallery-main span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(22, 33, 42, .72);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.line-gallery-thumbs {
  display: flex;
  gap: 9px;
  margin-top: 10px;
  overflow: hidden;
}

.line-gallery-thumbs img {
  width: 96px;
  height: 58px;
  border: 2px solid #fff;
  border-radius: 4px;
  object-fit: cover;
  background: var(--soft);
  box-shadow: 0 1px 4px rgba(18, 32, 43, .12);
}

.line-summary-panel,
.line-booking-workbench,
.line-related-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.line-summary-panel {
  padding: 18px;
}

.line-title-block {
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.line-title-block h1 {
  margin: 0;
  color: #1e2a32;
  font-size: 24px;
  line-height: 1.42;
}

.line-title-block p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.line-price-band {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 15px 16px;
  border-radius: var(--radius);
  background: #fff7f3;
}

.line-price-band div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: baseline;
}

.line-price-band span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.line-price-band del {
  color: #7e8b94;
  font-size: 15px;
  font-weight: 900;
}

.line-price-band strong {
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

.line-price-band em {
  display: inline-block;
  margin-left: 6px;
  border-radius: 999px;
  padding: 2px 7px;
  background: #ffe8df;
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.line-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.line-stat-row span {
  border: 1px solid #dbe7ec;
  border-radius: 6px;
  padding: 7px 6px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.line-stat-row strong {
  color: var(--brand-strong);
}

.line-basic-meta {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0 0 14px;
  border-bottom: 1px dashed var(--line);
}

.line-basic-meta div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
}

.line-basic-meta dt {
  color: var(--muted);
  font-weight: 900;
}

.line-basic-meta dd {
  margin: 0;
  color: #24333c;
  font-weight: 800;
}

.line-summary-package {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.line-selected-state {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  border-radius: var(--radius);
  padding: 11px 12px;
  background: #f7fafb;
}

.line-selected-state span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.line-selected-state strong {
  color: #24333c;
  font-size: 16px;
}

.line-selected-state em {
  color: #18a957;
  font-style: normal;
  font-weight: 900;
}

.line-summary-package span,
.line-summary-action p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.line-summary-package strong {
  width: fit-content;
  max-width: 100%;
  border: 2px solid var(--brand);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--brand-strong);
  line-height: 1.45;
}

.line-summary-package em {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eefbf9;
  color: var(--brand-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.line-summary-action {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.line-summary-action p {
  margin: 0;
}

.line-booking-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
  padding: 18px;
}

.line-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.line-section-head h2 {
  margin: 0;
  color: #1e2a32;
  font-size: 21px;
}

.line-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.line-month-tabs {
  border: 1px solid var(--line);
  border-bottom: 0;
}

.line-option-box {
  min-width: 0;
}

.line-option-stack {
  display: grid;
  gap: 10px;
}

.line-option-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
  cursor: pointer;
}

.line-option-card[hidden] {
  display: none;
}

.line-option-card.active {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.line-option-card:hover,
.line-option-card:focus {
  border-color: var(--brand);
  outline: 0;
}

.line-option-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.line-option-title h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.line-option-title span {
  flex: none;
  border-radius: 999px;
  padding: 3px 7px;
  background: #eefbf9;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 900;
}

.line-option-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.line-option-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.line-option-prices div {
  border-radius: 6px;
  padding: 8px;
  background: #f7fafb;
}

.line-option-prices span,
.line-option-extra span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.line-option-prices strong {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 17px;
}

.line-option-date-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: baseline;
  margin-top: 10px;
  border-radius: 6px;
  padding: 9px 10px;
  background: #fff7f5;
}

.line-option-date-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.line-option-date-price strong {
  color: var(--accent);
  font-size: 18px;
  line-height: 1.1;
}

.line-option-date-price em {
  grid-column: 1 / -1;
  color: #16a34a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.line-option-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.line-option-extra span {
  border-radius: 999px;
  padding: 4px 7px;
  background: #f0f4f6;
}

.line-option-empty {
  margin: 10px 0 0;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--muted);
  background: #f7fafb;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.line-content-nav {
  position: sticky;
  top: 73px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 18px rgba(18, 32, 43, .08);
  overflow: hidden;
}

.line-content-nav a {
  min-height: 46px;
  padding: 14px 16px;
  color: #42515b;
  font-size: 14px;
  font-weight: 900;
}

.line-content-nav a:hover {
  background: #eefbf9;
  color: var(--brand-strong);
}

.line-content-nav a:last-child {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
}

.line-content-block {
  scroll-margin-top: 134px;
}

.line-content-block h2 {
  position: relative;
  padding-left: 14px;
}

.line-content-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 999px;
  background: var(--brand);
}

.line-related-panel {
  padding: 16px;
}

.line-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.line-related-grid .related-item {
  border-top: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

.related-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.related-item img {
  width: 92px;
  height: 62px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--soft);
}

.related-item span {
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.article-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding: 34px 0 46px;
}

.article-shell {
  min-width: 0;
}

.article-crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.article-head {
  padding-bottom: 18px;
}

.article-head h1 {
  margin: 8px 0 14px;
  max-width: 860px;
  font-size: 42px;
  line-height: 1.18;
}

.article-head p {
  margin: 0 0 14px;
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}

.article-cover {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.article-body {
  max-width: 860px;
  margin: 28px auto 0;
  font-size: 17px;
}

.article-body p,
.article-body div {
  line-height: 1.9;
}

.article-body img {
  display: block;
  margin: 18px auto;
  border-radius: 6px;
}

.article-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 860px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.article-related {
  margin-top: 70px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 8px 0 46px;
}

.board-card {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.board-card:hover {
  transform: translateY(-2px);
  border-color: #b8e8e1;
  box-shadow: var(--shadow);
}

.board-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.board-card p,
.muted-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.board-card span {
  color: var(--brand-strong);
  font-weight: 900;
}

.board-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.board-table {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.board-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 154px 70px;
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 0 12px;
  border-top: 1px solid var(--line);
}

.board-row:first-child {
  border-top: 0;
}

.board-row:not(.board-row-head):hover {
  background: #f8fcfc;
}

.board-row-head {
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.board-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.board-title em {
  display: inline-flex;
  margin-right: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eefbf9;
  color: var(--brand-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.board-detail-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding: 34px 0 46px;
}

.board-post-shell {
  min-width: 0;
}

.board-post-content {
  min-height: 220px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #2d3a40;
  font-size: 17px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.board-comments {
  margin-top: 28px;
}

.board-comments h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.board-comment {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.board-comment div {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.board-comment p {
  margin: 8px 0 0;
  line-height: 1.7;
  white-space: pre-wrap;
}

.related-text {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.related-text span {
  line-height: 1.45;
}

.related-text small {
  color: var(--muted);
}

.auth-page,
.member-page {
  padding: 42px 0 56px;
}

.auth-panel {
  width: min(440px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
}

.auth-panel h1,
.member-summary h1 {
  margin: 0 0 8px;
  font-size: 30px;
}

.auth-panel p {
  margin: 0 0 22px;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.auth-form input {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(21, 184, 166, .14);
}

.auth-form button {
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.form-error {
  margin-bottom: 14px;
  border: 1px solid #ffd6cc;
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff7f5;
  color: #b43b22;
  font-weight: 800;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--brand-strong);
  font-weight: 800;
}

.member-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.member-summary img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
}

.member-summary p {
  margin: 0;
  color: var(--muted);
}

.member-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px 0;
}

.member-info-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.member-info-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.member-info-grid strong {
  overflow-wrap: anywhere;
}

.member-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 980px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .nav,
  .footer-inner,
  .header-actions {
    flex-wrap: wrap;
  }

  .quick-grid,
  .card-grid,
  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .travel-strip,
  .promo-row,
  .detail-main-layout,
  .line-summary-stage,
  .line-booking-workbench,
  .line-related-grid,
  .detail-info-strip,
  .article-page,
  .board-grid,
  .board-detail-page,
  .member-info-grid {
    grid-template-columns: 1fr;
  }

  .booking-product-head h1 {
    font-size: 24px;
  }

  .gallery-nav-prev {
    left: 16px;
  }

  .gallery-nav-next {
    right: 16px;
  }

  .calendar-months {
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar-day {
    min-height: 68px;
    padding: 5px;
  }

  .calendar-day strong,
  .calendar-day em {
    font-size: 11px;
  }

  .booking-panel {
    position: static;
  }

  .booking-related {
    display: none;
  }

  .line-crumb strong {
    max-width: 260px;
  }

  .line-summary-panel {
    padding: 15px;
  }

  .line-title-block h1 {
    font-size: 22px;
  }

  .line-stat-row,
  .line-option-prices {
    grid-template-columns: 1fr;
  }

  .line-booking-workbench {
    padding: 14px;
  }

  .line-section-head,
  .line-content-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .line-content-nav {
    position: static;
  }

  .line-content-nav a {
    width: 100%;
  }

  .line-content-nav a:last-child {
    margin-left: 0;
  }

  .detail-related-mobile {
    display: block;
    margin-bottom: 36px;
  }

  .board-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
  }

  .option-price-grid {
    grid-template-columns: 1fr;
  }

  .option-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .board-row-head {
    display: none;
  }

  .home-hero-copy {
    padding: 54px 28px;
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .related-panel {
    position: static;
  }

  .article-head h1 {
    font-size: 32px;
  }

  .article-related {
    margin-top: 0;
  }
}
