/* 포인트 교환소 (리뉴얼) — 토큰은 rb.css. 포팅 point-exchange.css 를 대체합니다.
   JS 훅(cscenter.js): .point_exchange_quote .section-panel__product-card[data-item] #peQuoteModal(.is-open) #peQuoteForm .pe_modal_close .pe_btn_cancel .pe_btn_submit */

.point-exchange { display: flex; flex-direction: column; gap: 2.4rem; padding-top: 2.4rem; padding-bottom: 8rem; }

/* 히어로 */
.point-exchange .hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rb-radius-xl); background: var(--rb-bg-2); }
.point-exchange .hero::before {
    content: ""; position: absolute; z-index: -1; right: -10rem; top: -12rem; width: 60rem; height: 60rem; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(109, 58, 237, .16), transparent);
}
.point-exchange .hero__inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 2.4rem; padding: 5.6rem 6.4rem; }
.point-exchange .hero__eyebrow { margin: 0; font: 700 2rem/1.4 var(--rb-font-display); color: var(--rb-ink); }
.point-exchange .hero__eyebrow strong { color: var(--rb-violet); }
.point-exchange .hero__title { margin: 1.2rem 0 0; font: 800 6rem/1.05 var(--rb-font-display); letter-spacing: -.03em; color: var(--rb-violet); }
.point-exchange .hero__title-accent { display: block; color: var(--rb-ink); }
.point-exchange .hero__description { max-width: 42rem; margin: 2rem 0 0; font-size: 1.7rem; line-height: 1.7; color: var(--rb-ink-2); }
.point-exchange .hero__description strong { color: var(--rb-ink); }
.point-exchange .hero__image { display: block; }
.point-exchange .hero__image img { display: block; width: 100%; height: auto; }

/* 공통 패널 */
.point-exchange .section-panel { margin-top: 3.2rem; padding: 4.8rem 4rem; border-radius: var(--rb-radius-xl); background: var(--rb-bg-2); }
.point-exchange .section-panel__title { margin: 0 0 3.2rem; text-align: center; font: 800 3rem/1.25 var(--rb-font-display); letter-spacing: -.02em; color: var(--rb-ink); }

/* 판매 상품 */
.point-exchange .section-panel__product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.point-exchange .section-panel__product-card {
    display: grid; grid-template-columns: 8.8rem minmax(0, 1fr); align-items: center; gap: 2rem; padding: 2rem 2.4rem;
    border: 1px solid transparent; border-radius: var(--rb-radius-lg); background: #fff; box-shadow: var(--rb-shadow-1);
    text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .25s var(--rb-ease), box-shadow .25s var(--rb-ease), border-color .25s;
}
.point-exchange .section-panel__product-card:hover { transform: translateY(-3px); box-shadow: var(--rb-shadow-2); border-color: var(--rb-violet-100); }
.point-exchange .section-panel__product-image { width: 8.8rem; height: 8.8rem; object-fit: contain; }
.point-exchange .section-panel__product-copy { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.point-exchange .section-panel__product-title { font: 800 1.9rem/1.3 var(--rb-font-display); color: var(--rb-ink); }
.point-exchange .section-panel__product-description { font-size: 1.35rem; line-height: 1.55; color: var(--rb-ink-3); }

/* 견적 받기 */
.point-exchange .section-panel__quote { margin-top: 2.4rem; padding: 2.8rem 3.2rem; border-radius: var(--rb-radius-lg); background: var(--rb-night); color: #fff; overflow: hidden; }
.point-exchange .section-panel__quote-content { display: grid; grid-template-columns: minmax(0, 1fr) auto 10rem; align-items: center; gap: 2.4rem; }
.point-exchange .section-panel__quote-title { margin: 0; font: 800 2.2rem/1.35 var(--rb-font-display); color: #fff; }
.point-exchange .section-panel__quote-description { margin: .6rem 0 0; font-size: 1.5rem; color: var(--rb-night-ink); }
.point-exchange .section-panel__quote-description strong { color: #FFD66B; }
.point-exchange .section-panel__quote-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 5.6rem; padding: 0 2.8rem;
    border: 0; border-radius: 999px; background: var(--rb-gold); color: var(--rb-ink); font: 700 1.7rem/1 var(--rb-font); cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--rb-ease), background-color .2s;
}
.point-exchange .section-panel__quote-button:hover { background: #FFD25C; transform: translateY(-2px); }
.point-exchange .section-panel__quote-button-icon { width: 2.8rem; height: 2.8rem; border-radius: .8rem; }
.point-exchange .section-panel__quote-character img { display: block; width: 10rem; height: auto; margin-bottom: -2.8rem; }

/* 이용 방법 */
.point-exchange .section-panel__process-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.point-exchange .section-panel__step-card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 2.4rem 1.6rem; border-radius: var(--rb-radius-lg); background: #fff; box-shadow: var(--rb-shadow-1); text-align: center; }
.point-exchange .section-panel__step-number { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--rb-violet); color: #fff; font: 800 1.5rem/1 var(--rb-font-display); }
.point-exchange .section-panel__step-image { width: 9.6rem; height: 9.6rem; margin: 1.6rem auto; object-fit: contain; }
.point-exchange .section-panel__step-title { margin: 0 0 .8rem; font: 800 1.7rem/1.35 var(--rb-font-display); color: var(--rb-ink); }
.point-exchange .section-panel__step-description { margin: auto 0 0; font-size: 1.3rem; line-height: 1.55; color: var(--rb-ink-3); }

/* 안심 이용 */
.point-exchange .section-panel--trust { padding: 3.2rem 4rem; }
.point-exchange .section-panel__trust-content { display: flex; align-items: center; gap: 3.2rem; }
.point-exchange .section-panel__trust-copy { flex: 1 1 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 2rem; }
.point-exchange .section-panel__trust-character { grid-row: span 2; }
.point-exchange .section-panel__trust-character img { display: block; width: 11rem; height: auto; }
.point-exchange .section-panel__trust-title { align-self: end; margin: 0; font: 800 2.6rem/1.3 var(--rb-font-display); color: var(--rb-violet); }
.point-exchange .section-panel__trust-description { align-self: start; margin: .6rem 0 0; font-size: 1.5rem; line-height: 1.6; color: var(--rb-ink-2); }
.point-exchange .section-panel__trust-list { flex: 0 1 60rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.point-exchange .section-panel__trust-item { display: grid; justify-items: center; gap: .6rem; padding: 2rem 1.2rem; border-radius: var(--rb-radius-lg); background: #fff; text-align: center; }
.point-exchange .section-panel__trust-item-icon { width: 4.8rem; height: 4.8rem; object-fit: contain; }
.point-exchange .section-panel__trust-item-title { font: 800 1.6rem/1.3 var(--rb-font-display); color: var(--rb-ink); }
.point-exchange .section-panel__trust-item-description { font-size: 1.3rem; color: var(--rb-ink-3); }

/* 안내 */
.point-exchange .notice { margin: 1.6rem 0 0; padding: 0 0 0 2rem; font-size: 1.35rem; line-height: 1.8; color: var(--rb-ink-3); }
.point-exchange .notice__text { margin: 0; }

/* 견적 신청 모달 */
.pe_modal_container { position: fixed; inset: 0; z-index: 10001; display: none; align-items: center; justify-content: center; padding: 1.6rem; background: rgba(14, 10, 24, .6); }
.pe_modal_container.is-open { display: flex; }
.pe_modal { display: flex; flex-direction: column; width: 100%; max-width: 48rem; max-height: 92vh; overflow: hidden; border-radius: var(--rb-radius-xl); background: #fff; box-shadow: var(--rb-shadow-3); }
.pe_modal_header { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2.4rem; border-bottom: 1px solid var(--rb-line); font: 800 1.9rem/1.3 var(--rb-font-display); color: var(--rb-ink); }
.pe_modal_close { display: inline-flex; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--rb-ink-3); font-size: 1.8rem; cursor: pointer; }
.pe_modal_close:hover { background: var(--rb-bg-2); color: var(--rb-ink); }
.pe_modal_body { margin: 0; padding: 2rem 2.4rem 2.4rem; overflow-y: auto; }
.pe_field { display: block; margin-bottom: 1.6rem; }
.pe_label { display: block; margin-bottom: .6rem; font-size: 1.35rem; font-weight: 600; color: var(--rb-ink-2); }
.pe_input { width: 100%; min-height: 4.8rem; padding: 0 1.4rem; border: 1px solid var(--rb-line-2); border-radius: var(--rb-radius-sm); background: #fff; color: var(--rb-ink); font: 1.5rem/1.4 var(--rb-font); }
.pe_input:focus { outline: none; border-color: var(--rb-violet); box-shadow: 0 0 0 3px var(--rb-violet-100); }
.pe_textarea { min-height: 10rem; padding: 1.2rem 1.4rem; resize: vertical; }
.pe_modal_note { margin: 0 0 1.6rem; font-size: 1.3rem; line-height: 1.6; color: var(--rb-ink-3); }
.pe_modal_actions { display: flex; gap: .8rem; }
.pe_btn { flex: 1; min-height: 5.2rem; border: 1px solid var(--rb-line-2); border-radius: 999px; background: #fff; color: var(--rb-ink); font: 600 1.6rem/1 var(--rb-font); cursor: pointer; }
.pe_btn:hover { background: var(--rb-bg-2); }
.pe_btn_submit { border-color: var(--rb-violet); background: var(--rb-violet); color: #fff; }
.pe_btn_submit:hover { background: var(--rb-violet-600); }
.pe_btn_submit:disabled { opacity: .6; cursor: default; }

@media (max-width: 1199px) {
    .point-exchange .section-panel__process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .point-exchange .section-panel__product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .point-exchange .section-panel__trust-content { flex-direction: column; align-items: stretch; }
}
@media (max-width: 767px) {
    .point-exchange { padding-top: 1.2rem; padding-bottom: 4.8rem; gap: 1.6rem; }
    .point-exchange .hero { border-radius: var(--rb-radius-lg); }
    .point-exchange .hero__inner { grid-template-columns: minmax(0, 1fr); padding: 3.6rem 2rem 0; gap: 1.6rem; }
    .point-exchange .hero__eyebrow { font-size: 1.6rem; }
    .point-exchange .hero__title { font-size: 4rem; }
    .point-exchange .hero__description { font-size: 1.45rem; }
    .point-exchange .section-panel { margin-top: 1.6rem; padding: 3.2rem 1.6rem; border-radius: var(--rb-radius-lg); }
    .point-exchange .section-panel__title { margin-bottom: 2rem; font-size: 2.2rem; }
    .point-exchange .section-panel__product-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .point-exchange .section-panel__product-card { grid-template-columns: 6.4rem minmax(0, 1fr); gap: 1.4rem; padding: 1.4rem 1.6rem; }
    .point-exchange .section-panel__product-image { width: 6.4rem; height: 6.4rem; }
    .point-exchange .section-panel__product-title { font-size: 1.7rem; }
    .point-exchange .section-panel__product-description { font-size: 1.3rem; }
    .point-exchange .section-panel__quote { padding: 2.4rem 2rem; }
    .point-exchange .section-panel__quote-content { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
    .point-exchange .section-panel__quote-title { font-size: 1.8rem; }
    .point-exchange .section-panel__quote-description { font-size: 1.35rem; }
    .point-exchange .section-panel__quote-button { grid-column: 1 / -1; grid-row: 2; width: 100%; }
    .point-exchange .section-panel__quote-character { display: none; }
    .point-exchange .section-panel__quote-character img { width: 6.4rem; margin-bottom: 0; }
    .point-exchange .section-panel__process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .point-exchange .section-panel__step-card { padding: 1.8rem 1.2rem; }
    .point-exchange .section-panel__step-image { width: 6.4rem; height: 6.4rem; margin: 1.2rem auto; }
    .point-exchange .section-panel__step-title { font-size: 1.5rem; }
    .point-exchange .section-panel__step-description { font-size: 1.2rem; }
    .point-exchange .section-panel--trust { padding: 2.8rem 1.6rem; }
    .point-exchange .section-panel__trust-character img { width: 7.2rem; }
    .point-exchange .section-panel__trust-title { font-size: 2rem; }
    .point-exchange .section-panel__trust-description { font-size: 1.35rem; }
    .point-exchange .section-panel__trust-list { gap: .6rem; }
    .point-exchange .section-panel__trust-item { padding: 1.4rem .6rem; }
    .point-exchange .section-panel__trust-item-icon { width: 3.6rem; height: 3.6rem; }
    .point-exchange .section-panel__trust-item-title { font-size: 1.35rem; }
    .point-exchange .section-panel__trust-item-description { font-size: 1.15rem; }
    .point-exchange .notice { font-size: 1.25rem; }
}
