/* ===================================
   plan.css - 플랜 선택 페이지 스타일
   - 데스크탑 퍼스트, BEM
   - Counpia SNACK Design System v1.0
   =================================== */

/* -----------------------------------
   Hero
   ----------------------------------- */
.plan-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 60px;
  text-align: center;
}

.plan-hero__overline {
  margin-bottom: 4px;
}

.plan-hero__texts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.plan-hero__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.plan-hero__desc {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--neutral-500);
}

/* -----------------------------------
   Plan Cards
   ----------------------------------- */
.plans-section {
  margin-top: 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--neutral-300);
}

.plan-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 40px 40px 12px;
}

.plan-card__name {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.plan-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--neutral-900);
  font-weight: 700;
}

.plan-card__price {
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-card__currency {
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-card__unit {
  padding: 8px 0 28px;
  font-size: 15px;
  color: var(--neutral-400);
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-card__divider {
  width: 100%;
  height: 1px;
  background: var(--neutral-200);
}

.plan-card__feats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 190px;
  padding: 20px 0;
  list-style: none;
  margin: 0;
}

.plan-card__feat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-card__feat-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  line-height: 0;
}

.plan-card__feat-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.plan-card__feat-text {
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--neutral-700);
}
.plan-card__feat-text span {
  font-size: 18px;
}

.plan-card__feat-text strong {
  font-weight: 700;
  color: var(--brand-700);
}

.plan-card__feat--disabled .plan-card__feat-text {
  color: var(--neutral-300);
}

.plan-card__footer {
  padding: 20px 40px 40px;
  margin-top: auto;
}

.plan-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  color: var(--neutral-900);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.plan-card__cta:hover {
  background: var(--neutral-900);
  border-color: var(--neutral-900);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.plan-card__cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(7, 250, 216, 0.6);
}

.plan-card__cta:active {
  transform: scale(0.98);
  transition-duration: 120ms;
}

/* CTA 라벨 swap (default ↔ selected) */
.plan-card__cta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
}
.plan-card__cta-label--selected {
  display: none;
}

/* -----------------------------------
   Plan Card - Selected 상태
   ----------------------------------- */
.plan-card.is-selected {
  border-width: 2px;
  border-color: var(--brand-700);
  background: var(--brand-50);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.plan-card.is-selected:hover {
  transform: none;
  border-color: var(--brand-700);
}

.plan-card.is-selected .plan-card__head,
.plan-card.is-selected .plan-card__footer {
  background: transparent;
}

.plan-card.is-selected .plan-card__cta {
  background: var(--brand-900);
  border-color: var(--neutral-900);
  color: #ffffff;
}

.plan-card.is-selected .plan-card__cta:hover {
  background: var(--neutral-900);
  box-shadow: 0 6px 16px rgba(3, 25, 25, 0.24);
}

.plan-card.is-selected .plan-card__cta-label--default {
  display: none;
}

.plan-card.is-selected .plan-card__cta-label--selected {
  display: inline-flex;
}

/* -----------------------------------
   Sticky Bottom Bar (FAB, slide-up)
   ----------------------------------- */
.plan-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  padding: 0 40px;
  background: #ffffff;
  border-top: 1px solid var(--neutral-200);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(100%);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.plan-sticky[hidden] {
  display: none;
}

.plan-sticky.is-visible {
  transform: translateY(0);
}

.plan-sticky__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
}

.plan-sticky__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.plan-sticky__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral-400);
}

.plan-sticky__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.plan-sticky__meta {
  padding-left: 24px;
  border-left: 1px solid var(--neutral-200);
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--neutral-500);
  flex-shrink: 0;
}

.plan-sticky__price {
  margin-left: auto;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
  flex-shrink: 0;
}

.plan-sticky__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  padding: 0 40px;
  background: var(--brand-700);
  border: 0;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}

.plan-sticky__cta:hover {
  background: var(--brand-800);
  box-shadow: 0 6px 16px rgba(0, 90, 84, 0.28);
}

.plan-sticky__cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(7, 250, 216, 0.6);
}

.plan-sticky__cta:active {
  transform: scale(0.98);
}

.plan-sticky__cta-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.plan-sticky__cta:hover .plan-sticky__cta-arrow {
  transform: translateX(2px);
}

/* Sticky bar 노출 시 본문 바닥 여백 확보 */
body.has-sticky-bar .sub-layout__body {
  padding-bottom: 220px;
}

/* -----------------------------------
   FAQ
   ----------------------------------- */
.plan-faq {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.plan-faq__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.plan-faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--neutral-200);
}

.plan-faq__item {
  border-bottom: 1px solid var(--neutral-200);
  padding: 0 16px;
}

.plan-faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  transition: color 150ms ease;
}

.plan-faq__summary::-webkit-details-marker { display: none; }

.plan-faq__summary:hover {
  color: var(--brand-700);
}

.plan-faq__q {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: inherit;
}

.plan-faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--neutral-900);
  transition: transform 250ms ease, color 250ms ease;
}
/*
.plan-faq__item[open] .plan-faq__summary {
  color: var(--brand-700);
}
*/
.plan-faq__item[open] .plan-faq__icon {
  transform: rotate(45deg);
  color: var(--brand-700);
}

.plan-faq__body {
  max-width: 900px;
  padding-bottom: 26px;
}

.plan-faq__body p {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.04em;
  color: var(--neutral-500);
}

/* -----------------------------------
   반응형
   ----------------------------------- */
@media (max-width: 1200px) {
  .plans {
    gap: 16px;
  }

  .plan-card__head {
    padding: 32px 28px 12px;
  }

  .plan-card__footer {
    padding: 16px 28px 32px;
  }

  .plan-sticky {
    padding: 0 24px;
  }
}

@media (max-width: 1060px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .plan-card {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .plan-hero {
    padding: 24px 0 40px;
  }

  .plan-hero__title {
    font-size: 30px;
  }

  .plan-hero__desc {
    font-size: 16px;
  }

  .plan-card__head {
    padding: 28px 24px 12px;
  }

  .plan-card__footer {
    padding: 16px 24px 28px;
  }
  .plan-card {

  }

  .plan-card__name { font-size: 16px; }
  .plan-card__price { font-size: 24px; }
  .plan-card__unit {font-size: 14px;padding: 8px 0 16px;}
  .plan-card__feat-text {font-size: 16px;}
  .plan-card__feat-text span {font-size: 14px;}
  .plan-card__feats {min-height: 0;}
  .plan-card__footer {padding-top: 0;}


  .plan-faq {
    margin-top: 40px;
    padding: 48px 0;
    gap: 20px;
  }

  .plan-faq__title { font-size: 20px; }
  .plan-faq__q { font-size: 16px; }
}

@media (max-width: 480px) {
  .plan-hero__title {
    font-size: 26px;
  }

  .plan-card__head {
    padding: 24px 20px 12px;
  }

  .plan-card__footer {
    padding: 16px 20px 24px;
  }

  .plan-card__feats {
    min-height: 0;
  }
}

/* Sticky bar - Tablet/Mobile */
@media (max-width: 1060px) {
  .plan-sticky {
    height: auto;
    padding: 16px 20px;
  }

  .plan-sticky__inner {
    gap: 16px;
    flex-wrap: wrap;
  }

  .plan-sticky__meta {
    padding-left: 16px;
  }

  .plan-sticky__price {
    font-size: 22px;
  }

  .plan-sticky__cta {
    height: 48px;
    padding: 0 24px;
    font-size: 16px;
  }

  body.has-sticky-bar .sub-layout__body {
    padding-bottom: 260px;
  }
}

@media (max-width: 768px) {
  .plan-sticky__inner {
    gap: 12px;
  }

  .plan-sticky__meta {
    width: 100%;
    padding-left: 0;
    border-left: 0;
  }

  .plan-sticky__price {
    margin-left: 0;
    font-size: 20px;
  }

  .plan-sticky__cta {
    margin-left: auto;
    padding: 0 20px;
  }

  body.has-sticky-bar .sub-layout__body {
    padding-bottom: 280px;
  }
}

/* ===================================
   Order (주문서 / 결제) Page
   - 좌: 폼 / 우: sticky 요약 카드 (2-column)
   =================================== */
.order__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.order__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

.order__form {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}

.order__aside {
  position: sticky;
  top: 110px;
  align-self: start;
}

/* -----------------------------------
   Form Section
   ----------------------------------- */
.form-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-section__title {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--neutral-200);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.form-section__helper {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -0.04em;
  color: var(--neutral-400);
}

/* -----------------------------------
   Field / Input
   ----------------------------------- */
.form-row {
  display: grid;
  gap: 12px;
}

.form-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row--credit {
  grid-template-columns: 590px minmax(0, 1fr);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field__label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.field__input {
  display: block;
  width: 100%;
}

.field__input--grow {
  flex: 1 1 auto;
  min-width: 0;
}

.field__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.input {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 21px;
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  color: var(--neutral-900);
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input::placeholder {
  color: var(--neutral-300);
}

.input:hover {
  border-color: var(--neutral-300);
}

.input:focus,
.input:focus-visible {
  outline: none;
  border-color: var(--neutral-900);
  box-shadow: 0 0 0 3px rgba(30, 30, 30, 0.08);
}

.input[readonly] {
  background: var(--neutral-50);
  cursor: default;
}

/* Solid dark button (주소검색 등) */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 24px;
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  color: var(--neutral-900);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  flex-shrink: 0;
}

.btn-solid:hover {
  background: var(--neutral-900);
  color: #ffffff;
  border-color: var(--neutral-900);
}

.btn-solid--dark {
  background: var(--neutral-800);
  border-color: var(--neutral-900);
  color: #ffffff;
  font-size: 18px;
}

.btn-solid--dark:hover {
  background: #000000;
  border-color: #000000;
}

.btn-solid--addr {
  width: 160px;
}

/* -----------------------------------
   Select
   ----------------------------------- */
.select {
  position: relative;
  display: block;
  width: 100%;
}

.select__native {
  width: 100%;
  height: 54px;
  padding: 0 45px 0 21px;
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  color: var(--neutral-900);
  font-family: inherit;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.04em;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.select__native:hover {
  border-color: var(--neutral-300);
}

.select__native:focus,
.select__native:focus-visible {
  outline: none;
  border-color: var(--neutral-900);
  box-shadow: 0 0 0 3px rgba(30, 30, 30, 0.08);
}

.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--neutral-700);
  border-bottom: 2px solid var(--neutral-700);
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}

/* -----------------------------------
   Checkbox (공용 아톰)
   ----------------------------------- */
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.checkbox__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkbox__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 1px solid var(--neutral-300);
  border-radius: 4px;
  transition: background 150ms ease, border-color 150ms ease;
}

.checkbox__icon {
  opacity: 0;
  transition: opacity 120ms ease;
}

.checkbox__input:checked ~ .checkbox__box {
  background: var(--neutral-900);
  border-color: var(--neutral-900);
}

.checkbox__input:checked ~ .checkbox__box .checkbox__icon {
  opacity: 1;
}

.checkbox__input:focus-visible ~ .checkbox__box {
  box-shadow: 0 0 0 3px rgba(7, 250, 216, 0.4);
}

.checkbox__text {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.checkbox--sm .checkbox__text {
  font-size: 15px;
}

/* -----------------------------------
   Option Card (추가 옵션 - 심리검사 코드)
   ----------------------------------- */
.option-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 23px;
  background: #fafafa;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.option-card:hover {
  border-color: var(--neutral-300);
}

.option-card__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.option-card__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: #ffffff;
  border: 1px solid var(--neutral-300);
  border-radius: 4px;
  transition: background 150ms ease, border-color 150ms ease;
}

.option-card__box svg {
  opacity: 0;
  transition: opacity 120ms ease;
}

.option-card__input:checked ~ .option-card__box {
  background: var(--neutral-900);
  border-color: var(--neutral-900);
}

.option-card__input:checked ~ .option-card__box svg {
  opacity: 1;
}

.option-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.option-card__title-row {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1;
}

.option-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-700);
}

.option-card__price {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-500);
}

.option-card__desc {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.04em;
  color: var(--neutral-400);
}

/* -----------------------------------
   Pay Tabs
   ----------------------------------- */
.pay-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pay-tabs__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  color: var(--neutral-700);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.pay-tabs__btn:hover {
  border-color: var(--neutral-400);
  color: var(--neutral-900);
}

.pay-tabs__btn.is-active {
  background: #fafafa;
  border-color: var(--neutral-900);
  color: var(--neutral-800);
}

.pay-detail {
  margin-top: 4px;
}

/* -----------------------------------
   Terms
   ----------------------------------- */
.terms {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-md);
}

.terms__all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-200);
  cursor: pointer;
  user-select: none;
}

.terms__all-text {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.terms__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.terms__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.terms__required {
  color: var(--neutral-900);
  font-weight: 600;
  margin-right: 4px;
}

.terms__optional {
  color: var(--neutral-400);
  font-weight: 600;
  margin-right: 4px;
}

.terms__view {
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--neutral-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms__view:hover {
  color: var(--neutral-700);
}

/* -----------------------------------
   Order Summary (Right column)
   ----------------------------------- */
.order-summary {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dedede;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.order-summary__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 40px 24px;
}

.order-summary__label {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  color: var(--neutral-400);
  text-transform: uppercase;
}

.order-summary__plan {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.order-summary__feats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
}

.order-summary__feat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-summary__feat-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  line-height: 0;
}

.order-summary__feat-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.order-summary__feat-text {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-700);
}

.order-summary__change {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: var(--neutral-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-summary__change:hover {
  color: var(--neutral-700);
}

.order-summary__divider {
  height: 1px;
  margin: 0 40px;
  background: var(--neutral-200);
}

.order-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 40px;
  margin: 0;
}

.order-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.order-summary__row-label {
  margin: 0;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--neutral-500);
}

.order-summary__row-value {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--neutral-500);
}

.order-summary__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 20px 40px 40px;
}

.order-summary__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  padding: 0;
  background: var(--brand-700);
  border: 1px solid var(--neutral-900);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}

.order-summary__cta:hover {
  background: var(--brand-800);
  box-shadow: 0 6px 16px rgba(0, 90, 84, 0.24);
}

.order-summary__cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(7, 250, 216, 0.6);
}

.order-summary__cta:active {
  transform: scale(0.98);
}

.order-summary__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: var(--neutral-400);
  text-align: center;
}

/* -----------------------------------
   Order 반응형
   ----------------------------------- */
@media (max-width: 1200px) {
  .order__layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
  }

  .form-row--credit {
    grid-template-columns: 2fr 1fr;
  }

  .btn-solid--addr {
    width: 140px;
  }
}

@media (max-width: 1060px) {
  .order__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .order__aside {
    position: static;
    top: auto;
  }

  .order-summary {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .order__title {
    margin-bottom: 24px;
    font-size: 22px;
  }

  .order__form {
    gap: 36px;
  }

  .form-row--2 {
    grid-template-columns: 1fr;
  }

  .form-row--credit {
    grid-template-columns: 1fr;
  }

  .pay-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pay-tabs__btn {
    height: 52px;
    font-size: 16px;
  }

  .field__row {
    flex-wrap: wrap;
  }

  .btn-solid--addr {
    width: 100%;
  }

  .form-section__title {
    font-size: 18px;
  }

  .order-summary__head {
    padding: 32px 24px 16px;
  }

  .order-summary__divider {
    margin: 0 24px;
  }

  .order-summary__rows {
    padding: 16px 24px;
  }

  .order-summary__footer {
    padding: 16px 24px 32px;
  }

  .terms__item {
    flex-wrap: wrap;
  }
}

/* ===================================
   Complete (결제 완료) Page
   =================================== */
.complete__inner {
  max-width: 768px;
  margin: 0 auto;
}

/* -----------------------------------
   Hero (success)
   ----------------------------------- */
.complete-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 60px;
  text-align: center;
}

.complete-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--brand-700);
  border: 1.6px solid var(--brand-50);
  border-radius: 999px;
  line-height: 0;
  box-shadow: 0 8px 20px rgba(0, 90, 84, 0.24);
}

.complete-hero__texts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.complete-hero__title {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.complete-hero__desc {
  margin: 0;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--neutral-500);
}

/* -----------------------------------
   Order Info Card
   ----------------------------------- */
.order-info {
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.order-info__head {
  padding: 20px 32px 21px;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
}

.order-info__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.order-info__list {
  margin: 0;
  padding: 0 32px;
}

.order-info__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 19px;
  border-bottom: 1px solid var(--neutral-50);
}

.order-info__row:last-child {
  border-bottom: 0;
}

.order-info__row--total {
  padding: 18px 0 24px;
}

.order-info__label {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-500);
}

.order-info__value {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
  text-align: right;
}

.order-info__value--big {
  font-size: 24px;
  font-weight: 700;
}

/* -----------------------------------
   Next Steps
   ----------------------------------- */
.next-steps {
  margin-bottom: 24px;
}

.next-steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.step-card:hover {
  border-color: var(--neutral-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.step-card__num {
  font-size: 11px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--neutral-400);
  text-transform: uppercase;
}

.step-card__title {
  margin: 0;
  padding-top: 2px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
}

.step-card__desc {
  margin: 0;
  padding-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: var(--neutral-500);
}

/* -----------------------------------
   Complete CTA Row
   ----------------------------------- */
.complete-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 20px;
}

.complete-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 40px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.complete-cta__btn--primary {
  background: var(--neutral-900);
  border: 1px solid var(--neutral-900);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.complete-cta__btn--primary:hover {
  background: #000000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.complete-cta__btn--ghost {
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  color: var(--neutral-900);
  padding: 0 33px;
}

.complete-cta__btn--ghost:hover {
  background: var(--neutral-50);
  border-color: var(--neutral-300);
}

/* -----------------------------------
   Complete 반응형
   ----------------------------------- */
@media (max-width: 1060px) {
  .next-steps__list {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .complete-hero {
    padding: 24px 0 40px;
  }

  .complete-hero__icon {
    width: 60px;
    height: 60px;
  }

  .complete-hero__icon svg {
    width: 32px;
    height: 32px;
  }

  .complete-hero__title {
    font-size: 28px;
  }

  .complete-hero__desc {
    font-size: 16px;
  }

  .order-info__head {
    padding: 16px 20px;
  }

  .order-info__list {
    padding: 0 20px;
  }

  .order-info__value--big {
    font-size: 20px;
  }

  .next-steps__list {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 20px;
  }

  .complete-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .complete-cta__btn {
    width: 100%;
    padding: 0 20px;
  }
}
