/* The terms now live directly below the price board. */
body[data-page="price"] .terms-section--price {
  display: block;
  padding-top: 0;
}

body[data-page="price"] .terms-section--price .terms-summary {
  pointer-events: none;
  cursor: default;
}

body[data-page="price"] .terms-section--price .terms-summary b {
  display: none;
}

.price-campaign-list[hidden],
.price-campaign-list:empty { display: none; }

.price-campaign-list {
  display: grid;
  gap: 14px;
  width: min(100%, 980px);
  margin: 32px auto 0;
}

.price-discount-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  border: 1px solid rgba(164, 93, 52, .2);
  background: linear-gradient(135deg, #fff, #faf0e9);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(70,62,58,.07);
}

.price-discount-card > span:first-child { display: grid; gap: 5px; }
.price-discount-card small { color: #a06643; letter-spacing: .16em; }
.price-discount-card strong { font-size: clamp(1.2rem, 2.4vw, 1.65rem); }
.price-discount-card b { color: #94451e; }
.price-discount-link { white-space: nowrap; color: #a4552c; }

.legacy-system-campaign,
.legacy-system-card {
  width: min(100%, 980px);
  margin: 0 auto 34px;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(37, 43, 55, .1);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(250,247,244,.9));
  box-shadow: 0 18px 50px rgba(70, 62, 58, .07);
  text-align: center;
}

.legacy-system-kicker {
  margin: 0 0 10px;
  color: #a06643;
  font-size: .76rem;
  letter-spacing: .22em;
}

.legacy-system-campaign h3,
.legacy-system-card h3 {
  margin: 0 0 18px;
  font-family: var(--font-display-jp);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 500;
}

.legacy-system-campaign > p:not(.legacy-system-kicker) {
  max-width: 720px;
  margin: 12px auto 0;
  line-height: 2;
}

.legacy-system-campaign .legacy-system-highlight {
  margin-top: 22px;
  padding: 15px 18px;
  background: #f6eee8;
  color: #8b4526;
  font-weight: 600;
}

.legacy-system-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  width: min(100%, 980px);
  margin: 38px auto 0;
}

.legacy-system-details .legacy-system-card {
  width: 100%;
  margin: 0;
  text-align: left;
}

.legacy-treatment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-treatment-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(37,43,55,.09);
}

.legacy-option-list {
  margin: 0;
}

.legacy-option-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(37,43,55,.09);
}

.legacy-option-list dt,
.legacy-option-list dd { margin: 0; }
.legacy-option-list dd { font-size: 1.2rem; font-weight: 600; }
.legacy-system-note { margin: 16px 0 0; color: #8b6e5e; font-size: .86rem; }

@media (max-width: 760px) {
  .legacy-system-details { grid-template-columns: 1fr; }
  .legacy-treatment-list { grid-template-columns: 1fr; }
  .legacy-system-campaign,
  .legacy-system-card { padding: 24px 20px; }
  .price-discount-card { align-items: flex-start; flex-direction: column; gap: 14px; padding: 20px; }
}
