@charset "utf-8";
/* 2026-11-15 뉴트리미 리뉴얼 — 마이페이지 39 정기구독 내역·40 정기구독 관리·40-1 결제 실패·정기구독 관리 팝업(결제일 변경 달력·구독상품 변경·확인창)
   공통 토큰·부품은 renewal.css(:root --nm-*, .nm-page-title, .nm-btn-pill, .nm-chip, .nm-pager 등)를 쓰고, 이 파일에는 이 영역 규칙만 둔다. */

/* ════════════════════════════════════════════════════════════════════════════
   공통(39·40) — 템플릿 gcsbilling/gcsbilling_catalog.html · gcsbilling_view.html, 감싸개 .nm-gcs2
   틀(LNB2·화면 제목·본문 칸·아래 120)은 renewal_my1.css(.nm-my)가 준다. 여기서는 본문 칸(996, 1024~1319 은 줄어듦) 안만 그린다.
   값 = 피그마 EVHLxoov2NmsSgVvFkJ3IT 39(460:27873)·40(460:33251)·40-1(460:33778)에 연결된 웹셀러_라이브러리 스타일(이름은 주석)
   ════════════════════════════════════════════════════════════════════════════ */
.nm-gcs2 { box-sizing: border-box; color: var(--nm-font-black); font-family: var(--nm-font); -webkit-font-smoothing: antialiased; }
.nm-gcs2 *, .nm-gcs2 *::before, .nm-gcs2 *::after { box-sizing: border-box; }
.nm-gcs2 :where(p, h3, dl, dt, dd, form) { margin: 0; padding: 0; } /* :where — 아래 부품 규칙(같은 우선순위, 뒤에 옴)이 이기게 */
.nm-gcs2 :where(a) { color: inherit; text-decoration: none; }
.nm-gcs2 img { max-width: none; }
.nm-gcs2 button { font-family: var(--nm-font); }

/* 알약 버튼(라이브러리 Button_Default Small 36 · Round · Line_Gray: 흰 바탕, 선 Button_Select_Input/Line_Gray, 위아래 8 좌우 12, B4 13 Medium) — 선이 레이아웃에 들지 않아 좌우 안쪽 11 + 선 1 */
.nm-gcs2-btn-s { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 36px; margin: 0; padding: 0 11px; border: 1px solid var(--nm-line-regular); border-radius: 100px; background: var(--nm-bg-white); font-family: var(--nm-font); font-size: 13px; font-weight: 500; line-height: 19px; letter-spacing: -0.325px; color: var(--nm-font-black); white-space: nowrap; cursor: pointer; } /* PC/Body/B4_KR_Md_13 */
.nm-gcs2-btn-s--black { border-color: var(--nm-font-black); } /* Design=Line_Black(선 Button_Select_Input/Black) — [구독상품 변경]·[결제일 변경하기] */
/* 글자 링크(라이브러리 Button_Text + Arrow 16 Icon/02_black, 간격 2) */
.nm-gcs2-link { display: inline-flex; align-items: center; gap: 2px; margin: 0; padding: 0; border: 0; background: none; font-family: var(--nm-font); font-size: 13px; font-weight: 500; line-height: 19px; letter-spacing: -0.325px; color: var(--nm-font-black); white-space: nowrap; cursor: pointer; } /* PC/Caption/C1_KR_Md_13 */
.nm-gcs2-link img { display: block; flex: 0 0 auto; width: 16px; height: 16px; }
.nm-gcs2-link--14 { font-size: 14px; line-height: 20px; letter-spacing: -0.35px; } /* PC/Body/B3_KR_Md_14 — 블록 제목 오른쪽 「주소수정」 */
/* 작은 선 버튼(라이브러리 Button_Default Tiny 28 Line_Gray = renewal.css .nm-btn-line) — 좌우 안쪽을 시안 10(선 포함)에 맞춤 */
.nm-gcs2 .nm-btn-line, .nm-gcs2-pop .nm-btn-line { padding: 0 9px; }

/* 상품 줄 NM2/OrderItem(454:1198 — 선택·수량 끔: 사진 100 라운드 8 · 간격 24 · 정보 · 금액 180, 위아래 24, 아래 선 Line/Light) */
.nm-gcs2-item { display: flex; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--nm-line-light); }
.nm-gcs2-item__pic { display: block; flex: 0 0 100px; width: 100px; height: 100px; overflow: hidden; border-radius: 8px; background: var(--nm-bg-light); }
.nm-gcs2-item__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nm-gcs2-item__info { display: flex; flex: 1 1 0%; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.nm-gcs2-item__tag { font-size: 12px; font-weight: 400; line-height: 17px; letter-spacing: -0.3px; color: var(--nm-brand-primary); white-space: nowrap; } /* PC/Caption/C2_KR_Rg_12 · nm/brand-primary */
.nm-gcs2-item__name { width: 100%; font-size: 16px; font-weight: 500; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-black); word-break: keep-all; overflow-wrap: anywhere; } /* PC/Body/B1_KR_Md_16 */
.nm-gcs2-item__name a { color: inherit; }
.nm-gcs2-item__sub { width: 100%; font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-info); word-break: keep-all; overflow-wrap: anywhere; } /* PC/Body/B3_KR_Rg_14 · Font/04_info */
.nm-gcs2-item__sub > span + span::before { content: ' · '; } /* 「수량 1개 · 할인 없음」 */
.nm-gcs2-item__flag { font-size: 12px; line-height: 17px; letter-spacing: -0.3px; color: var(--nm-font-info); } /* 시안에 없는 상품 표시(청약철회불가 등) — 해당 상품일 때만 */
.nm-gcs2-item__flag > span + span::before { content: ' · '; }
.nm-gcs2-item__file { display: inline-block; max-width: 60px; max-height: 60px; vertical-align: middle; }
.nm-gcs2-item__gift { display: flex; align-items: center; gap: 6px; }
.nm-gcs2-item__price { flex: 0 0 180px; width: 180px; font-size: 18px; font-weight: 600; line-height: 25px; letter-spacing: -0.45px; color: var(--nm-font-black); text-align: right; white-space: nowrap; } /* PC/Title/T5_KR_Sb_18 */

/* ── 39 정기구독 내역 — 내용 칸 = 결제 수단 84 · 32 · 탭 49 · 32 · 묶음 · 32 · 쪽 번호 32 ── */
.nm-gcs2-list { display: flex; flex-direction: column; gap: 32px; }
/* 대표 결제 수단(460:27953 — BG/Light_Color 라운드 16, 위아래 24 좌우 32, 글 B1 16 Medium, 버튼 간격 8) */
.nm-gcs2-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 84px; padding: 24px 32px; border-radius: 16px; background: var(--nm-bg-light); }
.nm-gcs2-card__txt { min-width: 0; font-size: 16px; font-weight: 500; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-black); white-space: pre-wrap; word-break: keep-all; } /* PC/Body/B1_KR_Md_16 — 「대표 결제 수단   카드」(시안 글자 사이 빈칸 3) */
.nm-gcs2-card__none { color: var(--nm-font-info); }
.nm-gcs2-card__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.nm-gcs2-card__note { flex: 0 0 100%; font-size: 12px; line-height: 17px; letter-spacing: -0.3px; color: var(--nm-font-info); } /* KICC 일 때만(시안 없음) */
/* 탭(460:27972 — 간격 24, 위아래 13, B1 16: 선택 SemiBold 브랜드 + 아래 2px(선 안쪽) / 나머지 Medium Font/04_info, 아래 선 Line/Light 1 → 49) */
.nm-gcs2-tabs { display: flex; align-items: flex-end; gap: 24px; border-bottom: 1px solid var(--nm-line-light); }
.nm-gcs2-tabs a { display: block; flex: 0 0 auto; padding: 13px 0; font-size: 16px; font-weight: 500; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-info); white-space: nowrap; }
.nm-gcs2-tabs a.is-on { font-weight: 600; color: var(--nm-brand-primary); box-shadow: inset 0 -2px 0 var(--nm-brand-primary); }
.nm-gcs2-groups { display: flex; flex-direction: column; gap: 32px; }
/* 묶음 머리 NM2/OrderGroupHeader(457:18559 — 높이 60, 아래 선 Line/black: 날짜 B1 16 SemiBold · 간격 16 · 신청번호 B3 14 Font/04_info / 상태 B3 14 SemiBold 브랜드 · 간격 20 · 「변경/해지 >」) */
.nm-gcs2-ghead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 60px; padding: 18px 0; border-bottom: 1px solid var(--nm-font-black); }
.nm-gcs2-ghead__l { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-width: 0; }
.nm-gcs2-ghead__date { font-size: 16px; font-weight: 600; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-black); white-space: nowrap; } /* PC/Body/B1_KR_Sb_16 */
.nm-gcs2 .nm-gcs2-ghead__no { font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-info); white-space: nowrap; } /* PC/Body/B3_KR_Rg_14 · Font/04_info */
.nm-gcs2-ghead__r { display: flex; align-items: center; gap: 20px; }
.nm-gcs2-ghead__st { font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-sub); white-space: nowrap; } /* 종료·해지(시안 없음) = Font/03_Sub */
.nm-gcs2-ghead__st.is-ing { color: var(--nm-brand-primary); } /* PC/Body/B3_KR_Sb_14 · nm/brand-primary */
/* 다음 결제 요약(460:28053 — BG/Light 라운드 12, 위아래 24 좌우 32, NM2/KeyValue 간격 64) */
.nm-gcs2-sum { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 64px; padding: 24px 32px; border-radius: 12px; background: var(--nm-bg-light); }
.nm-gcs2-kv { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; white-space: nowrap; } /* NM2/KeyValue(456:1924) */
.nm-gcs2-kv__k { font-size: 13px; font-weight: 400; line-height: 19px; letter-spacing: -0.325px; color: var(--nm-font-info); } /* PC/Caption/C1_KR_Rg_13 */
.nm-gcs2-kv__v { font-size: 16px; font-weight: 600; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-black); } /* PC/Body/B1_KR_Sb_16 */
.nm-gcs2-kv__v.is-brand { color: var(--nm-brand-primary); }
.nm-gcs2-kv__m { font-size: 12px; font-weight: 400; line-height: 17px; letter-spacing: -0.3px; color: var(--nm-font-info); } /* PC/Caption/C2_KR_Rg_12 */
.nm-my .nm-gcs2 .paging_navigation.nm-pager { padding: 0; } /* renewal.css 쪽 번호 아래 120(모바일 64) — 마이페이지는 틀이 준다 */
.nm-gcs2 .nm-gcs2-empty { margin: 0; } /* 빈 화면 NM2/EmptyState = renewal.css .nm-empty(시안 없음) */

/* ── 40 정기구독 관리 — 내용 칸 = 신청·배송지 319 · 56 · 상품 339 · 56 · 결제정보 349 · 56 · 버튼 48 ── */
.nm-gcs2-view { display: flex; flex-direction: column; gap: 56px; }
/* 블록 제목 NM2/BlockTitle(456:1915 — 높이 40 · 아래 16, T4 20 SemiBold + 오른쪽 Button_Text) */
.nm-gcs2-btitle { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 0 0 16px; }
.nm-gcs2-btitle__tit { min-width: 0; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.5px; color: var(--nm-font-black); white-space: nowrap; } /* PC/Title/T4_KR_Sb_20 */
/* 신청 정보 · 배송지 2단(각 478, 간격 40) — 줄 NM2/InfoRow(456:1928 — 높이 50, 위아래 14, 항목 160 B3 14 Medium Font/04_info · 간격 24 · 내용 B3 14 Regular, 아래 선 Line/Light) */
.nm-gcs2-info { display: flex; align-items: flex-start; gap: 40px; }
.nm-gcs2-info__col { flex: 1 1 0%; min-width: 0; }
.nm-gcs2-row { display: flex; align-items: flex-start; gap: 24px; min-height: 50px; padding: 14px 0; border-bottom: 1px solid var(--nm-line-light); font-size: 14px; line-height: 20px; letter-spacing: -0.35px; }
.nm-gcs2-row > dt { flex: 0 0 160px; width: 160px; font-weight: 500; color: var(--nm-font-info); } /* PC/Body/B3_KR_Md_14 */
.nm-gcs2-row > dd { flex: 1 1 0%; min-width: 0; font-weight: 400; color: var(--nm-font-black); word-break: keep-all; overflow-wrap: anywhere; } /* PC/Body/B3_KR_Rg_14 */
.nm-gcs2-note { padding: 12px 0 0; font-size: 12px; font-weight: 400; line-height: 17px; letter-spacing: -0.3px; color: var(--nm-font-info); word-break: keep-all; } /* PC/Caption/C2_KR_Rg_12 · Font/04_info */
/* 구역 머리(제목 + 오른쪽 알약 버튼, 간격 8) */
.nm-gcs2-sec__head { display: flex; align-items: flex-start; gap: 8px; }
.nm-gcs2-sec__head > .nm-gcs2-btitle { flex: 1 1 0%; min-width: 0; }
.nm-gcs2-sec__btns { display: flex; flex: 0 0 auto; gap: 8px; }
.nm-gcs2-items { border-top: 1px solid var(--nm-font-black); } /* 「선」 460:33432 Line/black 1 */
/* 결제 회차 표 NM2/BillingRow(457:18630 — 높이 56, 간격 12: 회차 70 · 결제 예정일 140 · 금액(나머지) · 배송일 130 · 주문번호 200 · 상태 170) */
.nm-gcs2-bill__row { display: flex; align-items: center; gap: 12px; min-height: 56px; border-bottom: 1px solid var(--nm-line-light); text-align: center; }
.nm-gcs2-bill__row.is-head { border-top: 1px solid var(--nm-font-black); border-bottom-color: var(--nm-font-black); }
.nm-gcs2-bill__row.is-head > div { font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-black); } /* 머리줄 B3 14 Medium */
.nm-gcs2-bill__row > div { min-width: 0; }
.nm-gcs2-bill__c1 { flex: 0 1 70px; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-black); } /* PC/Body/B3_KR_Md_14 */
.nm-gcs2-bill__c2, .nm-gcs2-bill__c4 { font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-sub); white-space: nowrap; } /* PC/Body/B3_KR_Rg_14 · Font/03_Sub */
.nm-gcs2-bill__c2 { flex: 0 1 140px; }
.nm-gcs2-bill__c3 { display: flex; flex: 1 1 120px; flex-direction: column; align-items: center; gap: 4px; } /* 996 에서 나머지 226 · 1024~1319 에서는 다른 칸과 같이 줄어든다 */
.nm-gcs2-bill__c4 { flex: 0 1 130px; }
.nm-gcs2-bill__c5 { display: flex; flex: 0 1 200px; flex-direction: column; align-items: center; gap: 2px; }
.nm-gcs2-bill__c6 { display: flex; flex: 0 1 170px; flex-direction: column; align-items: center; gap: 6px; }
.nm-gcs2-bill__amt { font-size: 16px; font-weight: 500; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-black); white-space: nowrap; } /* PC/Body/B1_KR_Md_16 */
.nm-gcs2-bill__memo { font-size: 12px; font-weight: 400; line-height: 17px; letter-spacing: -0.3px; color: var(--nm-font-info); word-break: keep-all; } /* PC/Caption/C2_KR_Rg_12 */
.nm-gcs2 .nm-gcs2-bill__ord { font-size: 12px; font-weight: 400; line-height: 17px; letter-spacing: -0.3px; color: var(--nm-font-info); white-space: nowrap; } /* 주문번호 C2 12 Font/04_info */
.nm-gcs2-bill__step { font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-sub); white-space: nowrap; } /* 주문 단계 B3 14 Font/03_Sub */
.nm-gcs2-bill__st { font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-sub); white-space: nowrap; } /* PC/Body/B3_KR_Sb_14 */
.nm-gcs2-bill__st.is-ok { color: var(--nm-brand-primary); } /* 성공 = nm/brand-primary */
.nm-gcs2-bill__st.is-fail { color: var(--nm-accent-red, #e94e58); } /* 40-1 결제실패 = Nutrime/accent/red */
.nm-gcs2-bill__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
/* 아래 버튼(라이브러리 Button_Default Large 48 Round Line_Gray = renewal.css .nm-btn-pill) */
.nm-gcs2-foot { display: flex; justify-content: center; }
.nm-gcs2-foot .nm-btn-pill { line-height: 20px; color: var(--nm-font-black); text-decoration: none; } /* B3 14 → 줄 20(시안 48) */
/* 배송지 수정 레이어·주소록 칸(옛 마크업 그대로 — 화면에 자리를 차지하지 않게) */
.nm-gcs2-hidden { height: 0; margin: 0; padding: 0; overflow: visible; }

/* ════════════════════════════════════════════════════════════════════════════
   팝업 — 퍼스트몰 레이어(.resp_layer_pop + showCenterLayer/hideCenterLayer, 덮개 .resp_layer_bg 검정 50%) 그대로 쓰고 클래스로만 꾸민다
   결제일 변경 달력(460:37858) · 구독상품 변경(460:38066) = 라이브러리 Popup_640(폭 640 · 라운드 4 · 머리 82: 가운데 T3 24 Medium · 닫기 32 오른쪽 20)
   확인창(460:38221) = 라이브러리 Popup_Alert(폭 420 · 라운드 4 · 글 T5 18 Medium + B3 14 Font/03_Sub · 버튼 Button_Default Small 36)
   ════════════════════════════════════════════════════════════════════════════ */
.resp_layer_pop.nm-gcs2-pop { box-sizing: border-box; width: 640px; max-width: calc(100vw - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border-radius: 4px; background: var(--nm-bg-white); font-family: var(--nm-font); color: var(--nm-font-black); text-align: left; -webkit-font-smoothing: antialiased; }
/* 2026-11-15 GCS-01 화면보다 높은 창(1366×617 노트북·844×390 휴대폰 가로 등): 창을 화면 위아래 10 안으로 줄이고, 머리(제목·닫기)와 아래 버튼은 둔 채 가운데 내용만 창 안에서 스크롤한다.
   showCenterLayer(common/responsive.js)는 열 때 outerHeight 로 margin-top 을 잡는다 — 숨은 창은 jQuery swap(display:block)으로 재지만 높이는 max-height 로 같아서 줄어든 높이 기준으로 가운데 온다(767 이하는 공용 small_screen 위아래 10).
   창 자신은 flex 세로 묶음. lib.css .hide 는 !important 가 아니라서, .hide 가 붙어 있는 동안 display 를 주면 창이 처음부터 보인다 → :not(.hide) 일 때만 준다. */
.resp_layer_pop.nm-gcs2-pop:not(.hide) { display: flex; flex-direction: column; }
.resp_layer_pop.nm-gcs2-pop > form { display: flex; flex: 0 1 auto; flex-direction: column; min-height: 0; }
.resp_layer_pop.nm-gcs2-pop .nm-gcs2-pay__body, .resp_layer_pop.nm-gcs2-pop .nm-gcs2-chg { flex: 0 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.resp_layer_pop.nm-gcs2-pop .nm-gcs2-pay__body > *, .resp_layer_pop.nm-gcs2-pop .nm-gcs2-chg > * { flex-shrink: 0; }
.nm-gcs2-pop *, .nm-gcs2-pop *::before, .nm-gcs2-pop *::after { box-sizing: border-box; }
.nm-gcs2-pop :where(p, form) { margin: 0; padding: 0; }
.nm-gcs2-pop button, .nm-gcs2-pop select { font-family: var(--nm-font); }
.resp_layer_pop.nm-gcs2-pop > .nm-gcs2-pop__tit { flex: 0 0 auto; height: 82px; margin: 0; padding: 24px 64px; border: 0; background: var(--nm-bg-white); font-size: 24px; font-weight: 500; line-height: 34px; letter-spacing: -0.6px; color: var(--nm-font-black); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* PC/Title/T3_KR_Md_24 */
.resp_layer_pop.nm-gcs2-pop > .btn_pop_close { top: 25px; right: 20px; width: 32px; height: 32px; background: url(../images/renewal/gcs/ico_close32.svg) no-repeat center / 32px 32px; } /* Operation 32 · Icon/02_black */
.nm-gcs2-pop__btns { display: flex; flex: 0 0 auto; justify-content: center; gap: 8px; margin: 0; padding: 24px 32px 32px; }
/* 팝업 버튼(라이브러리 Button_Default Large 48 Default: 취소 = Line_Gray 흰 바탕·선, 확인 = BG_Brand · 비활성 = 바탕 #A5ADB8) */
.nm-gcs2-pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 54px; margin: 0; padding: 0 15px; border: 1px solid var(--nm-line-regular); border-radius: 4px; background: var(--nm-bg-white); font-family: var(--nm-font); font-size: 16px; font-weight: 600; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-black); white-space: nowrap; cursor: pointer; } /* 라이브러리 Button_Default X Large 54(가장 큰 크기 · 2026-11-15) · PC/Body/B1_KR_Sb_16 */
.nm-gcs2-pbtn--brand { padding: 0 16px; border: 0; background: var(--nm-brand-primary); color: var(--nm-font-white); }
.nm-gcs2-pbtn--brand:disabled { background: #a5adb8; color: var(--nm-font-white); cursor: default; } /* 라이브러리 Button_Default State=Disabled · BG_Brand */

/* 결제일 변경 달력 내용(460:37885 — 좌우 32 · 아래 8, 간격 16, 달력 448 가운데) */
.nm-gcs2-pay__body { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 32px 8px; }
.nm-gcs2-pay__body > * { align-self: stretch; }
.nm-gcs2-pay__body > .nm-gcs2-cal { align-self: center; }
/* NM2/Calendar(458:18871 — 달 이동 32 · 간격 8 · 요일 C1 13 · 간격 8 · 주(64×40 칸) 간격 8) / NM2/CalendarDay(458:18870 — 52×32 라운드 16) */
.nm-gcs2-cal { display: flex; flex-direction: column; gap: 8px; width: 448px; max-width: 100%; }
.nm-gcs2-cal__nav { display: flex; align-items: center; justify-content: space-between; height: 32px; }
.nm-gcs2-cal__move { margin: 0; padding: 0; border: 0; background: none; font-family: var(--nm-font); font-size: 13px; font-weight: 400; line-height: 19px; letter-spacing: -0.325px; color: var(--nm-font-info); white-space: nowrap; cursor: pointer; } /* PC/Caption/C1_KR_Rg_13 · Font/04_info */
.nm-gcs2-cal__month { font-size: 16px; font-weight: 600; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-black); white-space: nowrap; } /* PC/Body/B1_KR_Sb_16 */
.nm-gcs2-cal__week, .nm-gcs2-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.nm-gcs2-cal__week > span { font-size: 13px; line-height: 19px; letter-spacing: -0.325px; color: var(--nm-font-info); text-align: center; } /* 요일 C1 13 Font/04_info */
.nm-gcs2-cal__grid { row-gap: 8px; }
.nm-gcs2-cal__day { display: flex; align-items: center; justify-content: center; height: 40px; margin: 0; padding: 0; border: 0; background: none; font-family: var(--nm-font); font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-black); cursor: pointer; } /* PC/Body/B3_KR_Rg_14 */
.nm-gcs2-cal__day > span { display: flex; align-items: center; justify-content: center; width: 52px; max-width: 100%; height: 32px; border: 1px solid transparent; border-radius: 16px; }
.nm-gcs2-cal__day.is-off { color: var(--nm-font-disabled); cursor: default; } /* 흐림(선택 불가) = Font/05_Disabled */
.nm-gcs2-cal__day.is-current { font-weight: 600; color: var(--nm-font-black); cursor: default; } /* 기존 결제일 = 선 Line/black · B3 SemiBold */
.nm-gcs2-cal__day.is-current > span { border-color: var(--nm-font-black); }
.nm-gcs2-cal__day.is-selected { font-weight: 600; color: var(--nm-font-white); } /* 선택 = 브랜드 바탕 · Font/01_White */
.nm-gcs2-cal__day.is-selected > span { border-color: var(--nm-brand-primary); background: var(--nm-brand-primary); }
.nm-gcs2-cal__day:not(.is-off):not(.is-current):not(.is-selected):hover > span { background: var(--nm-bg-light); }
.nm-gcs2-cal__legend { font-size: 12px; line-height: 17px; letter-spacing: -0.3px; color: var(--nm-font-sub); white-space: pre-wrap; } /* C2 12 Font/03_Sub */
.nm-gcs2-cal__rule { font-size: 12px; line-height: 17px; letter-spacing: -0.3px; color: var(--nm-font-info); word-break: keep-all; } /* C2 12 Font/04_info */
/* 바뀌는 결제일(460:38039 — BG/Light 라운드 8, 위아래 8 좌우 20) · 줄 NM2/OrderInfoRow(458:18802 — 위아래 10, 항목 120 B3 Font/04_info · 간격 16 · 내용 B3 Medium) */
.nm-gcs2-cal__box { padding: 8px 20px; border-radius: 8px; background: var(--nm-bg-light); }
.nm-gcs2-cal__row { display: flex; align-items: center; gap: 16px; padding: 10px 0; font-size: 14px; line-height: 20px; letter-spacing: -0.35px; }
.nm-gcs2-cal__row > span:first-child { flex: 0 0 120px; width: 120px; font-weight: 400; color: var(--nm-font-info); }
.nm-gcs2-cal__row > span + span { flex: 1 1 0%; min-width: 0; font-weight: 500; color: var(--nm-font-black); }
.nm-gcs2-cal__row > span.is-brand { color: var(--nm-brand-primary); }

/* 구독상품 변경 내용(460:38093 — 좌우 32 · 아래 8, 간격 12) — 여는 버튼은 서버 기능(R-21)이 생겨 nm_gcs_change_enabled 가 켜질 때만 나온다 */
.nm-gcs2-chg { display: flex; flex-direction: column; gap: 12px; padding: 0 32px 8px; }
.nm-gcs2-chg__list { display: flex; flex-direction: column; gap: 12px; } /* NM2/SubItemRow 사이 12 */
.nm-gcs2-chg__tit { font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-black); } /* PC/Body/B3_KR_Sb_14 */
.nm-gcs2-subrow { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--nm-line-light); } /* NM2/SubItemRow(458:18841) */
.nm-gcs2-subrow__name { flex: 1 1 0%; min-width: 0; font-size: 15px; font-weight: 400; line-height: 22px; letter-spacing: -0.375px; color: var(--nm-font-black); } /* PC/Body/B2_KR_Rg_15 */
.nm-gcs2-chg__add { display: flex; gap: 8px; }
.nm-gcs2-pop select.nm-gcs2-select { flex: 1 1 0%; min-width: 0; height: 42px; margin: 0; padding: 0 43px 0 11px; border: 1px solid var(--nm-line-regular); border-radius: 3px; background: var(--nm-bg-white) url(../images/renewal/ico_select20.svg) no-repeat right 12px center / 20px 20px; font-size: 14px; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-sub); -webkit-appearance: none; appearance: none; } /* 라이브러리 Select_Default(위아래 11 좌우 12 · 라운드 3 · B3 Font/03_Sub · Arrow 20) */
.nm-gcs2-addbtn { flex: 0 0 auto; height: 42px; margin: 0; padding: 0 12px; border: 0; border-radius: 3px; background: var(--nm-font-black); font-family: var(--nm-font); font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-white); white-space: nowrap; cursor: pointer; } /* Button_Default Medium 42 BG_Black · B3 Medium */
.nm-gcs2-notice { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; border-radius: 8px; background: var(--nm-bg-light); font-size: 14px; line-height: 20px; letter-spacing: -0.35px; } /* NM2/NoticeBox 경고(458:18824) */
.nm-gcs2-notice[hidden] { display: none; }
.nm-gcs2-notice__tit { font-weight: 600; color: var(--nm-accent-red, #e94e58); }
.nm-gcs2-notice__txt { font-weight: 400; color: var(--nm-font-sub); word-break: keep-all; }
.nm-gcs2-chg__desc { font-size: 12px; line-height: 17px; letter-spacing: -0.3px; color: var(--nm-font-info); word-break: keep-all; } /* C2 12 Font/04_info */

/* 확인창 Popup_Alert(460:38225 — 글 위 32 좌우 32 아래 8, 간격 8 / 버튼 위 20 아래 32, 간격 8 · 아니오 BG_Gray #F1F1F5 · 예 BG_Brand) — 건너뛰기·즉시결제·해지·해지 완료 */
.resp_layer_pop.nm-gcs2-dialog { box-sizing: border-box; width: 420px; max-width: calc(100vw - 20px); overflow: hidden; border-radius: 4px; background: var(--nm-bg-white); font-family: var(--nm-font); color: var(--nm-font-black); text-align: center; -webkit-font-smoothing: antialiased; }
.resp_layer_pop.nm-gcs2-dialog.small_screen { top: 50% !important; right: 10px !important; bottom: auto !important; left: 10px !important; width: auto !important; max-width: none; transform: translateY(-50%); } /* 767 이하 공용 small_screen(화면 가득) 대신 가운데 카드 */
.nm-gcs2-dialog__body { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 32px 32px 8px; }
.nm-gcs2-dialog__main { margin: 0; font-size: 18px; font-weight: 500; line-height: 25px; letter-spacing: -0.45px; color: var(--nm-font-black); word-break: keep-all; } /* PC/Title/T5_KR_Md_18 */
.nm-gcs2-dialog__sub { margin: 0; font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -0.35px; color: var(--nm-font-sub); word-break: keep-all; } /* PC/Body/B3_KR_Rg_14 · Font/03_Sub */
.nm-gcs2-dialog__sub[hidden] { display: none; }
.nm-gcs2-dialog__btns { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 20px 32px 32px; }
.nm-gcs2-dialog__btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; margin: 0; padding: 0 16px; border: 0; border-radius: 4px; background: var(--nm-line-light); font-family: var(--nm-font); font-size: 16px; font-weight: 600; line-height: 22px; letter-spacing: -0.4px; color: var(--nm-font-black); white-space: nowrap; cursor: pointer; } /* Button_Default X Large 54(가장 큰 크기 · 2026-11-15) BG_Gray(Button_Select_Input/BG_Color) · B1 16 SemiBold */
.nm-gcs2-dialog__btn[hidden] { display: none; }
.nm-gcs2-dialog__btn--yes { background: var(--nm-brand-primary); color: var(--nm-font-white); }

/* ── 1024~1319: 본문 칸이 996 보다 좁아지면 회차 표 칸이 기준 폭 비율대로 줄어든다(flex-shrink, 금액 칸 기준 120) ── */

/* ── 1023 이하(모바일 시안 없음) — 한 열로 접는다. 본문 좌우 여백은 틀(renewal_my1.css)이 준다 ── */
@media (max-width: 1023px) {
	.nm-gcs2-list { gap: 24px; }
	.nm-gcs2-card { padding: 20px; }
	.nm-gcs2-tabs { gap: 20px; }
	.nm-gcs2-tabs a { padding: 12px 0; font-size: 15px; }
	.nm-gcs2-groups { gap: 24px; }
	.nm-gcs2-ghead { padding: 14px 0; }
	.nm-gcs2-ghead__r { gap: 12px; }
	.nm-gcs2-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: start; padding: 16px 0; }
	.nm-gcs2-item__pic { grid-row: 1 / span 2; width: 72px; height: 72px; }
	.nm-gcs2-item__price { width: auto; font-size: 16px; line-height: 22px; text-align: right; }
	.nm-gcs2-sum { gap: 12px 24px; padding: 16px 20px; }
	.nm-gcs2-kv { white-space: normal; }

	.nm-gcs2-view { gap: 40px; }
	.nm-gcs2-info { flex-direction: column; gap: 32px; }
	.nm-gcs2-info__col { width: 100%; }
	.nm-gcs2-row { gap: 12px; }
	.nm-gcs2-row > dt { flex-basis: 110px; width: 110px; }
	.nm-gcs2-btitle__tit { font-size: 18px; line-height: 25px; letter-spacing: -0.45px; }
	.nm-gcs2-sec__head { flex-wrap: wrap; }
	/* 회차 표 → 회차마다 카드 한 줄(머리줄 숨기고 칸 이름을 앞에 붙임) */
	.nm-gcs2-bill__row.is-head { display: none; }
	.nm-gcs2-bill { border-top: 1px solid var(--nm-font-black); }
	.nm-gcs2-bill__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: start; padding: 14px 0; text-align: left; }
	.nm-gcs2-bill__row > div { grid-column: 1; }
	.nm-gcs2-bill__c1 { font-size: 15px; }
	.nm-gcs2-bill__c3 { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
	.nm-gcs2-bill__c5 { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
	.nm-gcs2-bill__c3:empty, .nm-gcs2-bill__c5:empty { display: none; }
	.nm-gcs2-bill__row > .nm-gcs2-bill__c6 { grid-column: 2; grid-row: 1 / span 5; align-items: flex-end; }
	.nm-gcs2-bill__row > [data-th]::before { content: attr(data-th); flex: 0 0 auto; margin-right: 8px; font-size: 13px; font-weight: 400; color: var(--nm-font-info); }
	.nm-gcs2-bill__c2, .nm-gcs2-bill__c4 { white-space: normal; }
	.nm-gcs2-bill__btns { justify-content: flex-end; }

	.resp_layer_pop.nm-gcs2-pop > .nm-gcs2-pop__tit { height: 64px; padding: 18px 56px; font-size: 20px; line-height: 28px; letter-spacing: -0.5px; }
	.resp_layer_pop.nm-gcs2-pop > .btn_pop_close { top: 16px; right: 12px; }
	.nm-gcs2-pay__body, .nm-gcs2-chg { padding: 0 20px 8px; }
	.nm-gcs2-pop__btns { padding: 20px; }
	.nm-gcs2-cal__row > span:first-child { flex-basis: 96px; width: 96px; }
}

/* 2026-11-15 34 요약 카드 [이번 회차 건너뛰기] → 40 결제정보 표(#nmGcsJump)로 이동할 때 위 여백 */
.nm-gcs2-sec#nmGcsJump { scroll-margin-top: 24px; }
