/* SUBSCRIBE 전용 스타일 */

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

.subscribe-page {
  padding-top: var(--header-height);
}

.desktop-nav .active {
  position: relative;
}

.desktop-nav .active::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--black);
  content: "";
}

.subscribe-hero {
  padding: 55px 0 70px;
}

.subscribe-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.subscribe-hero-copy h1 {
  margin: 16px 0 55px;
  font-size: clamp(62px, 7vw, 102px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -0.07em;
}

.subscribe-hero-copy h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.subscribe-hero-copy > p:last-child {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.85;
}

.subscribe-hero-image {
  min-height: 720px;
  border: 0;
}

.subscribe-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subscribe-tabs-section {
  background: var(--tint);
}

.subscribe-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
}

.subscribe-tab {
  position: relative;
  min-width: 110px;
  padding: 22px 10px 20px;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 14px;
  cursor: pointer;
}

.subscribe-tab.active {
  color: var(--black);
  font-weight: 700;
}

.subscribe-tab.active::after {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  background: var(--black);
  content: "";
}

.subscription-form-section,
.membership-section {
  padding: 90px 0 110px;
  background: var(--tint);
}

.subscription-heading {
  margin-bottom: 52px;
}

.subscription-heading h2 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.subscription-heading > p:last-child {
  margin: 0;
  color: #777;
  font-size: 15px;
}

.subscription-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  align-items: start;
}

.subscription-product {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.subscription-product-image {
  min-height: 700px;
  background: #fff;
}

.subscription-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.subscription-product h3 {
  margin: 8px 0 5px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.subscription-product > p:last-child {
  margin: 0;
  color: #777;
  font-size: 14px;
}

.subscription-config {
  background: rgba(255,255,255,.46);
}

.config-step {
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

.step-title {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 17px;
}

.step-title span {
  color: #777;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
}

.step-title h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.product-select {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 14px;
  width: 100%;
  padding: 12px;
  align-items: center;
  border: 1px solid #aaa;
  background: #fff;
  text-align: left;
}

.product-thumb {
  width: 46px;
  height: 46px;
  background: #ddd;
}

.product-select small,
.option-button small {
  display: block;
  color: #888;
  font-size: 10px;
}

.product-select strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}

.product-select b {
  color: #777;
  font-size: 12px;
  font-weight: 500;
}

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

.option-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.option-button {
  min-height: 64px;
  padding: 12px;
  border: 1px solid #bbb;
  border-right: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.option-button:last-child {
  border-right: 1px solid #bbb;
}

.option-button.selected {
  position: relative;
  z-index: 1;
  border: 2px solid var(--black);
}

.option-button strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.date-field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #aaa;
  border-radius: 0;
  background: #fff;
  color: var(--black);
  font-family: inherit;
}

.payment-summary {
  padding-top: 10px;
}

.payment-summary h3 {
  margin: 0 0 24px;
  font-size: 15px;
}

.payment-summary dl {
  margin: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid #ddd;
}

.payment-summary dl + dl {
  padding-top: 22px;
}

.payment-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.payment-summary dt,
.payment-summary dd {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.payment-summary dd {
  color: var(--black);
  text-align: right;
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0 18px;
  align-items: baseline;
}

.total-row span {
  font-size: 14px;
}

.total-row strong {
  font-size: 22px;
}

.subscribe-submit {
  width: 100%;
  height: 56px;
  border: 0;
  background: var(--black);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.summary-note {
  margin: 9px 0 0;
  color: #aaa;
  font-size: 10px;
  text-align: center;
}

.membership-section {
  min-height: 700px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-grid article {
  min-height: 220px;
  padding: 32px;
  border: 1px solid #ddd;
  background: #fff;
}

.benefit-grid span {
  display: block;
  margin-top: 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

/* 고객 제공 아이콘(아이콘 모음 1~7) */
.benefit-icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.benefit-grid h3 {
  margin: 12px 0 10px;
  font-size: 23px;
}

.benefit-grid p {
  margin: 0;
  color: #777;
  font-size: 14px;
  line-height: 1.7;
}

.subscription-guide {
  padding: 90px 0 100px;
}

.guide-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.guide-grid h2 {
  margin: 14px 0 0;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.guide-grid ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-grid li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.guide-grid li span {
  display: flex;
  width: 32px;
  height: 24px;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.guide-grid li p {
  margin: 0;
  color: #555;
  font-size: 15px;
}

@media (max-width: 900px) {
  .subscribe-hero {
    padding: 45px 0 55px;
  }

  .subscribe-hero-grid,
  .subscription-layout,
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .subscribe-hero-copy h1 {
    margin-bottom: 32px;
  }

  .subscribe-hero-image {
    min-height: 560px;
  }

  .subscription-product {
    position: static;
  }

  .subscription-product-image {
    min-height: 540px;
  }

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

@media (max-width: 600px) {
  .subscription-heading h2 {
    max-width: 100%;
    font-size: clamp(30px, 9.2vw, 38px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .subscribe-hero-image {
    min-height: 420px;
  }

  .subscription-form-section,
  .membership-section,
  .subscription-guide {
    padding: 70px 0;
  }

  .subscription-product-image {
    min-height: 420px;
  }

  .option-grid.three {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .option-button,
  .option-button:last-child {
    border-right: 1px solid #bbb;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid li {
    align-items: start;
  }
}

.subscription-status-links { padding-block: 20px; }
.subscription-status { padding-block: 28px; max-width: 1000px; }
.subscription-status h2 { font-size: 22px; margin: 0 0 14px; }
.subscription-status p { color: #555; line-height: 1.9; }
.subscription-status a, .subscription-status-links a { text-decoration: underline; }
.subscription-status:last-child { padding-bottom: 80px; }
