/* Page Header */
#baseBody .page__header { position: relative; }
#baseBody .page__title { position: relative; padding-block: 64px; font-size: 54px; font-weight: 700; line-height: 1.2; letter-spacing: -1.3px; color: var(--color-text-700); }
#baseBody .page__title::before { content: ''; position: absolute; top: 0; right: 0; width: 326px; height: auto; aspect-ratio: 652 / 546; background: url(/common/v2026/images/page/donation/character_04.png) no-repeat center; background-size: 100% auto; }

/* Page Tab */
#baseBody .page__tabs-slider { position: relative; }
#baseBody .page__tabs-viewport { width: 100%; min-width: 0; overflow: hidden; }
#baseBody .page__tabs { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 5px; width: 100%; }
#baseBody .page__tabs-slider.is-slide .page__tabs { flex-wrap: nowrap; gap: 0; width: max-content; }
#baseBody .page__tab { display: inline-flex; flex: 0 0 auto; justify-content: center; align-items: center; width: auto; padding: 16px 32px; border: 1px solid rgba(0, 0, 0, 0); border-radius: 32px; font-size: 20px; font-weight: 700; white-space: nowrap; color: var(--color-text-400); background-color: var(--color-solid-100); transition: all 0.15s ease; }
#baseBody .page__tab:not(.page__tab--active):hover,
#baseBody .page__tab:not(.page__tab--active):focus-visible { border: 1px solid var(--color-line-300); color: var(--color-text-500); background-color: rgba(255, 255, 255, 0.2); }
#baseBody .page__tab:not(.page__tab--active):focus-visible { outline: none; box-shadow: inset 0 0 0 3px #2460C5; }
#baseBody .page__tab--active { pointer-events: none; color: #fff; background-color: var(--color-primary-450); }
#baseBody .page__tab--active:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #2460C5; }
#baseBody .page__tabs-nav { display: none; position: absolute; top: 50%; z-index: 2; justify-content: center; align-items: center; width: 32px; height: 32px; border: 1px solid var(--color-line-300); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); border-radius: 50%; background-color: var(--color-solid-white); transform: translateY(-50%); }
#baseBody .page__tabs-nav-prev { left: 0; }
#baseBody .page__tabs-nav-next { right: 0; }
#baseBody .page__tabs-nav:not(:disabled):hover,
#baseBody .page__tabs-nav:not(:disabled):focus-visible { background-color: var(--color-solid-200); }
#baseBody .page__tabs-nav:disabled,
#baseBody .page__tabs-nav.swiper-button-disabled { opacity: 0; cursor: default; pointer-events: none; }
#baseBody .page__tabs-nav .icon-prev-chevron,
#baseBody .page__tabs-nav .icon-next-chevron { width: 12px; height: 12px; }

@media (max-width: 1024px) {
    #baseBody .page__title { padding-block: 40px 32px; font-size: 32px; }
    #baseBody .page__tabs-slider .page__tabs { flex-wrap: nowrap; gap: 4px; width: max-content; }
    #baseBody .page__tab { padding: 10px 14px; font-size: 14px; }
    #baseBody .page__title::before { width: 200px; }
    #baseBody .page__tabs-nav { display: flex; }
    #baseBody .page__tabs-nav-prev { left: -4px; }
    #baseBody .page__tabs-nav-next { right: -4px; }
}
@media (max-width: 640px) {
    #baseBody .page__title { padding-block: 40px 24px; }
    #baseBody .page__title::before { display: none; }
    #baseBody .page__tabs-nav { width: 24px; height: 24px; }
    #baseBody .page__tabs-nav-prev { left: -8px; }
    #baseBody .page__tabs-nav-next { right: -8px; }
}


/* [1] 정기기부 */
.donation-form-full-wrap { position: relative; width: 100%; max-width: 1208px; margin: 0 auto; padding-top: 120px; padding-bottom: 160px; padding-inline: 16px; }
.page__header:not(:has(.page__tabs-slider)) ~ .donation-form-full-wrap { padding-top: 50px; }

/* Tab Donor Choice */
.donation-donor-choice { display: flex; justify-content: center; align-items: stretch; gap: 16px; width: 100%; margin-bottom: 54px; }
.donation-donor-choice .btn-big-check { min-width: clamp(123px, 18.5vw, 200px); }
.donation-donor-panel[hidden] { display: none !important; }
.donation-step-block { width: 100%; }
.donation-step-title { display: flex; align-items: center; gap: 6px; padding-block: 32px 42px; border-top: 1px solid var(--color-line-400); font-size: 32px; font-weight: 800; color: var(--color-text-300, #8a949e); transition: color 0.2s ease; }
.donation-step-block.is-open .donation-step-title { color: var(--color-text-700); }
.donation-step-block.is-open .donation-step-title .num { color: var(--color-primary-400); }
.donation-step-title .num { color: inherit; }

/* 개인 - Step Accordion Slide
 * 닫힌 패널(0fr)의 intrinsic 높이가 #baseBody/#baseWrap scrollHeight로
 * 새지 않도록 그리드 컨테이너에도 min-height:0 + overflow:hidden 적용
 * (inner만 overflow:hidden이면 푸터 아래 유령 공백이 생김)
 */
.donation-step-panel { display: grid; grid-template-rows: 0fr; min-height: 0; overflow: hidden; transition: grid-template-rows 0.35s ease; }
.donation-step-block.is-open .donation-step-panel { grid-template-rows: 1fr; overflow: visible; }
.donation-step-panel-inner { min-height: 0; overflow: hidden; }
.donation-step-block:not(.is-open) .donation-step-panel-inner { content-visibility: hidden; }
/* 기부금액 리스트가 step 아코디언 overflow에 잘리지 않도록 */
#donation-step-1:has(.donation-amount-select.is-open) { position: relative; z-index: 10; }
#donation-step-1:has(.donation-amount-select.is-open) .donation-step-panel,
#donation-step-1:has(.donation-amount-select.is-open) .donation-step-panel-inner { overflow: visible; }
.donation-step-body { display: flex; flex-direction: column; gap: 32px; width: 100%; padding-block: clamp(16px, 3vw, 48px); padding-inline: clamp(16px, 2.7vw, 40px); border-radius: 16px; background-color: var(--color-solid-100); }
#donation-step-2 .donation-step-body { gap: 0; }
.donation-step-actions { display: flex; justify-content: center; align-items: center; }
.donation-step-block:not(#donation-step-3) .donation-step-actions { padding-block: 24px 80px; }
#donation-step-3 .donation-step-actions { padding-bottom: 8px; }

/* Form rows */
.donation-form-item { width: 100%; }
.donation-form-item .direction-row { display: flex; align-items: center; gap: 4px; padding-block: 16px 24px; font-size: 18px; font-weight: 600; color: var(--color-text-400); }
.donation-form-item .row-bullet { width: 4px; height: 4px; border-radius: 4px; background-color: var(--color-text-400); }
.donation-input-row { display: flex; align-items: center; gap: 16px; width: 100%; padding-block: 24px; border-top: 1px solid var(--color-line-250); }
.donation-input-row .item-label { flex: 0 0 160px; font-size: 18px; font-weight: 700; color: var(--color-text-700); }
.donation-input-row .item-label.required::after,
.pay-field-row .item-label.required::after { content: ' *'; color: var(--color-primary-400); }
.donation-input-row .inputs-wrap { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; }
.donation-input-row .inputs-wrap.donation-radio-group { gap: 16px 32px; }
.donation-radio-fieldset { min-inline-size: 0; }
.donation-radio-fieldset > legend { position: absolute; }
.donation-input-row .unit { font-size: 18px; font-weight: 500; color: var(--color-text-700); }
.donation-guide-txt { width: 100%; margin-top: 8px; font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--color-text-400); }
.donation-guide-txt:empty { display: none; }

/* 특별 - 가치가유 충남119 안내 */
.donation-guide-txt--119 { flex: 1 0 100%; font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--color-text-500); }
.donation-guide-txt--119 strong { font-weight: 700; color: var(--color-primary-400); }

/* Big Check Buttons (기부방식, 결제방식) */
.btn-big-check { display: block; position: relative; min-width: 200px; padding: 16px; border: 1px solid var(--color-line-250); border-radius: 12px; filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.08)); background-color: #fff; transition: opacity 0.2s; }
.btn-big-check::before { content: ''; display: block; position: absolute; inset: 0; border: 2px solid var(--color-text-600); opacity: 0; border-radius: 12px; pointer-events: none; }
.btn-big-check:hover { border-color: var(--color-line-300); }
.btn-big-check:focus-visible { outline-offset: 3px; }
.btn-big-check.active::before,
.btn-big-check.checked::before { opacity: 1; }
.btn-big-check.active:hover,
.btn-big-check.checked:hover { border-color: transparent; }
.btn-big-check .inner-wrap { display: flex; align-items: center; width: 100%; }
.btn-big-check .inner-wrap img { flex-shrink: 0; width: clamp(48px, 7.5vw, 80px); height: auto; }
.btn-big-check .inner-wrap .label { display: block; padding-inline: 12px; font-size: clamp(16px, 1.9vw, 20px); font-weight: 700; text-align: left; color: var(--color-text-700); }
.btn-big-check.square { min-width: 148px; padding: 12px 16px 24px; }
.btn-big-check.square .inner-wrap { flex-direction: column; gap: 0; }
.btn-big-check.square .inner-wrap img { width: 120px; height: 80px; object-fit: contain; }
.btn-big-check.square .inner-wrap .label { font-size: 18px; text-align: center; }
.btns-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Amount Total */
.don-amount-wrap { width: 100%; padding: 32px; border-radius: 12px; background-color: #fff; }
.don-amount-wrap .inner-wrap { display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; color: var(--color-text-400); }
.don-amount-wrap .strong { margin-left: 8px; font-size: 44px; color: var(--color-primary-400); }

/* Amount faux-select (chips = dropdown list; #cntrAmount kept) */
.donation-amount-select { position: relative; z-index: 4; flex: 0 1 220px; width: 220px; min-width: 160px; max-width: 100%; }
.donation-amount-select__btn { display: block; position: relative; width: 100%; height: 56px; padding-inline: 16px 38px; border: 1px solid var(--color-line-300); border-radius: 8px; font-size: 18px; font-weight: 500; line-height: 1; letter-spacing: -0.5px; text-align: left; color: var(--color-text-700); background-color: #fff; transition: border-color 0.15s ease, background-color 0.15s ease; }
.donation-amount-select__btn::after { content: ''; position: absolute; top: 50%; right: 16px; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; pointer-events: none; transition: transform 0.2s ease; transform: translateY(-70%) rotate(45deg); }
.donation-amount-select__btn:hover { border-color: var(--color-line-300); }
.donation-amount-select__btn:focus { border-color: var(--color-line-500); background-color: #fff; }
.donation-amount-select__btn.is-placeholder { color: var(--color-text-400); }
.donation-amount-select.is-open .donation-amount-select__btn { border-color: var(--color-primary-400); background-color: #fff; }
.donation-amount-select.is-open .donation-amount-select__btn::after { transform: translateY(-30%) rotate(225deg); }
.donation-amount-select .amount-chip-row { display: flex; position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; flex-direction: column; gap: 4px; width: max(100%, 220px); max-height: min(320px, 50vh); padding: 12px; border: 1px solid var(--color-line-300); -webkit-overflow-scrolling: touch; overflow-x: hidden; overflow-y: auto; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); border-radius: 16px; background-color: var(--color-solid-white); }
.donation-amount-select .amount-chip-row[hidden] { display: none; }
.donation-amount-select .amount-chip { display: block; width: 100%; min-width: 0; height: auto; padding: 12px 16px; border-radius: 12px; font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.5px; word-break: keep-all; text-align: left; color: var(--color-text-700); }
.donation-amount-select .amount-chip:hover,
.donation-amount-select .amount-chip:focus-visible { color: var(--color-text-700); background-color: var(--color-solid-200); }
.donation-amount-select .amount-chip.is-active { color: var(--color-text-700); background-color: var(--color-red-50); }
.donation-input-row #cntrAmount { flex: 1 1 180px; min-width: 140px; max-width: 280px; }

/* 특별 - 고정금액 비활성 */
.donation-input-row #cntrAmount.is-fixed,
.donation-input-row #cntrAmount[readonly].is-fixed { border-color: var(--color-line-200); cursor: default; color: var(--color-text-500); background-color: var(--color-solid-100, #F3F4F6); }

/* Native inputs inside donation form */
.donation-step-body input[type="text"],
.donation-step-body input[type="password"],
.donation-step-body textarea { height: 56px; padding-inline: 16px; border: 1px solid var(--color-line-300); border-radius: 8px; font-size: 18px; font-weight: 500; color: var(--color-text-700); background-color: #fff; }
.donation-step-body textarea { height: auto; min-height: 120px; padding: 16px; }
.donation-step-body input:focus,
.donation-step-body textarea:focus { border-color: var(--color-line-500); }
.donation-step-body .custom-select { max-width: 408px; }
.donation-step-body .custom-select--sm { max-width: 170px; }
.custom-select__btn { background-color: #fff; }
.donation-form-full-wrap .custom-select__btn:focus-visible { outline-offset: 2px; border-color: #2460C5; }

/* Pay layout sections */
.pay-state-wrap { width: 100%; }
.pay-field-table { width: 100%; }
.pay-field-row { display: flex; align-items: flex-start; gap: 16px; padding: 24px 0; border-top: 1px solid var(--color-line-250); }
.donation-pay-radio-fieldset { min-inline-size: 0; }
.donation-certification-fieldset { min-inline-size: 0; }
.pay-field-row .item-label { flex: 0 0 160px; padding-top: 16px; font-size: 18px; font-weight: 700; color: var(--color-text-700); }
.pay-field-row .item-body { flex: 1; min-width: 0; }
.pay-field-row .item-body--inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* 이미지 인증
.donation-captcha__entry,
.donation-captcha__actions { display: contents; }
*/
.pay-field-row .inp-w-280 { max-width: 280px; }
.pay-field-row .inp-w-196 { max-width: 196px; }
.pay-field-row .custom-select--full { width: 100%; max-width: 408px; }
.donation-step-body .ime-disabled { ime-mode: disabled; }
.pay-field-row .day-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pay-field-row .donation-card-exp .custom-select--sm { width: 170px; max-width: 100%; }
.donation-input-row .day-form span:not(:last-child),
.pay-field-row .day-form span:not(:last-child) { margin-right: 8px; }
.pay-field-row .phone-area,
.pay-field-row .jumin-area,
.pay-field-row .email-area,
.pay-field-row .post-code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pay-field-row .email-area #email1,
.pay-field-row .email-area #email2 { min-width: 0; max-width: 230px; }

/* 주소: 우편번호·기본주소 */
.pay-field-row .donation-address-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pay-field-row .donation-address-body .post-code #zip { flex: 1 1 0; width: 100%; max-width: 196px; }
.pay-field-row .donation-address-body #adres1,
.pay-field-row #adres2 { width: 100%; }

/* 우편번호·기본주소 영수증 미신청 시 / 본인인증 고정 필드 비활성 */
.donation-step-body #zip[readonly],
.donation-step-body #adres1[readonly],
.donation-step-body #jumin1[readonly],
.donation-step-body #jumin2[readonly],
.donation-step-body #nm01[readonly],
.donation-step-body #phone1[readonly],
.donation-step-body #phone2[readonly],
.donation-step-body #phone3[readonly],
.donation-step-body #phone01[readonly],
.donation-step-body #phone02[readonly],
.donation-step-body #phone03[readonly],
.donation-step-body #jumin1:disabled,
.donation-step-body #jumin2:disabled,
.donation-step-body #email1:disabled,
.donation-step-body #email2:disabled { border-color: var(--color-line-150); cursor: default; color: var(--color-text-500); background-color: var(--color-solid-300); }
.donation-step-body .custom-select__btn:disabled,
.donation-step-body .custom-select[inert] .custom-select__btn { border-color: var(--color-line-150); cursor: default; background-color: var(--color-solid-300); }

/* 카드번호 */
.donation-card-no { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.donation-card-no input.donation-card-no__part { width: 196px; width: calc(25% - 8px); max-width: 196px; line-height: 1; letter-spacing: -0.4px; }
.donation-card-no input.donation-card-no__part::placeholder { font-weight: 600; color: var(--color-text-200, #b1b8be); }
.donation-card-no input.donation-card-no__part:focus { border-color: var(--color-line-500); }

/* Auth Button */
.btn-auth { display: inline-flex; justify-content: center; align-items: center; gap: 4px; padding: 16px 36px 16px 16px; border: 1px solid var(--color-line-300); border-radius: 12px; filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.08)); font-size: 20px; font-weight: 700; color: var(--color-text-500); background: #fff; }
.btn-auth__icon { display: block; flex-shrink: 0; width: 80px; height: 80px; }
.btn-auth__label { flex-shrink: 0; }
.btn-auth.selected,
.btn-auth:disabled { opacity: 0.7; cursor: default; }

/* Radio */
.donation-radio-group,
.donation-check-group { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.donation-radio-group { padding-block: 14px; }
.donation-radio-group .radio { display: inline-flex; position: relative; align-items: center; }
.donation-radio-group .radio input[type="radio"] { position: absolute; top: 0; left: 0; z-index: 1; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; }
.donation-radio-group .radio label { display: inline-flex; position: relative; align-items: center; min-height: 20px; padding-left: 26px; font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--color-text-500, #33363d); }
.donation-radio-group .radio label::before { content: ""; display: block; position: absolute; top: 50%; left: 0; z-index: 1; width: 20px; height: 20px; margin-top: -10px; border: 1px solid var(--color-line-300, #6d7882); border-radius: 50%; background-color: #fff; transition: border-color 0.15s ease, background-color 0.15s ease; }
.donation-radio-group .radio label::after { content: ""; display: block; position: absolute; top: 50%; left: 5px; z-index: 2; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background-color: var(--color-primary-400, #ee243e); transition: transform 0.15s ease; transform: scale(0); }
.donation-radio-group .radio input[type="radio"]:checked + label::before { border-color: var(--color-primary-400, #ee243e); background-color: #fff; }
.donation-radio-group .radio input[type="radio"]:checked + label::after { transform: scale(1); }
.donation-radio-group .radio input[type="radio"]:focus-visible + label::before { outline: 2px solid var(--color-primary-400, #ee243e); outline-offset: 2px; }
/* 레거시 hover ripple 무력화 */
.donation-radio-group .radio label span::before,
.donation-radio-group .radio label:hover span::before,
.donation-radio-group .radio input:focus-visible + label span::before,
.donation-radio-group .radio input:checked + label span::before,
.donation-radio-group .radio input:checked + label:hover span::before { content: none; display: none; background: none; transform: none; }
.donation-check-group .checkbox { display: inline-flex; position: relative; align-items: center; }
.donation-check-group .checkbox input[type="checkbox"] { position: absolute; top: 0; left: 0; z-index: 1; width: 28px; height: 28px; margin: 0; opacity: 0; cursor: pointer; }
.donation-check-group .checkbox label { display: inline-flex; position: relative; align-items: center; padding-left: 36px; font-size: 18px; font-weight: 700; }

/* Checkbox */
.donation-check-group .checkbox label::before { content: ""; display: block; position: absolute; top: 50%; left: 0; z-index: 1; width: 28px; height: 28px; border: 2px solid var(--color-line-250); border-radius: 6px; background-color: var(--color-solid-200, #f4f5f6); transition: border-color 0.15s ease, background-color 0.15s ease; transform: translateY(-50%); }
.donation-check-group .checkbox label::after { content: ""; display: block; position: absolute; top: 50%; left: 9px; z-index: 2; width: 8px; height: 14px; margin-top: -9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transition: transform 0.15s ease; transform: rotate(45deg) scale(0); }
.donation-check-group .checkbox input[type="checkbox"]:checked + label::before { border-color: var(--color-primary-400, #ee243e); background-color: var(--color-primary-400, #ee243e); }
.donation-check-group .checkbox input[type="checkbox"]:checked + label::after { transform: rotate(45deg) scale(1); }
.donation-check-group .checkbox input[type="checkbox"]:focus-visible + label::before { outline: 2px solid var(--color-primary-400, #ee243e); outline-offset: 2px; }
/* 레거시 checkbox ripple 무력화 */
.donation-check-group .checkbox label span::before,
.donation-check-group .checkbox label:hover span::before,
.donation-check-group .checkbox input:focus-visible + label span::before,
.donation-check-group .checkbox input:checked + label span::before,
.donation-check-group .checkbox input:checked + label:hover span::before { content: none; display: none; background: none; transform: none; }

/* Agreement */
.donation-agreement-wrap { display: flex; position: relative; flex-direction: column; width: 100%; margin-block: 40px 48px; padding-inline: 16px; border-radius: 0; background: transparent; }
.donation-agreement-wrap__body { display: flex; flex-direction: column; gap: 20px; width: 100%; padding-right: 160px; }
.donation-agreement-fieldset { display: flex; flex-direction: column; gap: 20px; width: 100%; min-inline-size: 0; }
.donation-agreement-wrap .donation-check-group { gap: 8px; }
.donation-agreement-wrap .comment-row { font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -0.02em; color: var(--color-text-500); }
.donation-agreement-wrap a { margin-left: 0.1em; font-size: 18px; font-weight: 700; }
.donation-agree-policy { display: inline-flex; position: absolute; top: 14px; right: 16px; justify-content: center; align-items: center; min-width: 0; height: auto; padding: 8px 12px; border: 1px solid var(--color-line-300, #8a949e); border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1; color: var(--color-text-500, #33363d); background-color: #fff; transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.donation-agree-policy:hover { border-color: var(--color-solid-900); color: #fff; background-color: var(--color-solid-900); }

/* CTA Buttons */
.donation-btn { display: inline-flex; justify-content: center; align-items: center; padding: 16px 28px; border-radius: 40px; font-size: 18px; font-weight: 700; color: #fff; background-color: var(--color-primary-450); transition: background-color 0.15s ease; }
.donation-btn:hover { background-color: var(--color-solid-900); }
.donation-btn.is-disabled,
.donation-btn:disabled { pointer-events: none; color: #fff; background-color: var(--color-solid-300, #c5ccd3); }
.donation-btn.is-disabled:hover,
.donation-btn:disabled:hover { background-color: var(--color-solid-300, #c5ccd3); }
.donation-btn--xl { padding: 22px 36px; font-size: 24px; }
.donation-btn--ghost { color: var(--color-text-500); background-color: var(--color-solid-200); }
.donation-btn--ghost:hover { color: #fff; background-color: var(--color-solid-800); }
.donation-btn--outline { border: 1px solid var(--color-line-300); color: var(--color-text-700); background-color: #fff; }
.donation-btn--outline:hover { border-color: var(--color-solid-900); color: #fff; background-color: var(--color-solid-900); }
.donation-btn--sm { min-width: 0; height: 56px; padding-inline: 18px; border-radius: 8px; font-size: 16px; }

/* 결제방식 확인하기 */
.donation-pay-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 8px 0 0 176px; }
.donation-pay-guide__txt { font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: -0.32px; color: var(--color-text-600); }
.donation-pay-guide__btn { display: inline-flex; justify-content: center; align-items: center; gap: 2px; padding: 6px 8px 6px 10px; border: 1px solid var(--color-line-300); border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: -0.28px; color: var(--color-text-600); background: #fff; }
.donation-pay-guide__btn:hover { border-color: var(--color-line-500); color: var(--color-text-700); }
.donation-pay-guide__icon { flex-shrink: 0; width: 14px; height: 14px; }

/* Banner Consulting */
.banner-consulting { display: block; width: 100%; max-width: 1208px; margin-top: 65px; margin-inline: auto; overflow: hidden; border-radius: 16px; line-height: 0; }
.banner-consulting picture,
.banner-consulting img { display: block; width: 100%; height: auto; }

/* Modal Popup: 금액 경고, 결제방식 안내 - 코너 X는 .ui-modal-footer 미사용 → uiModal f_h 이중가산 회피 */
#baseLayer .ui-modal.type-donation-alert,
#baseLayer .ui-modal.type-donation-pay-guide { width: 390px; max-width: calc(100% - 30px); height: auto !important; overflow: hidden; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16); border-radius: 16px; background: #fff; }
#baseLayer .ui-modal.type-donation-pay-guide { width: 826px; }
#baseLayer .ui-modal.type-donation-alert .ui-modal-wrap,
#baseLayer .ui-modal.type-donation-pay-guide .ui-modal-wrap { position: relative; height: auto !important; overflow: hidden; box-shadow: none; border-radius: 16px; background: #fff; }

/* Modal Popup: 닫기 */
#baseLayer .ui-modal.type-donation-alert .donation-modal-close,
#baseLayer .ui-modal.type-donation-pay-guide .donation-modal-close { display: flex; position: absolute; top: 12px; right: 12px; z-index: 2; justify-content: center; align-items: center; width: 32px !important; height: 32px; border-radius: 8px; background: transparent !important; background-image: none !important; }
#baseLayer .ui-modal.type-donation-alert .donation-modal-close:hover,
#baseLayer .ui-modal.type-donation-alert .donation-modal-close:focus-visible,
#baseLayer .ui-modal.type-donation-pay-guide .donation-modal-close:hover,
#baseLayer .ui-modal.type-donation-pay-guide .donation-modal-close:focus-visible { background-color: var(--color-solid-100); }
#baseLayer .ui-modal.type-donation-alert .donation-modal-close::before,
#baseLayer .ui-modal.type-donation-alert .donation-modal-close::after,
#baseLayer .ui-modal.type-donation-pay-guide .donation-modal-close::before,
#baseLayer .ui-modal.type-donation-pay-guide .donation-modal-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background-color: var(--color-text-500); }
#baseLayer .ui-modal.type-donation-alert .donation-modal-close::before,
#baseLayer .ui-modal.type-donation-pay-guide .donation-modal-close::before { transform: translate(-50%, -50%) rotate(45deg); }
#baseLayer .ui-modal.type-donation-alert .donation-modal-close::after,
#baseLayer .ui-modal.type-donation-pay-guide .donation-modal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

#baseLayer .ui-modal.type-donation-alert .ui-modal-cont,
#baseLayer .ui-modal.type-donation-pay-guide .ui-modal-cont { height: auto !important; max-height: none !important; background-color: transparent; }
#baseLayer .ui-modal.type-donation-alert .ui-modal-cont { padding: 48px 24px 28px; text-align: center; }
#baseLayer .ui-modal.type-donation-alert .donation-alert-msg { margin-bottom: 24px; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--color-text-700); }
#baseLayer .ui-modal.type-donation-alert .donation-alert-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
#baseLayer .ui-modal.type-donation-alert .donation-btn { min-width: 120px; border-radius: 40px; }

/* step3: 기부금영수증 입력 영역(신청 선택 후 아코디언 오픈) */
.donation-receipt-anchor { height: 1px; margin: 0; padding: 0; overflow: hidden; pointer-events: none; }
.donation-receipt-fields { display: none; overflow: hidden; }
#baseLayer .ui-modal.type-donation-pay-guide .ui-modal-cont { padding: 40px 32px 28px; }

/* Modal Popup: 기부금영수증 안내 */
.donation-pay-guide-modal__head { padding-bottom: 20px; border-bottom: 1px solid var(--color-line-250); line-height: 1.4; text-align: left; }
.donation-pay-guide-modal__lead { font-size: 18px; font-weight: 500; }
.donation-pay-guide-modal__lead strong { font-weight: 700; color: var(--color-text-700); }
.donation-pay-guide-modal__sub { font-size: 18px; font-weight: 500; color: var(--color-text-500); }
.donation-pay-guide-modal__list { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--color-line-250); }
.donation-pay-guide-modal__item { display: flex; flex: 1; flex-direction: row; align-items: center; gap: 12px; min-width: 0; text-align: left; }
.donation-pay-guide-modal__icon { flex-shrink: 0; width: 90px; height: 80px; }
.donation-pay-guide-modal__pay-icons { width: 90px; }
.donation-pay-guide-modal__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.donation-pay-guide-modal__name { font-size: 16px; font-weight: 600; color: var(--color-text-400); }
.donation-pay-guide-modal__when { font-size: 20px; font-weight: 800; color: var(--color-text-700); }
.donation-pay-guide-modal__foot { margin: 20px 0 0; font-size: 15px; line-height: 1.5; text-align: center; color: var(--color-text-500); }
.donation-pay-guide-modal__foot em { font-weight: 700; color: var(--color-primary-450); }

/* A11y helpers */
.hide { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.donation-input-row .phone-area,
.donation-input-row .day-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.donation-input-row .phone-area input[type="text"],
.pay-field-row .phone-area input[type="text"] { width: 130px; min-width: 0; max-width: 130px; }
.donation-input-row .phone-area > span,
.pay-field-row .phone-area > span { flex: 0 0 auto; }

/* Legacy layout hooks still used by JS */
.show-after-success { display: none; }

/* 본인인증 전 숨김처리 */
#donation-step-2 .donation-input-row.show-after-success { display: none; }
#donation-step-2 .donation-input-row.show-after-success.is-visible { display: flex; }

/* 만 14세 미만 */
#donation-step-2 #childInfo { display: none; }
.sign-wrap { width: 100%; max-width: 425px; aspect-ratio: 2 / 1; border: 1px solid var(--color-line-200); border-radius: 8px; background: #fff; overflow: hidden; }
.sign-wrap canvas { display: block; width: 100%; height: 100%; }
#signature-pad .donation-btn { margin-top: 8px; }
.addcert { margin-top: 12px; }

/* 초기 숨김: radioEvent()의 jQuery show/hide가 전환 */
.addcert.n2,
.addcert.n3 { display: none; }
.addcert .phone-area { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.donation-sub-label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--color-text-500); }
.donation-agree-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.donation-agree-intro .donation-guide-txt { margin-top: 0; }
.addcert .fileupload-area { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.addcert .fileupload-area .inp-base { flex: 1 1 200px; min-width: 0; max-width: 360px; }
.list-fileupload { margin-top: 8px; }

/* 기업 - 기부상담신청 */
.donation-corp-notice { padding-block: 32px 36px; border-top: 1px solid var(--color-line-400); border-bottom: 1px solid var(--color-line-250); font-size: 20px; font-weight: 700; line-height: 1.6; word-break: keep-all; text-align: center; }
.donation-corp-form { display: flex; flex-direction: column; padding-top: 60px; padding-inline: clamp(24px, 4vw, 68px); }
.donation-corp-form__head { margin-bottom: 46px; }
.donation-corp-form__title { margin-bottom: 16px; font-size: 32px; font-weight: 700; color: var(--color-text-700); }
.donation-corp-form__desc { margin-bottom: 24px; font-size: 18px; color: var(--color-text-400); }
.donation-corp-form__req { padding-bottom: 16px; border-bottom: 1px solid var(--color-line-250); font-size: 14px; text-align: right; color: var(--color-text-400); }
.donation-corp-form__req .req { color: var(--color-primary-450); }
.donation-corp-form__grid { display: grid; gap: 36px clamp(24px, 2.7vw, 50px); grid-template-columns: 1fr 1fr; margin-bottom: 46px; }
.donation-corp-form__col { display: flex; flex-direction: column; align-items: stretch; gap: 16px; width: 100%; min-width: 0; }
.donation-corp-form > .donation-corp-form__col { margin-bottom: 36px; }
.donation-corp-form__label { font-size: 18px; font-weight: 700; color: var(--color-text-700); }
.donation-corp-form__label.required::after { content: ' *'; color: var(--color-primary-400); }
.donation-corp-form__field { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; min-width: 0; }
.donation-corp-form__field > .custom-select { width: 100%; max-width: none; }
.donation-corp-form__field > .custom-select--sm { flex: 1 1 140px; width: auto; min-width: 140px; }
.donation-corp-form__field #companyNm { width: 100%; max-width: none; }
.donation-corp-form__phone-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; width: 100%; min-width: 0; }
.donation-corp-form__phone-row > span { flex: 0 0 auto; }
.donation-corp-form__phone-row #companyPhone1,
.donation-corp-form__phone-row #companyPhone2,
.donation-corp-form__phone-row #companyPhone3 { flex: 1 1 0; width: auto; min-width: 0; max-width: none; }
.donation-corp-form__phone-row #companyCheckPlus { flex: 0 0 auto; }
.donation-corp-form__field .donation-guide-txt { font-size: 16px; }
.donation-corp-form__field #companyEmail1,
.donation-corp-form__field #companyEmail2 { flex: 1 1 120px; width: auto; min-width: 0; max-width: none; }
.donation-corp-form input[type="text"] { height: 56px; padding-inline: 16px; border: 1px solid var(--color-line-300); border-radius: 8px; font-size: 18px; font-weight: 500; color: var(--color-text-700); background-color: var(--color-solid-100); }
.donation-corp-form textarea { width: 100%; min-height: 180px; padding: 16px; border: 1px solid var(--color-line-300); border-radius: 8px; resize: none; font-weight: 500; background-color: var(--color-solid-100); }
.donation-corp-form__field input:not([readonly]):not(:disabled),
.donation-corp-form__field .custom-select__btn:not(:disabled),
.donation-corp-form__field textarea:not(:disabled) { background-color: #fff; }
.donation-corp-form textarea::placeholder { color: var(--color-text-300); }
.donation-corp-form .donation-check-group .checkbox label { margin-bottom: 24px; padding-left: 32px; }
.donation-corp-form .donation-check-group .checkbox label::before { width: 22px; height: 22px; border: 1px solid var(--color-line-300); border-radius: 4px; background-color: #fff; }
.donation-corp-form .donation-check-group .checkbox label::after { left: 8px; width: 7px; height: 12px; margin-top: -8px; }
.donation-corp-form__agree { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin-block: 24px 32px; }
.donation-corp-form .privacy-table { border-collapse: collapse; background-color: #fff; }
.donation-corp-form .privacy-table tr:first-child { border-top: 1px solid var(--color-line-250); }
.donation-corp-form .privacy-table th,
.donation-corp-form .privacy-table td { padding: 16px; border-bottom: 1px solid var(--color-line-250); font-size: 14px; text-align: left; vertical-align: top; background-color: var(--color-solid-100); }
.donation-corp-form .privacy-table th { width: 160px; font-weight: 400; word-break: keep-all; color: var(--color-text-500); }
.donation-corp-form .privacy-table td { font-weight: 500; }
.donation-corp-form__note { margin-top: 16px; margin-bottom: 10px; font-size: 16px; }
.donation-corp-agree-policy { padding: 8px 12px; border: 1px solid var(--color-line-300); border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: -0.28px; color: var(--color-text-600); background-color: #fff; }

@media (max-width: 1024px) {
    .donation-form-full-wrap { padding-top: 50px; padding-bottom: 80px; }
    .page__header:not(:has(.page__tabs-slider)) ~ .donation-form-full-wrap { padding-top: 20px; }
    .donation-step-title { padding-block: 24px; font-size: 24px; }
    .donation-pay-guide { padding: 0; }
    .donation-input-row,
    .pay-field-row { flex-direction: column; align-items: stretch; }
    .donation-input-row .item-label,
    .pay-field-row .item-label { flex-basis: auto; padding-top: 0; }
    .pay-field-row .item-label .desktop-break { display: none; }
    .donation-input-row .item-label .desktop-break { display: none; }
    .don-amount-wrap .strong { font-size: 36px; }
    .donation-input-row .unit { flex: 0 0 auto; }
    .banner-consulting { border-radius: 12px; }
    .donation-agreement-wrap__body { padding-right: 0; }
    .donation-agree-policy { position: static; width: fit-content; margin-top: 16px; }

    /* 기업 - 기부상담신청 */
    .donation-corp-form__grid { gap: 20px; grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .donation-donor-choice { gap: 8px; }
    .donation-step-title { padding-block: 24px; }
    .donation-form-item .direction-row { padding-block: 14px; font-size: 16px; }
    .donation-step-body { gap: 16px; }
    .donation-input-row .item-label,
    .pay-field-row .item-label { font-size: 16px; }
    .donation-step-body input[type="text"],
    .donation-step-body input[type="password"],
    .donation-step-body textarea { height: 42px; padding-inline: 12px; font-size: 15px; }
    .donation-amount-select__btn,
    .custom-select__btn { height: 42px; padding-inline: 12px 42px; font-size: 15px; }
    .donation-input-row #cntrAmount { flex: 1 1 0; min-width: 0; max-width: none; }
    .don-amount-wrap { padding: 20px 16px; }
    .don-amount-wrap .inner-wrap { font-size: 16px; }
    .donation-amount-select__btn::after { right: 12px; }
    .don-amount-wrap .strong { font-size: 26px; }
    .donation-step-block:not(#donation-step-3) .donation-step-actions { padding-block: 16px 40px; }
    .donation-amount-select { flex: 1 1 100%; width: 100%; max-width: none; }
    .donation-amount-select .amount-chip-row { padding: 8px; border-radius: 12px; }
    .donation-amount-select .amount-chip { padding: 10px 12px; border-radius: 8px; font-size: 15px; }
    .btn-auth { padding: 12px 24px 12px 12px; font-size: 18px; }
    .btn-auth__icon { width: 56px; height: 56px; }
    .donation-guide-txt { font-size: 14px; }
    .donation-input-row .inputs-wrap { gap: 8px; }
    .btn-big-check.square { min-width: calc(50% - 6px); }
    .btn-big-check.square .inner-wrap img { width: 80px; height: 54px; }
    .btn-big-check .inner-wrap .label,
    .btn-big-check.square .inner-wrap .label { font-size: 15px; }
    .donation-pay-guide__txt { font-size: 14px; }

    /* Modal Popup: 기부금영수증 안내 */
    .donation-pay-guide-modal__lead { font-size: 16px; }
    .donation-pay-guide-modal__sub { font-size: 16px; }
    .donation-pay-guide-modal__list { flex-direction: column; gap: 12px; }
    .donation-pay-guide-modal__foot { text-align: left; }
    .donation-btn--xl { padding: 16px 28px; font-size: 18px; }

    /* BirthDay */
    .donation-input-row .day-form { gap: 6px; }
    .donation-input-row .day-form > .custom-select--sm { max-width: none; }
    .donation-input-row .day-form > .custom-select--sm:nth-child(1),
    .pay-field-row .day-form > .custom-select--sm:nth-child(1) { width: auto; min-width: 0; }
    .donation-input-row .day-form > .custom-select--sm:nth-child(3),
    .donation-input-row .day-form > .custom-select--sm:nth-child(5),
    .pay-field-row .day-form > .custom-select--sm:nth-child(3),
    .pay-field-row .day-form > .custom-select--sm:nth-child(5) { width: auto; min-width: 0; }
    .donation-input-row .day-form > span,
    .pay-field-row .day-form > span { flex: 0 0 auto; }
    .donation-input-row .day-form span:not(:first-child),
    .pay-field-row .day-form span:not(:first-child) { margin-right: 0; }
    .donation-btn--sm { height: 42px; padding-inline: 12px; font-size: 15px; }

    /* 이미지 인증
    .pay-field-row .item-body--inline:has(#captcha) { flex-direction: column; align-items: flex-start; }
    .donation-captcha__entry,
    .donation-captcha__actions { display: flex; align-items: center; gap: 8px; }
    .donation-captcha__entry { width: 100%; }
    .donation-captcha__entry #captcha { flex: 1 1 auto; width: auto; min-width: 0; max-width: none; }
    .donation-captcha__entry #captchaImg { flex: 0 0 auto; }
    */

    /* Phone */
    .donation-input-row .phone-area { flex-wrap: nowrap; }
    .donation-input-row .phone-area input[type="text"],
    .pay-field-row .phone-area input[type="text"] { flex: 1 1 0; width: auto; max-width: none; padding-inline: 12px; }
    #arsCheck { width: 100%; }

    /* Credit Card Number */
    .pay-field-row .donation-card-exp { flex-wrap: nowrap; width: 100%; }
    .pay-field-row .donation-card-exp > .custom-select--sm { width: auto; min-width: 0; max-width: none; }
    .pay-field-row .donation-card-exp > .custom-select--sm:nth-child(1) { flex: 4 1 0; }
    .pay-field-row .donation-card-exp > .custom-select--sm:nth-child(2) { flex: 6 1 0; }

    /* Resident Registration Number */
    .pay-field-row .jumin-area { flex-wrap: nowrap; width: 100%; }
    .pay-field-row .jumin-area > span { flex: 0 0 auto; }
    .pay-field-row .jumin-area input[type="text"],
    .pay-field-row .jumin-area input[type="password"] { flex: 1 1 0; width: auto; min-width: 0; max-width: none; }

    /* Email */
    .pay-field-row .email-area { width: 100%; }
    .pay-field-row .email-area > span { flex: 0 0 auto; }
    .pay-field-row .email-area #email1,
    .pay-field-row .email-area #email2 { flex: 1 1 0; width: auto; min-width: 0; max-width: none; }
    .pay-field-row .email-area > .custom-select { flex: 1 1 100%; width: 100%; max-width: none; }

    /* Agreement */
    .donation-agreement-wrap { margin-block: 35px 32px; }
    .donation-check-group .checkbox label { padding-left: 30px; font-size: 16px; }
    .donation-check-group .checkbox label::before { width: 22px; height: 22px; }
    .donation-check-group .checkbox label::after { left: 8px; width: 7px; height: 12px; }
    .donation-agreement-wrap a { font-size: 16px; }
    .donation-agreement-wrap .comment-row { font-size: 15px; }

    /* 기업 - 기부상담신청 */
    .donation-corp-form { padding-top: 24px; padding-inline: 0; }
    .donation-corp-notice { padding-block: 24px; font-size: 16px; line-height: 1.5; }
    .donation-corp-form__desc { font-size: 15px; }
    .donation-corp-form__head { margin-bottom: 32px; }
    .donation-corp-form__title { margin-bottom: 8px; font-size: 24px; }
    .donation-corp-form__label { font-size: 16px; }
    .donation-corp-form input[type="text"],
    .donation-corp-form textarea { height: 42px; padding-inline: 12px; font-size: 15px; }
    .donation-corp-form__field > .custom-select--sm { flex: 1 1 100%; width: 100%; min-width: 0; }
    .donation-corp-form__field .donation-guide-txt { font-size: 14px; }
    .donation-corp-form .privacy-table th,
    .donation-corp-form .privacy-table td { padding: 12px 10px; }
    .donation-corp-form .privacy-table th { width: 90px; }
    .donation-corp-form__note { font-size: 14px; }
    .donation-corp-form__agree { margin-block: 12px 24px; }
    .donation-corp-agree-policy { font-size: 13px; }
}


/* [2] 일시기부 */
.donation-ars-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 0; margin-bottom: 32px; padding: 28px 24px; border: 1px solid var(--color-line-250); border-radius: 12px; background-color: var(--color-solid-50); }
.donation-ars-banner__lead { display: flex; align-items: center; gap: 20px; min-width: 0; }
.donation-ars-banner__icon { flex: 0 0 auto; width: 48px; height: 48px; overflow: visible; }
.donation-ars-banner__copy { font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -0.4px; word-break: keep-all; color: var(--color-text-600); }
.donation-ars-banner__copy strong { font-weight: 700; }
.donation-ars-banner__link { flex: 0 0 auto; }

.donation-account-head { padding-block: 32px 48px; border-top: 1px solid var(--color-line-400); font-size: 24px; font-weight: 700; text-align: center; color: var(--color-text-700); }
.donation-account-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.donation-account-card { display: flex; align-items: stretch; padding: 32px; border: 1px solid var(--color-line-250); border-radius: 12px; background-color: #fff; }
.donation-account-card__info { display: flex; flex: 1 1 200px; flex-direction: column; align-items: flex-start; gap: 12px; width: 200px; max-width: 200px; min-width: 0; }
.donation-account-card__name { font-size: 20px; font-weight: 700; line-height: 1; letter-spacing: -0.4px; color: var(--color-text-500); }
.donation-account-card__tel { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: -0.32px; color: var(--color-text-400); }
.donation-account-card__tel-icon { flex: 0 0 auto; width: 16px; height: 16px; fill: currentColor; color: var(--color-text-400); }
.donation-account-card__holder { margin-top: 4px; font-size: 16px; font-weight: 500; line-height: 1.25; letter-spacing: -0.32px; color: var(--color-text-500); }
.donation-account-card__holder dt { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -0.3px; color: var(--color-text-400); }
.donation-account-card__holder dd { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 4px 0; }
.donation-account-card__holder dd span { word-break: keep-all; }
.donation-account-card__accounts { display: flex; flex: 1.6 1 0; flex-direction: column; gap: 8px; min-width: 0; padding-left: 32px; border-left: 1px solid var(--color-line-250); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: -0.32px; color: var(--color-text-500); }
.donation-biz-no { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.donation-biz-no input { width: 120px; max-width: 100%; }
#point { display: none; }
.donation-pay-desc { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 16px; margin-top: 16px; padding-left: 176px; }
.donation-pay-desc__txt { font-size: 16px; font-weight: 500; letter-spacing: -0.32px; color: var(--color-text-600); }
.donation-pay-desc__txt strong { font-weight: 500; color: var(--color-primary-500); }
#pay04_desc,
#pay05_desc,
#pay03_desc { display: none; }
.pay-field-row.juminLayout > .item-label { padding-top: 0; }

/* Modal Popup: 기부금영수증 안내 */
.type-donation-pay-guide--lump .mobile-break { display: none; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__fast { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--color-line-250); }
.type-donation-pay-guide--lump .donation-pay-guide-modal__fast-label,
.type-donation-pay-guide--lump .donation-pay-guide-modal__fast-pay,
.type-donation-pay-guide--lump .donation-pay-guide-modal__fast-action { flex: 1 1 0; width: auto; min-width: 0; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__fast-label { font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: -0.32px; word-break: keep-all; color: var(--color-text-700); }
.type-donation-pay-guide--lump .donation-pay-guide-modal__fast-label span { display: block; padding: 12px 16px; border-radius: 8px; background-color: #ffd117; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__fast-pay { display: flex; align-items: center; gap: 4px; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__fast-action { display: flex; align-items: center; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__fast-pay .donation-pay-guide-modal__text { flex: 0 0 140px; width: 140px; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__account { display: inline-flex; flex: 0 0 auto; align-items: center; padding: 8px; border: 1px solid var(--color-line-400); border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--color-text-500); background-color: #fff; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__account:hover { border-color: var(--color-line-500); color: var(--color-text-700); }
.type-donation-pay-guide--lump .donation-pay-guide-modal__account:focus-visible { outline-offset: 2px; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__account-icon { flex-shrink: 0; width: 16px; height: 16px; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__cloud { min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--color-text-500); }
.type-donation-pay-guide--lump .donation-pay-guide-modal__list { padding-block: 24px; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__item { gap: 4px; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__item .donation-pay-guide-modal__text { flex: 0 0 140px; width: 140px; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__text { gap: 6px; }
.type-donation-pay-guide--lump .donation-pay-guide-modal__name--compact { font-size: 14px; }

@media (max-width: 1024px) {
    .donation-ars-banner__copy { font-size: 18px; }

    .donation-pay-desc { padding-left: 0; }

    .donation-account-list { grid-template-columns: 1fr; }
    .donation-account-card { flex-direction: column; gap: 16px; padding: 20px; }
    .donation-account-card__info { flex: none; width: 100%; max-width: none; }
    .donation-account-card__accounts { width: 100%; padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--color-line-150); font-size: 15px; letter-spacing: -0.3px; }
}

@media (max-width: 768px) {
    .donation-ars-banner { flex-direction: column; padding: 24px 18px; }
    .donation-ars-banner__lead { flex-direction: column; }
    .donation-ars-banner__copy { font-size: min(4vw, 18px); text-align: center; }

    .donation-account-head { padding-block: 26px 34px; font-size: 20px; }
    .donation-pay-desc__txt { font-size: 14px; }
    /* Modal Popup: 기부금영수증 안내 */
    .donation-pay-guide-modal__name .desktop-break  { display: none; }
    .donation-pay-guide-modal__foot .desktop-break { display: none; }
    .type-donation-pay-guide--lump .mobile-break { display: block; }
    #baseLayer .ui-modal.type-donation-pay-guide--lump { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; }
    #baseLayer .ui-modal.type-donation-pay-guide--lump,
    #baseLayer .ui-modal.type-donation-pay-guide--lump .ui-modal-wrap { border-radius: 12px; }
    #baseLayer .ui-modal.type-donation-pay-guide--lump .ui-modal-wrap { max-height: inherit; overflow: hidden; }
    #baseLayer .ui-modal.type-donation-pay-guide--lump .ui-modal-cont { max-height: calc(100vh - 32px) !important; max-height: calc(100dvh - 32px) !important; padding: 40px 20px 32px; overflow-y: auto !important; -webkit-overflow-scrolling: touch; }
    .type-donation-pay-guide--lump .donation-pay-guide-modal__fast { flex-direction: column; justify-content: center; gap: 4px; padding-block: 20px; }
    .type-donation-pay-guide--lump .donation-pay-guide-modal__fast-label,
    .type-donation-pay-guide--lump .donation-pay-guide-modal__fast-pay,
    .type-donation-pay-guide--lump .donation-pay-guide-modal__fast-action { flex: none; }
    .type-donation-pay-guide--lump .donation-pay-guide-modal__fast-label { width: 100%; text-align: center; }
    .type-donation-pay-guide--lump .donation-pay-guide-modal__fast-action { width: 100%; justify-content: center; }
    .type-donation-pay-guide--lump .donation-pay-guide-modal__cloud { width: 100%; }
    .type-donation-pay-guide--lump .donation-pay-guide-modal__list { align-items: flex-start; gap: 0; padding-block: 12px; }
    .type-donation-pay-guide--lump .donation-pay-guide-modal__item { flex: none; width: 100%; }
    .type-donation-pay-guide--lump .donation-pay-guide-modal__foot { margin-top: 16px; font-size: 14px; letter-spacing: -0.28px; text-align: left; }
}


/* [3] ARS/문자/무통장입금 */
.donation-ars-page { display: flex; flex-direction: column; gap: 72px; }
.donation-ars-methods { display: flex; flex-direction: column; gap: 48px; }
.donation-ars-methods__lead { font-size: 24px; font-weight: 700; line-height: 1.4; word-break: keep-all; text-align: center; color: var(--color-text-500); }
.donation-ars-methods__lead .mobile-break { display: none; }
.donation-ars-methods__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.donation-ars-method { display: flex; align-items: center; gap: 24px; min-width: 0; padding: 24px; border: 1px solid var(--color-line-250); border-radius: 16px; box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.08); background-color: #fff; }
.donation-ars-method__icon { flex: 0 0 auto; width: 160px; height: 160px; }
.donation-ars-method__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.donation-ars-method__type { font-size: 24px; font-weight: 700; line-height: 1; color: var(--color-text-500); }
.donation-ars-method__number { font-size: 40px; font-weight: 700; line-height: 1; color: var(--color-text-700); }
.donation-ars-method__note { font-size: 20px; font-weight: 700; line-height: 1; color: var(--color-text-500); }

.donation-ars-guide { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.donation-ars-guide__title { width: 100%; font-size: 16px; font-weight: 700; line-height: 1.4; word-break: keep-all; text-align: center; color: var(--color-text-500); }
.donation-ars-guide__list { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; padding-block: 24px; border-top: 1px solid var(--color-line-250); border-bottom: 1px solid var(--color-line-250); }
.donation-ars-guide__item { display: flex; align-items: center; gap: 4px; min-width: 0; }
.donation-ars-guide__icon { flex: 0 0 auto; width: 90px; height: 80px; }
.donation-ars-guide__text { display: flex; flex-direction: column; gap: 6px; width: 140px; }
.donation-ars-guide__name { font-size: 16px; font-weight: 700; line-height: 1;  color: var(--color-text-400); }
.donation-ars-guide__name--compact { font-size: 14px; line-height: 1.3; }
.donation-ars-guide__when { font-size: 20px; font-weight: 700; line-height: 1; color: var(--color-text-700); }
.donation-ars-guide__note { width: 100%; max-width: 730px; font-size: 15px; font-weight: 500; line-height: 1.4; word-break: keep-all; text-align: center; color: var(--color-text-500); }
.donation-ars-guide__note--wide { max-width: none; }
.donation-ars-guide__em { font-weight: 700; color: var(--color-primary-450); }
.donation-ars-accounts .donation-account-head { padding-block: 32px 54px; }

@media (max-width: 1024px) {
    .donation-ars-methods__list { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 768px) {
    .donation-ars-page { gap: 48px; }
    .donation-ars-methods { gap: 24px; }
    .donation-ars-methods__lead { font-size: 18px; }
    .donation-ars-methods__lead .mobile-break { display: block; }
    .donation-ars-method { gap: 12px; padding: 16px; border-radius: 8px; }
    .donation-ars-method__icon { width: 80px; height: 80px; }
    .donation-ars-method__body { gap: 6px; }
    .donation-ars-method__type { font-size: 18px; }
    .donation-ars-method__number { font-size: 24px; }
    .donation-ars-method__note { font-size: 16px; }
    .donation-ars-guide { align-items: stretch; }
    .donation-ars-guide__title { text-align: left; }
    .donation-ars-guide__list { flex-direction: column; align-items: flex-start; gap: 4px; }
    .donation-ars-guide__note { text-align: left; }
    .donation-ars-accounts .donation-account-head { padding-block: 24px 32px; }
}


/* [4] 착한가정 */


/* [5] 착한가게 */
.donation-donor-choice--store { flex-wrap: wrap; }
.donation-donor-choice--store .btn-big-check { flex: 1 1 180px; min-width: 0; max-width: 280px; }

@media (max-width: 768px) {
    .donation-donor-choice--store .btn-big-check { flex: 1 1 0; }
    .donation-donor-choice--store .btn-big-check .inner-wrap { flex-direction: column; }
    .donation-donor-choice--store .btn-big-check .inner-wrap .label, 
    .donation-donor-choice--store .btn-big-check.square .inner-wrap .label { padding-inline: 0; padding-bottom: 5px; text-align: center; }
}


/* [6] 착한일터 */
.donation-pay-guide-modal__list--two { justify-content: space-evenly; }
.donation-pay-guide-modal__list--two .donation-pay-guide-modal__item { flex: none; }


/* [7] 착한펫 */
.donation-form--nicepet #donation-step-2 .donation-step-body { gap: 32px; }
.donation-form--nicepet #donation-step-3 .donation-step-body { gap: 0; }
.donation-form--nicepet #donation-step-3 .donation-step-actions { padding-block: 24px 80px; }
.donation-form--nicepet #donation-step-4 .donation-step-actions { padding-block: 0 8px; }
.donation-form--nicepet #donation-step-3 .donation-input-row.show-after-success { display: none; }
.donation-form--nicepet #donation-step-3 .donation-input-row.show-after-success.is-visible { display: flex; }
.donation-form--nicepet #donation-step-3 #childInfo { display: none; }
.donation-form--nicepet .donation-pet-knd { flex-wrap: wrap; }
.donation-form--nicepet .donation-pet-other { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.donation-form--nicepet #petKnd { width: 220px; max-width: 100%; }
.donation-form--nicepet #petKnd[readonly] { border-color: var(--color-line-150); cursor: default; color: var(--color-text-500); background-color: var(--color-solid-300, #D8DFE4); }
.donation-form--nicepet .donation-agreement-wrap .comment-row + .comment-row { margin-top: 8px; }

@media (max-width: 768px) {
    .donation-form--nicepet #donation-step-2 .donation-step-body { gap: 16px; }
    .donation-form--nicepet #donation-step-3 .donation-step-actions { padding-block: 16px 40px; }
    .donation-form--nicepet #petKnd { width: 100%; }
}


/* [8] 결제완료 */
/* INICIS */
.donation-pay-result { position: relative; width: 100%; max-width: 1208px; margin: 0 auto; padding-top: 80px; padding-bottom: 160px; padding-inline: 16px; }
.donation-pay-result__head { position: relative; padding-right: clamp(120px, 22vw, 200px); padding-bottom: 32px; margin-bottom: 8px; }
.donation-pay-result__title { font-size: 32px; font-weight: 800; line-height: 1.3; letter-spacing: -0.5px; color: var(--color-text-700); word-break: keep-all; }
.donation-pay-result__title-accent { color: var(--color-primary-400); }
.donation-pay-result__desc { margin-top: 12px; font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--color-text-400); }
.donation-pay-result__character { display: block; position: absolute; top: -8px; right: 0; width: clamp(120px, 18vw, 177px); height: auto; aspect-ratio: 177 / 178; background: url(/common/img/contents/img-payment.jpg) no-repeat center / contain; }
.donation-pay-result__section { width: 100%; margin-top: 24px; }
.donation-pay-result__section .direction-row { display: flex; align-items: center; gap: 4px; padding-block: 16px 24px; font-size: 18px; font-weight: 600; color: var(--color-text-400); }
.donation-pay-result__body { display: flex; flex-direction: column; width: 100%; padding-block: clamp(16px, 3vw, 32px); padding-inline: clamp(16px, 2.7vw, 40px); border-radius: 16px; background-color: var(--color-solid-100); }
.donation-pay-result__row { display: flex; align-items: center; gap: 16px; width: 100%; padding-block: 20px; border-top: 1px solid var(--color-line-250); }
.donation-pay-result__row:first-child { border-top: 0; padding-top: 8px; }
.donation-pay-result__label { flex: 0 0 160px; font-size: 18px; font-weight: 700; color: var(--color-text-700); }
.donation-pay-result__value { flex: 1; min-width: 0; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--color-text-700); }
.donation-pay-result__value--accent { font-weight: 700; color: var(--color-primary-500); }
.donation-pay-result__row--stack { flex-direction: column; align-items: stretch; gap: 16px; padding-block: 24px; }
.donation-pay-result__row--stack .donation-pay-result__label { flex: none; width: auto; max-width: none; }
.donation-pay-result__field { flex: 1; min-width: 0; }
.donation-pay-result__field .inp-base { width: 100%; max-width: 360px; height: 56px; padding-inline: 16px; border: 1px solid var(--color-line-300); border-radius: 8px; font-size: 18px; font-weight: 500; color: var(--color-text-700); background-color: #fff; }
.donation-pay-result__field textarea.inp-base { max-width: none; height: auto; min-height: 140px; padding: 16px; resize: vertical; }
.donation-pay-result__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 48px; padding-block: 24px 0; }

/* Crowdfunding Comment */
.donation-pay-result__reply .donation-pay-result__body > .direction-row { padding-block: 8px 24px; border-top: 0; }
.donation-pay-result__reply .donation-pay-result__body > form .donation-pay-result__row:first-of-type { border-top: 1px solid var(--color-line-250); }
.donation-pay-result__reply-btn { display: inline-flex; justify-content: center; align-items: center; padding: 16px 28px; border-radius: 40px; font-size: 18px; font-weight: 700; line-height: 1.2; background-color: var(--color-solid-white); color: var(--color-text-700); border: 1px solid var(--color-line-300); transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.donation-pay-result__reply-btn:hover { border-color: var(--color-solid-900); color: #fff; background-color: var(--color-solid-900); }
.donation-pay-result__reply .inp-base:disabled,
.donation-pay-result__reply .inp-base[readonly] { border-color: var(--color-line-150); cursor: default; color: var(--color-text-500); background-color: var(--color-solid-300, #D8DFE4); }
.donation-pay-result__reply .donation-pay-result__field textarea.inp-base { resize: none; }

/* Donation Receipt Application */
.donation-pay-result__receipt[hidden] { display: none !important; }
.donation-pay-result__receipt .pay-field-row { align-items: flex-start; gap: 16px; padding-block: 20px; border-top: 1px solid var(--color-line-250); }
.donation-pay-result__receipt .pay-field-row:first-child { border-top: 0; padding-top: 8px; }
.donation-pay-result__receipt .pay-field-row:last-child { padding-bottom: 8px; }
.donation-pay-result__receipt .item-label { flex: 0 0 160px; padding-top: 16px; font-size: 18px; font-weight: 700; color: var(--color-text-700); }
.donation-pay-result__receipt .item-body { flex: 1; min-width: 0; }
.donation-pay-result__receipt .inp-base { height: 56px; padding-inline: 16px; border: 1px solid var(--color-line-300); border-radius: 8px; font-size: 18px; font-weight: 500; color: var(--color-text-700); background-color: #fff; }
.donation-pay-result__receipt .inp-base:focus { border-color: var(--color-line-500); }
.donation-pay-result__receipt #zip[readonly],
.donation-pay-result__receipt #adres1[readonly] { border-color: var(--color-line-150); cursor: default; color: var(--color-text-500); background-color: var(--color-solid-300, #D8DFE4); }
.donation-pay-result__receipt .donation-guide-txt { margin-top: 12px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--color-text-400); word-break: keep-all; }

@media (max-width: 1024px) {
    .donation-pay-result__receipt .pay-field-row { flex-direction: column; gap: 8px; }
    .donation-pay-result__receipt .item-label { flex: none; width: 100%; padding-top: 0; }
    .donation-pay-result__receipt .item-body { width: 100%; }
    .donation-pay-result__receipt .post-code { width: 100%; }
    .donation-pay-result__receipt .post-code .inp-base { flex: 1 1 auto; min-width: 0; width: auto; }
    .donation-pay-result__receipt .jumin-area { width: 100%; min-width: 0; }
    .donation-pay-result__receipt .jumin-area .inp-base { flex: 1 1 0; min-width: 0; width: auto; }
}

@media (max-width: 768px) {
    .donation-pay-result { padding-top: 40px; padding-bottom: 80px; }
    .donation-pay-result__receipt .item-label { font-size: 15px; }
    .donation-pay-result__receipt .inp-base { height: 48px; font-size: 16px; }
    .donation-pay-result__receipt .pay-field-row { gap: 8px; padding-block: 14px; }
    .donation-pay-result__head { padding-right: 0; padding-bottom: 20px; }
    .donation-pay-result__title { font-size: 24px; }
    .donation-pay-result__title-line { display: block; }
    .donation-pay-result__desc { font-size: 15px; }
    .donation-pay-result__character { display: none; }
    .donation-pay-result__section .direction-row { padding-block: 12px 16px; font-size: 16px; }
    .donation-pay-result__row { gap: 12px; padding-block: 14px; }
    .donation-pay-result__label { flex: 0 0 100px; font-size: 15px; }
    .donation-pay-result__value { font-size: 15px; }
    .donation-pay-result__field .inp-base { max-width: none; height: 48px; font-size: 16px; }
    .donation-pay-result__actions { margin-top: 32px; }
    .donation-pay-result__reply .donation-pay-result__body > .direction-row { padding-block: 18px 12px; font-size: 14px; }
    .donation-pay-result__reply-btn { margin-bottom: 8px; padding: 12px 24px; font-size: 16px; }
}
