/* NEWVE Price Table — scoped to avoid Elementor/global widget conflicts. */

.newve-price-table-wrapper {
  box-sizing: border-box;
  max-width: var(--newve-container-base, 1280px);
  margin: 0 auto;
  padding: 40px 0 72px;
}

.newve-container--price {
  box-sizing: border-box;
  max-width: var(--newve-container-base, 1280px);
}

.newve-page-body--price {
  box-sizing: border-box;
  overflow: visible;
}

.newve-page-body--price *,
.newve-page-body--price *::before,
.newve-page-body--price *::after {
  box-sizing: border-box;
}

.newve-page-body--price > h1:first-child {
  display: none;
}

.newve-page-body--price > p:first-of-type {
  max-width: 820px;
  margin: 0 0 36px;
  color: var(--newve-gray-2, #757575);
  font-size: 17px;
  line-height: 1.75;
}

.newve-price-anchor-nav {
  position: sticky;
  top: 64px;
  z-index: 20;
  margin: 0 0 56px;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--newve-border-soft, #eee);
  border-bottom: 1px solid var(--newve-border-soft, #eee);
  backdrop-filter: blur(10px);
}

.newve-price-anchor-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.newve-price-anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--newve-border-soft, #eee);
  border-radius: var(--newve-radius-pill, 9999px);
  color: var(--newve-black-03, #333);
  font-size: 13px;
  font-weight: var(--newve-fw-medium, 500);
  letter-spacing: 0.04em;
  text-decoration: none;
  background: var(--newve-white, #fff);
  transition: color var(--newve-transition, 0.3s ease), border-color var(--newve-transition, 0.3s ease), transform var(--newve-transition, 0.3s ease);
}

.newve-price-anchor-nav a:hover,
.newve-price-anchor-nav a:focus-visible {
  color: var(--newve-primary, #bda363);
  border-color: var(--newve-primary, #bda363);
  transform: translateY(-1px);
}

.newve-price-section {
  margin: 0 0 72px;
  scroll-margin-top: calc(var(--newve-header-height, 128px) + 72px);
}

.newve-price-section__header {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
}

.newve-price-section__eyebrow {
  color: var(--newve-primary, #bda363);
  font-size: var(--newve-fs-eyebrow, 13px);
  font-weight: var(--newve-fw-semibold, 600);
  letter-spacing: var(--newve-ls-eyebrow, 0.2em);
  text-transform: uppercase;
}

.newve-price-section__title {
  margin: 0;
  color: var(--newve-dark, #121212);
  font-family: var(--newve-font-display, inherit);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
}

.newve-price-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--newve-border-soft, #eee);
  border-radius: var(--newve-radius-md, 14px);
  background: var(--newve-white, #fff);
  box-shadow: var(--newve-shadow-sm, 0 0 20px rgba(0, 0, 0, 0.05));
}

.newve-price-table {
  width: 100%;
  min-width: 920px;
  margin: 0;
  border-collapse: collapse;
  color: var(--newve-text, #212121);
}

.newve-price-table th,
.newve-price-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--newve-border-soft, #eee);
  text-align: left;
  vertical-align: middle;
}

.newve-price-table th {
  background: var(--newve-bg-light, #f6f5f2);
  color: var(--newve-black-04, #444);
  font-size: 12px;
  font-weight: var(--newve-fw-semibold, 600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.newve-price-table td {
  font-size: 15px;
  line-height: 1.45;
}

.newve-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.newve-price-table tbody tr:hover td {
  background: rgba(189, 163, 99, 0.055);
}

.newve-price-table__treatment {
  color: var(--newve-primary, #bda363);
  font-weight: var(--newve-fw-semibold, 600);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms;
}

.newve-price-table__treatment:hover {
  color: var(--newve-primary-hover, #a48a4d);
  border-bottom-color: var(--newve-primary, #bda363);
}

.newve-price-table__usd {
  color: var(--newve-primary, #bda363);
  font-weight: 500;
  font-size: 14px;
}

.newve-price-table__badge {
  display: inline-block;
  background: var(--newve-primary, #bda363);
  color: var(--newve-white, #fff);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--newve-radius-pill, 9999px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 6px;
  vertical-align: middle;
}

.newve-price-section__cta {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
}

.newve-price-table__price {
  color: var(--newve-dark, #121212);
  font-weight: var(--newve-fw-semibold, 600);
  white-space: nowrap;
}

.newve-price-table__regular {
  display: block;
  color: var(--newve-gray-3, #999);
  font-weight: var(--newve-fw-regular, 400);
}

.newve-price-table__event {
  display: block;
  margin-top: 2px;
  color: var(--newve-primary, #bda363);
}

.newve-price-table__detail {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--newve-primary, #bda363);
  border-radius: var(--newve-radius-pill, 9999px);
  color: var(--newve-primary, #bda363);
  font-size: 13px;
  font-weight: var(--newve-fw-semibold, 600);
  text-decoration: none;
  white-space: nowrap;
}

.newve-price-table__detail:hover {
  background: var(--newve-primary, #bda363);
  color: var(--newve-white, #fff);
}

/* Event banner */
.newve-event-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 40px;
  padding: 18px 28px;
  background: var(--newve-dark, #111);
  border-radius: var(--newve-radius-md, 14px);
  color: var(--newve-white, #fff);
}

.newve-event-banner__label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--newve-primary, #bda363);
  border-radius: var(--newve-radius-pill, 9999px);
  color: var(--newve-white, #fff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.newve-event-banner__name {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--newve-font-display, inherit);
}

.newve-event-banner__period {
  margin-left: auto;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

/* Combo package cards */
.newve-combo-section {
  border-top: 2px solid var(--newve-primary, #bda363);
  padding-top: 40px;
}

.newve-combo-section__subtitle {
  margin: 0;
  color: var(--newve-gray-2, #757575);
  font-size: 15px;
  line-height: 1.6;
}

.newve-combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.newve-combo-card {
  position: relative;
  padding: 24px 24px 24px 72px;
  border: 1px solid var(--newve-border-soft, #eee);
  border-radius: var(--newve-radius-md, 14px);
  background: var(--newve-white, #fff);
  transition: box-shadow 0.2s ease;
}

.newve-combo-card:hover {
  box-shadow: var(--newve-shadow-sm, 0 0 20px rgba(0, 0, 0, 0.05));
}

.newve-combo-card__num {
  position: absolute;
  left: 20px;
  top: 24px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--newve-bg-light, #f6f5f2);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--newve-primary, #bda363);
}

.newve-combo-card__name {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--newve-dark, #121212);
}

.newve-combo-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.newve-combo-card__original {
  color: var(--newve-gray-3, #999);
  font-size: 14px;
}

.newve-combo-card__event {
  font-size: 20px;
  font-weight: 700;
  color: var(--newve-primary, #bda363);
}

.newve-combo-card__usd {
  font-size: 14px;
  font-weight: 500;
  color: var(--newve-primary, #bda363);
  opacity: 0.8;
}

.newve-combo-card__note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--newve-gray-2, #757575);
  line-height: 1.5;
}

.newve-price-disclaimer,
.newve-price-table-empty {
  max-width: 760px;
  margin: 48px auto 0;
  color: var(--newve-gray-2, #757575);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.newve-price-disclaimer strong { color: var(--newve-gray-1, #333); }

/* 상단 VAT 안내 — 부가세 별도 고지(원장님 "잘 보이게" 요구) */
.newve-price-vat-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 12px 18px;
  border-left: 3px solid var(--newve-gold, #bda363);
  background: rgba(189, 163, 99, 0.08);
  border-radius: 4px;
  color: var(--newve-gray-1, #333);
  font-size: 14px;
  line-height: 1.5;
}
.newve-price-vat-notice strong { color: var(--newve-gold-dark, #9a8348); }

/* 카테고리 표 접기 — 기본 8행, "View all"로 펼침(시술 페이지 토글과 동일 UX) */
.newve-price-row--hidden { display: none; }
.newve-price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 16px 0 0;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--newve-gold, #bda363);
  border-radius: 999px;
  color: var(--newve-gold-dark, #9a8348);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.newve-price-toggle:hover { background: var(--newve-gold, #bda363); color: #fff; }

@media (max-width: 991px) {
  .newve-event-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 20px;
  }

  .newve-event-banner__period {
    margin-left: 0;
  }

  .newve-combo-grid {
    grid-template-columns: 1fr;
  }

  .newve-price-table-wrapper {
    padding: 28px 20px 56px;
  }

  .newve-price-anchor-nav {
    top: var(--newve-header-height-mobile, 64px);
    margin-bottom: 40px;
  }

  .newve-price-section {
    margin-bottom: 56px;
    scroll-margin-top: calc(var(--newve-header-height-mobile, 64px) + 56px);
  }

  .newve-price-table {
    min-width: 760px;
  }
}

@media (max-width: 767px) {
  .newve-page-body--price > p:first-of-type {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .newve-price-anchor-nav {
    position: sticky;
    top: var(--newve-header-height-mobile, 64px);
    margin-bottom: 32px;
    padding: 12px 0;
  }

  .newve-price-anchor-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
  }

  .newve-price-anchor-nav a {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .newve-price-section {
    margin-bottom: 48px;
  }

  .newve-price-section__eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .newve-price-section__title {
    font-size: 28px;
  }

  .newve-price-table-scroll {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .newve-price-table {
    display: block;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .newve-price-table thead {
    display: none;
  }

  .newve-price-table tbody,
  .newve-price-table tr,
  .newve-price-table td {
    display: block;
  }

  .newve-price-table tr {
    padding: 16px 20px;
    margin-bottom: 10px;
    border: 1px solid var(--newve-border-soft, #eee);
    border-radius: var(--newve-radius-sm, 6px);
    background: var(--newve-white, #fff);
  }

  .newve-price-table th,
  .newve-price-table td {
    border: none;
  }

  .newve-price-table td {
    display: inline;
    padding: 0;
    font-size: 14px;
  }

  .newve-price-table td[data-label="Treatment"] {
    display: block;
    margin-bottom: 4px;
  }

  .newve-price-table td[data-label="Option"]::before {
    content: ' · ';
    color: var(--newve-black-09, #999);
  }

  .newve-price-table td[data-label="KRW"]::before {
    content: ' — ';
    color: var(--newve-black-09, #999);
  }

  .newve-price-table td[data-label="USD"] {
    color: var(--newve-primary);
    font-size: 13px;
  }

  .newve-price-table td[data-label="USD"]::before {
    content: ' ';
  }

  .newve-price-table td[data-label="Note"] {
    display: block;
    font-size: 12px;
    color: var(--newve-black-08, #888);
    margin-top: 4px;
  }

  .newve-price-table td[data-label="Note"]:empty {
    display: none;
  }

  .newve-price-table__treatment {
    font-size: 15px;
    font-weight: 600;
  }

  .newve-price-table__price {
    white-space: normal;
  }

  .newve-price-table__detail {
    justify-content: center;
    width: 100%;
    min-width: 0;
  }
}
