.pack-page {
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(40px, 7vw, 84px) clamp(18px, 5vw, 56px);
  color: #263630;
  text-align: left;
}
.pack-header h1 { margin: 0 0 10px; }
.pack-header p, .pack-checkout p { margin: 0; }
.pack-navigation { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-block: 24px 32px; }
html body .pack-page a { font-size: .875rem !important; }
.pack-navigation a { border-bottom: 1px solid #a3b3ab; padding: 8px 0; text-decoration: none; }
.pack-studios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }
.pack-studio { scroll-margin-top: 30px; }
.pack-studio h2, .pack-extra h2 { margin: 0 0 18px; }
.pack-group { margin-bottom: 24px; }
.pack-group h3 {
  margin: 0;
  padding: 10px 12px;
  border-top: 1px solid #b6c1ba;
  background: #e9ede7;
}
.pack-page .pass {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 3px 12px;
  padding: 10px 0;
  border-bottom: 1px solid #d9ddd6;
}
html body .pack-page .pass h4 { margin: 0; font-size: .875rem !important; }
.pack-page .pass p { margin: 0; white-space: nowrap; }
.pack-page .pass strong { font-variant-numeric: tabular-nums; font-size: .9375rem; white-space: nowrap; }
.pack-page .pass-note { grid-column: 1 / -1; font-size: .75rem; color: #52615b; }
.pack-extra, .pack-checkout { border-top: 1px solid #b6c1ba; margin-top: 24px; padding-top: 24px; }
.pack-extra div, .pack-checkout { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.pack-checkout p { flex-basis: 100%; }
.pack-buy { padding: 10px 18px; background: #304b40; color: #fff; border-radius: 999px; text-decoration: none; }
@media (max-width: 760px) { .pack-studios { grid-template-columns: minmax(0, 1fr); } }

.pack-header {
  padding: clamp(24px, 5vw, 54px) 0;
  border-bottom: 1px solid #d4d9d2;
}
html body .pack-header h1 {
  font-size: clamp(2.125rem, 5vw, 3.5rem) !important;
  font-weight: 550;
}
.pack-header p { color: #56645d; }
.pack-navigation { margin-block: 18px 44px; }
.pack-navigation a { color: #405b52; }
.pack-studio {
  padding: clamp(17px, 3vw, 28px);
  border: 1px solid #dbdfd8;
  border-radius: 14px;
  background: #fcfbf8;
}
.pack-studio h2 { letter-spacing: -.035em !important; }
.pack-group h3 {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #aab9b0;
  background: transparent;
  color: #486058;
}
.pack-page .pass { padding-block: 13px; }
.pack-page .pass h4 { font-weight: 500; }
.pack-page .pass p { color: #56645d; }
.pack-page .pass strong { font-weight: 650; color: #283a33; }
.pack-extra, .pack-checkout { margin-top: 36px; }
@media (max-width: 420px) {
  .pack-page .pass { column-gap: 8px; }
  .pack-studio h2 { overflow-wrap: anywhere; }
}

/* Editorial typography and fine rules keep the catalog easy to scan. */
.pack-page { max-width: 1160px; color: #262522; }
.pack-header { text-align: center; padding-block: clamp(42px, 8vw, 94px); border-color: #d4cdc1; }
html body .pack-header h1 {
  font-family: Georgia, "Noto Serif KR", Batang, serif !important;
  font-size: clamp(2.5rem, 7vw, 5.25rem) !important;
  font-weight: 400;
  letter-spacing: -.045em !important;
}
.pack-navigation { justify-content: center; gap: 12px 36px; margin-block: 18px 54px; }
.pack-navigation a { color: #3d3933; border-color: #a99b86; letter-spacing: .06em !important; }
.pack-studios { gap: clamp(32px, 7vw, 92px); }
.pack-studio { padding: 0; border: 0; border-radius: 0; background: transparent; }
html body .pack-studio h2 {
  font-family: Georgia, serif !important;
  font-size: clamp(1.5rem, 3vw, 2.35rem) !important;
  font-weight: 400;
  margin-bottom: 30px;
}
.pack-studio + .pack-studio { border-inline-start: 1px solid #d4cdc1; padding-inline-start: clamp(20px, 4vw, 46px); }
.pack-group h3 { border-color: #b8aa96; color: #575044; }
.pack-page .pass { border-color: #e2dcd3; }
.pack-page .pass strong { color: #262522; }
.pack-page .pass-note, .pack-page .pass p, .pack-header p { color: #5c564d; }
.pack-extra, .pack-checkout { border-color: #d4cdc1; }
.pack-buy { background: #262522; border-radius: 2px; }
@media (max-width: 760px) {
  .pack-studio + .pack-studio {
    border-inline-start: 0;
    border-top: 1px solid #d4cdc1;
    padding: 32px 0 0;
  }
}

.pack-studios { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
.pack-studio + .pack-studio { border-inline-start: 0; border-top: 1px solid #d4cdc1; padding: 32px 0 0; }
.pack-studio h2 { margin-bottom: 12px; }
.pack-description { margin: 0 0 24px; color: #5c564d; }
.pack-studio-buy { display: flex; justify-content: flex-end; }

/* Match the class introduction typography. */
.pack-page { color: #283735; letter-spacing: -.015em; line-height: 1.65; }
html body .pack-page :is(.pack-header h1, .pack-studio h2) {
  font-family: var(--club-font) !important;
  font-weight: 700;
  line-height: 1.25 !important;
  letter-spacing: -.035em !important;
}
html body .pack-header h1 { font-size: clamp(1.75rem, 5vw, 2.75rem) !important; }
html body .pack-page :is(.pack-description, .pack-header p, .pass p, .pass h4) {
  line-height: 1.65 !important;
  letter-spacing: -.015em !important;
}
.pack-inline { max-width: 870px; padding-block: 28px 36px; }

/* Keep studio sections compact without inheriting the homepage section spacing. */
.pack-page { max-width: 870px; padding-block: 28px 36px; line-height: 1.45; }
.pack-page .pack-header { padding-block: 0 16px; text-align: left; }
.pack-page .pack-navigation { justify-content: flex-start; gap: 8px 22px; margin-block: 8px 22px; }
.pack-page .pack-studios { gap: 24px; }
.pack-page section.pack-studio,
.pack-page section.pack-group,
.pack-page section.pack-extra { padding: 0; text-align: left; }
.pack-page section.pack-studio + section.pack-studio,
.pack-page section.pack-extra { padding-top: 20px; }
.pack-page .pack-studio h2 { margin: 0 0 6px; }
.pack-page .pack-description { margin: 0 0 14px; }
.pack-page .pack-group { margin: 0 0 14px; }
.pack-page .pack-group h3 { padding-block: 7px; border-color: #b7c0b8; }
.pack-page .pass { padding-block: 8px; }
.pack-page .pack-studio-buy { justify-content: flex-start; }
.pack-page .pack-extra, .pack-page .pack-checkout { margin-top: 20px; }
html body .pack-page :is(.pack-description, .pack-header p, .pass p, .pass h4) {
  line-height: 1.45 !important;
  letter-spacing: -.01em !important;
}

html body .pack-page :is(#packs-mega, #packs-hot, #packs-private, #packs-director) {
  border: 1px solid #28384f;
  border-radius: 8px;
  overflow: hidden;
  padding: 0 16px 16px;
  background: #ffffff80;
}
html body .pack-page :is(#packs-mega, #packs-hot, #packs-private, #packs-director) > h2 {
  margin: 0 -16px 12px;
  padding: 12px 16px;
  background: #28384f;
  color: #fff;
}
.pack-page .pack-eligibility { margin: 7px 0; color: #56645d; line-height: 1.5 !important; }
.pack-table { width: 100%; border-collapse: collapse; text-align: left; margin-bottom: 12px; }
.pack-table :is(th, td) { padding: 7px 4px; border-bottom: 1px solid #d9ddd6; vertical-align: top; }
.pack-table thead th { color: #53615b; font-weight: 500; }
.pack-table tbody th { font-weight: 500; }
.pack-table :is(th, td):last-child { text-align: right; white-space: nowrap; }
.pack-table :is(th, td):nth-child(2) { white-space: nowrap; }
.pack-table .pass-note { display: block; margin-top: 2px; }

html body .pricing-guide .pack-header h1 {
  margin: 0 0 4px;
  line-height: 1.1 !important;
}
html body .pricing-guide .pack-vat { font-size: .6875rem !important; }
.pricing-guide .pack-navigation { display: grid; grid-template-columns: repeat(4, max-content); gap: 4px 16px; }
.pricing-guide .pack-navigation a { justify-self: start; }
.pricing-guide .pack-group + .pack-group { margin-top: 26px; }
html[lang] body:has(.pricing-guide) header > nav.subpage-actions .phone-messengers a {
  color: #fff;
  font-size: .6875rem !important;
}
@media (max-width: 520px) {
  .pricing-guide .pack-navigation { grid-template-columns: 1fr; }
}

html body .pricing-guide .pack-navigation > a {
  font-size: .875rem !important;
  line-height: 1.35 !important;
}
html body .pricing-guide > .pack-vat {
  display: block;
  margin: 0 0 8px;
  text-align: right;
}

.pricing-guide .pack-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #cbd1c7;
  margin-bottom: 16px;
}
.pricing-guide .pack-picker {
  position: relative;
  flex: 0 0 auto;
}
.pricing-guide .pack-picker summary {
  cursor: pointer;
  padding: 5px 7px;
  line-height: 1.2;
  white-space: nowrap;
}
.pricing-guide .pack-picker nav {
  position: absolute;
  inset-inline-end: 0;
  z-index: 10;
  min-width: max-content;
  padding: 4px;
  background: #faf9f6;
  border: 1px solid #cbd1c7;
  border-radius: 6px;
  box-shadow: 0 4px 12px #28384f1f;
}
.pricing-guide .pack-picker nav a {
  display: block;
  padding: 6px 8px;
  color: #283735;
  line-height: 1.2 !important;
  letter-spacing: -.01em !important;
}

.mobile-pack-nav {display:none}
@media(max-width:760px) {
  .pricing-guide .pack-header .pack-picker {display:none}
  .pricing-guide .pack-header {margin-bottom:6px;padding-block-end:10px}
  .pricing-guide .mobile-pack-nav {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    margin: 0 0 27px;
    border-bottom: 1px solid #cbd1c7;
    padding: 0 0 4px;
    gap: 0;
  }
  .pricing-guide .mobile-pack-nav > a {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 34px;
    padding: 4px;
    text-decoration: none;
  }
  .pricing-guide .mobile-pack-nav > a:nth-child(even) {border-inline-start:1px solid #cbd1c7}
  .pricing-guide .pack-studio-buy {margin-top:20px}
  html body main.pricing-guide {
    --pack-card-gap:54px;
  }
  html body main.pricing-guide > .pack-studios {row-gap:var(--pack-card-gap)}
  html body main.pricing-guide .pack-studios > .pack-studio {margin-block:0}
  html body main.pricing-guide > :is(#packs-private,#packs-director) {
    margin-block:var(--pack-card-gap) 0 !important;
  }
  html[lang] body .pricing-guide .pack-studio-buy a.pack-buy {
    color:#283735 !important;
    background:#f0f3f4 !important;
    border:1px solid #b0bdc5 !important;
  }
}
@layer club-page-top {
  @media(max-width:760px) {
    html[lang] body .pricing-guide .mobile-pack-nav > a {
      font-size:clamp(9px, 2.75vw, 12px) !important;
      white-space:nowrap;
      letter-spacing:-.02em;
      padding-inline:2px;
    }
  }
}

.pack-price-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

html body .pack-table a.pack-row-buy {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 6px;
  background: #e4ebe5;
  color: #304b40;
  font-size: 12px !important;
  line-height: 1.5;
  text-decoration: none;
}

@media (max-width: 760px) {
  .pack-table:has(.pack-price-actions) :is(th, td) {
    padding-inline: 2px;
    font-size: 12px !important;
  }
  .pack-table .pack-price-actions strong { font-size: inherit !important; }
  .pack-price-actions { gap: 4px; }
  html body .pack-table a.pack-row-buy { padding-inline: 4px; }
}

.pack-compact-prices .pack-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.pack-compact-prices .pack-table td:last-child {
  text-align: left;
}
.pack-compact-prices .pack-price-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
html body .pack-compact-prices a.pack-guest-apply {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #aab9b0;
  border-radius: 7px;
  background: #eaf0ec;
  color: #304b40;
  text-decoration: none;
}

html body main.pack-compact-prices,
html body main.pack-compact-prices :is(h1, h2, h3, p, small, a, summary, th, td, span, strong) {
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif !important;
}

html body main.pack-compact-prices .pack-table .pack-price {
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.5 !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 760px) {
  html body main.pack-compact-prices .pack-table .pack-price {
    font-size: 12px !important;
  }
}

.pack-compact-prices .pack-table {
  table-layout: fixed;
}
.pack-compact-prices .pack-col-period { width: 17%; }
.pack-compact-prices .pack-col-total { width: 43%; }
.pack-compact-prices .pack-col-unit { width: 23%; }
.pack-compact-prices .pack-table:has(.pack-col-unit) .pack-col-period { width: 15%; }
.pack-compact-prices .pack-table :is(th, td) { vertical-align: middle; }
.pack-compact-prices .pack-table tbody th {
  white-space: normal;
  overflow-wrap: anywhere;
}
.pack-compact-prices .pack-price-actions {
  width: 100%;
  align-items: center;
}
.pack-compact-prices .pack-row-buy { flex: 0 0 auto; }
@media (max-width: 760px) {
  .pack-compact-prices .pack-col-total { width: max(43%, 103px); }
  .pack-compact-prices .pack-table:has(.pack-col-unit) .pack-col-total { width: max(43%, 110px); }
  .pack-compact-prices .pack-price-actions { gap: 4px; }
}

.pack-compact-prices section[aria-labelledby="guest-instructor-title"] { margin-bottom: 24px; }
