/* renewal_header_footer.css — 공통 헤더/GNB/Promo/푸터/탭바
 * 원본: /common_css/renewal/renewal_header_footer.css
 * BIGSMALL · BIGSWARE 동일 파일 (프로젝트 css 폴더는 동기화 복사본)
 * .renewal-body 범위로 특이도를 높여 기존 style/reset/mypage 보다 우선 적용
 * 활성 컬러: --rn-nav-active (= --rn-accent, 사이트 공통)
 */

/* box-sizing: 페이지마다 reset.css(전역 border-box) 로드 여부가 달라, 그걸 모르고 짠
 * 이 파일의 width+padding 계산이 페이지별로 다르게 렌더링되는 문제가 있었다(예:
 * category_drawer가 bs_plan_activity.php에서는 좁게, index.php에서는 넓게 보임).
 * 호스트 페이지의 리셋 여부와 무관하게 이 안의 모든 요소가 항상 border-box로
 * 계산되도록 여기서 직접 고정한다. */
.renewal-body,
.renewal-body *,
.renewal-body *::before,
.renewal-body *::after {
  box-sizing: border-box;
}

/* <button>은 원래 브라우저 기본 UI 폰트를 쓰고 페이지 폰트를 상속하지 않는다.
 * reset.css(button{font-family:inherit})를 로드하는 페이지에서만 글자 폭이 달라져
 * 카테고리 드로어의 로그아웃 버튼 등이 페이지마다 다르게 배치되는 문제가 있었다. */
.renewal-body button {
  font-family: inherit;
}

/* common.css의 레거시 clearfix 규칙 [class*='row']:before,:after{content:" ";
 * display:table;clear:both;} 이 클래스명에 "row"가 들어간 모든 요소(예:
 * rn-catdrawer__user-row, rn-footer__legal-row)에 실제 공백 콘텐츠를 가진
 * 의사요소를 생성해, display:flex 컨테이너 안에서 보이지 않는 flex 아이템으로
 * 끼어들어 justify-content:space-between 배치를 깨뜨렸다(예: 카테고리 드로어
 * 로그아웃 버튼이 오른쪽 끝까지 안 붙음). common.css는 다른 레거시 페이지에서도
 * 쓰여서 직접 고칠 수 없으니, renewal 컴포넌트 범위 안에서만 무력화한다. */
.renewal-body [class*="row"]::before,
.renewal-body [class*="row"]::after {
  content: none;
  display: none;
}

:root {
  --rn-blue: #2f6eff;
  --rn-blue-soft: rgba(35, 46, 255, 0.05);
  --rn-text: #2d2d2d;
  --rn-muted: #7a7a7a;
  --rn-gray: #4b5563;
  --rn-border: #e5e7eb;
  --rn-cream: #fffbf9;
  --rn-cream-border: #f0e9e6;
  --rn-bg-icon: #f7f3f0;
  --rn-store: #0f766e;
  --rn-store-bg: #0d9488;
  --rn-radius: 16px;
  --rn-radius-lg: 24px;
  --rn-container: 1280px;
  --rn-font: "Inter", "Noto Sans KR", "Noto Sans", sans-serif;
  --rn-accent: #ef7d00;
  --rn-accent-dark: #ce6c00;
  /* BIGSMALL · BIGSWARE 헤더/푸터 공통 활성 컬러 */
  --rn-nav-active: var(--rn-accent);
}

a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: top;
  background: transparent;
}

button {
  vertical-align: middle;
  outline: none;
  border: 0;
  color: #000;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}

/* 페이지(index_new 등) :root 변수와 달라도 헤더/푸터는 공통 토큰 고정 */
.renewal-body .rn-header,
.renewal-body .rn-gnb,
.renewal-body .rn-promo,
.renewal-body .rn-m-header,
.renewal-body .rn-footer,
.renewal-body .rn-m-dock,
.rn-lang-popup {
  --rn-nav-active: var(--rn-accent);
}

/* body는 레이아웃만 — 폰트/색은 기존 페이지 CSS에 맡김 */


.renewal-body{
  margin: 0;
}

.renewal-wrap{
  min-height: 100vh;
  padding-bottom: 0;
}

.rn-container {
  width: 100%;
  max-width: var(--rn-container);
  margin: 0 auto;
  box-sizing: border-box;
}

.renewal-body .rn-m-only { display: none; }
.renewal-body .rn-pc-only { /* visibility toggled in media queries */ }

/* ===== Header ===== */
.renewal-body .rn-header {
  height: 80px;
  background: #fff;
  border-bottom: 1px solid #f5f5f5;
}
.renewal-body .rn-header__inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.renewal-body .rn-header__logo img{
  height: 48px;
  width: auto;
  object-fit: contain;
}
.renewal-body .rn-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.renewal-body .rn-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--rn-bg-icon);
  display: flex;
  align-items: center;
  justify-content: center;
}
.renewal-body .rn-icon-btn img{ width: 20px; height: 20px; object-fit: contain; }
.renewal-body .rn-icon-btn svg{ width: 24px; height: 24px; display: block; }
.renewal-body .rn-header__actions .rn-cart-btn {
  width: 40px;
  height: 40px;
  background: var(--rn-bg-icon);
}

.renewal-body .rn-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}
.renewal-body .rn-lang__text { font-weight: 500; color: #2d2d2d; font-size: 15px; }
.renewal-body .rn-lang__flag {
  width: 20px;
  height: 14px;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.renewal-body .rn-lang__divider {
  width: 1px;
  height: 14px;
  background: #d9d9d9;
}
.renewal-body .rn-lang__arrow { width: 12px; height: 12px; }
.renewal-body .rn-lang > svg{ width: 20px; height: 20px; flex-shrink: 0; }
.renewal-body .rn-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.renewal-body .rn-avatar {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.renewal-body .rn-avatar img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.renewal-body .rn-login {
  background: #fff;
  box-shadow : 0 0 4px 0 #a2a2a254;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 0;
  border-radius: 30px;
  /*background: #F7F3F0;*/
  color: #111;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
}
.renewal-body .rn-login svg {
  width: 20px;
  height: 20px;
  fill: #000;
  flex-shrink: 0;
}
.renewal-body .rn-login:hover {
  background: #ed7f00;
  color: #fff;
}
.renewal-body .rn-login:hover svg {
  fill: #fff;
}

.renewal-body .rn-cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.renewal-body .rn-cart-btn svg {
  width: 24px;
  height: 24px;
  fill: #000;
}
.renewal-body .rn-cart-btn__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef7d00;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
}
.renewal-body .rn-cart-btn__badge[hidden] {
  display: none;
}

/* Profile dropdown (Figma 25:211) */


.renewal-body .rn-profile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  width: 180px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  overflow: hidden;
}
.renewal-body .rn-profile-menu[hidden]{ display: none !important; }
.renewal-body .rn-profile-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #212121;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}
.renewal-body .rn-profile-menu__item span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.renewal-body .rn-profile-menu__item:hover{ background: #f7f7f7; }
.renewal-body .rn-profile-menu__item img,
.renewal-body .rn-profile-menu__item .rn-profile-menu__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.renewal-body .rn-profile-menu__item svg{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  fill: #7a7a7a;
}

.renewal-body .rn-profile-menu__item--logout { color: #e53333; }
.renewal-body .rn-profile-menu__item--logout svg,
.renewal-body .rn-profile-menu__item--logout img { fill: #e53333; }

.renewal-body .rn-profile-menu__divider {
  height: 1px;
  background: #ededed;
  margin: 0;
}

/* Language / Member popup (Figma 25:223) */


.renewal-body .rn-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.45);
}
.renewal-body .rn-popup-backdrop[hidden]{ display: none !important; }
.renewal-body .rn-lang-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 310;
  width: min(360px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.12);
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.renewal-body .rn-lang-popup[hidden]{ display: none !important; }
.renewal-body .rn-lang-popup__top {
  display: flex;
  justify-content: flex-end;
}
.renewal-body .rn-lang-popup__close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.renewal-body .rn-lang-popup__close img{
  width: 30px;
  height: 30px;
  display: block;
}
.renewal-body .rn-lang-popup__section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.renewal-body .rn-lang-popup__label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1e1e1e;
  letter-spacing: 0.07px;
}
.renewal-body .rn-lang-popup__list {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 4px;
  max-height: 176px;
  overflow-y: auto;
  box-sizing: border-box;
}
.renewal-body .rn-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  text-align: left;
}

.renewal-body .rn-lang-option:hover{
    background: rgba(35, 46, 255, 0.05);
}

.renewal-body .rn-lang-option.is-selected {
  background: rgba(35, 46, 255, 0.05);
  border-color: var(--rn-blue);
}
.renewal-body .rn-lang-option__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.renewal-body .rn-lang-option__flag {
  width: 20px;
  height: 14px;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow : 0 0 2px 0 #00000032;
}
.renewal-body .rn-lang-option__left > span{
  font-size: 15px;
  color: #2d2d2d;
  font-weight: 500;
}
.renewal-body .rn-lang-option.is-selected .rn-lang-option__left > span{
  color: var(--rn-blue);
  font-weight: 700;
}
.renewal-body .rn-lang-option__radio {
  width: 20px;
  height: 20px;
  border: 2px solid #d9d9d9;
  border-radius: 50%;
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
  background: #fff;
}
.renewal-body .rn-lang-option.is-selected .rn-lang-option__radio{
  border-color: var(--rn-blue);
}
.renewal-body .rn-lang-option.is-selected .rn-lang-option__radio::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
    background: var(--rn-blue);
}
.renewal-body .rn-lang-option.is-disabled {
  cursor: not-allowed;
}
.renewal-body .rn-lang-option.is-disabled:hover {
  background: #fff;
}
.renewal-body .rn-lang-option.is-disabled .rn-lang-option__flag {
  opacity: 0.5;
}
.renewal-body .rn-lang-option.is-disabled .rn-lang-option__left > span {
  color: #b0b0b0;
}
.renewal-body .rn-lang-option__soon {
  font-size: 12px;
  font-weight: 600;
  color: #9a9a9a;
  background: #f2f2f2;
  border-radius: 20px;
  padding: 4px 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.renewal-body .rn-lang-popup__divider {
  height: 1px;
  background: #e5e7eb;
  width: 100%;
  margin-bottom: 20px;
}
.renewal-body .rn-member-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.renewal-body .rn-member-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  text-align: left;
}

.renewal-body .rn-member-card:hover{
    background: rgba(35, 46, 255, 0.05);
}

.renewal-body .rn-member-card.is-selected {
  background: rgba(35, 46, 255, 0.05);
  border: 1.5px solid var(--rn-blue);
}
.renewal-body .rn-member-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.renewal-body .rn-member-card__text strong{
  font-size: 15px;
  font-weight: 600;
  color: #2d2d2d;
}
.renewal-body .rn-member-card__text em{
  font-style: normal;
  font-size: 14px;
  color: #7a7a7a;
}
.renewal-body .rn-member-card.is-selected .rn-member-card__text strong{
  color: var(--rn-blue);
  font-weight: 700;
}
.renewal-body .rn-member-card.is-selected .rn-member-card__text em{
  color: var(--rn-blue);
  opacity: 0.8;
}
.renewal-body .rn-member-card__radio {
  width: 20px;
  height: 20px;
  border: 2px solid #d9d9d9;
  border-radius: 50%;
  box-sizing: border-box;
  flex-shrink: 0;
  background: #fff;
}
.renewal-body .rn-member-card__check {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--rn-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.renewal-body .rn-member-card__check::after{
  content: "";
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
  box-sizing: border-box;
  border-radius: 1px;
}
.renewal-body .rn-lang-popup__confirm {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-radius: 12px;
  background: var(--rn-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.renewal-body .rn-lang-popup__confirm:hover{
    background: #003ecd;
}

body.rn-popup-open{
  overflow: hidden;
}

/* ===== GNB ===== */

.renewal-body .rn-gnb {
  position: sticky;
  top: 0;
  z-index: 95;
  background: #fff;
  border-bottom: 1px solid #f2f2ff;
}
.renewal-body .rn-gnb.is-stuck {
  padding : 10px 0 6px 0;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.renewal-body .rn-gnb__inner {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  position: relative;
}
.renewal-body .rn-gnb__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  min-width: 0;
}
.renewal-body .rn-gnb.is-stuck .rn-gnb__inner {
  justify-content: space-between;
  padding: 0 20px;
}
.renewal-body .rn-gnb.is-stuck .rn-gnb__nav {
  justify-content: flex-start;
}
.renewal-body .rn-gnb__sticky-actions {
  display: none;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.renewal-body .rn-gnb.is-stuck .rn-gnb__sticky-actions {
  display: flex;
}
.renewal-body .rn-gnb.is-stuck .rn-gnb__item {
  padding-top: 10px;
  padding-bottom: 10px;
}
.renewal-body .rn-gnb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 20px 4px 18px;
  font-size: 16px;
  font-weight: 500;
  color: #1e1e1e;
  border-bottom: 2px solid transparent;
}
.renewal-body .rn-gnb__item.is-active {
  color: var(--rn-nav-active);
  border-bottom-color: var(--rn-nav-active);
}
.renewal-body .rn-gnb__item--shop svg{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== GNB hover mega menus (Figma 823:63 / 829:114 / 825:3398 / 969:6182) ===== */
.renewal-body .rn-gnb{
  overflow: visible;
}
.renewal-body .rn-gnb__inner{
  overflow: visible;
}
.renewal-body .rn-gnb__dropdown{
  /* 호버한 메뉴 항목 기준으로 드롭다운 중앙 정렬 */
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.renewal-body .rn-gnb__dropdown > .rn-gnb__item{
  position: relative;
  z-index: 1;
}
.renewal-body .rn-gnb-menu{
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  z-index: 120;
}
.renewal-body .rn-gnb__dropdown:hover > .rn-gnb-menu,
.renewal-body .rn-gnb__dropdown.is-open > .rn-gnb-menu,
.renewal-body .rn-gnb__dropdown:focus-within > .rn-gnb-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.renewal-body .rn-gnb__dropdown:hover > .rn-gnb__item,
.renewal-body .rn-gnb__dropdown.is-open > .rn-gnb__item{
  color: var(--rn-nav-active);
}

/* Parenting cards */
.renewal-body .rn-gnb-menu--parenting{
  width: 420px;
  overflow: hidden;
}
.renewal-body .rn-gnb-menu__list{
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
}
.renewal-body .rn-gnb-menu__card{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}
.renewal-body .rn-gnb-menu__card:hover{
  background: #f7f7f7;
}
.renewal-body .rn-gnb-menu__icon{
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.renewal-body .rn-gnb-menu__icon img{
  width: 18px;
  height: 18px;
  display: block;
}
.renewal-body .rn-gnb-menu__icon--pink{ background: #fff5f7; }
.renewal-body .rn-gnb-menu__icon--blue{ background: #f0f7ff; }
.renewal-body .rn-gnb-menu__icon--green{ background: #f0fff4; }
.renewal-body .rn-gnb-menu__icon--yellow{ background: #fffbf0; }
.renewal-body .rn-gnb-menu__icon--purple{ background: #fbf0ff; }
.renewal-body .rn-gnb-menu__text{
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.renewal-body .rn-gnb-menu__text strong{
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}
.renewal-body .rn-gnb-menu__text em{
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: #888;
}
.renewal-body .rn-gnb-menu__divider{
  height: 1px;
  background: #f0f0f0;
  width: 100%;
}
.renewal-body .rn-gnb-menu__divider--spaced{
  margin: 4px 0 8px;
  background: #e7e7e9;
}
.renewal-body .rn-gnb-menu__footer{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
  font-weight: 400;
}
.renewal-body .rn-gnb-menu__footer:hover{
  background: #fafafa;
  color: #1a1a1a;
}
.renewal-body .rn-gnb-menu__footer img{
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Activities */
.renewal-body .rn-gnb-menu--activities{
  width: 460px;
  border-radius: 16px;
  border-color: #e7e7e9;
  box-shadow: 0 16px 20px rgba(0,0,0,0.06);
  padding: 20px 24px 16px;
}
.renewal-body .rn-gnb-menu__featured{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
  text-decoration: none;
  color: #0d0c22;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
}
.renewal-body .rn-gnb-menu__featured:hover{
  background: #f7f7f7;
}
.renewal-body .rn-gnb-menu__featured img{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.renewal-body .rn-gnb-menu__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4px;
}
.renewal-body .rn-gnb-menu__grid > a{
  display: block;
  padding: 10px 4px;
  color: #565564;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 6px;
  line-height: 1.3;
}
.renewal-body .rn-gnb-menu__grid > a:hover{
  color: #0d0c22;
  background: #f7f7f7;
}

/* Learning / BigsPlay simple lists */
.renewal-body .rn-gnb-menu--learning,
.renewal-body .rn-gnb-menu--bigsplay{
  min-width: 240px;
  padding: 12px 8px;
}
.renewal-body .rn-gnb-menu--learning > a,
.renewal-body .rn-gnb-menu--bigsplay > a{
  display: block;
  padding: 10px 16px;
  color: #3a3a3a;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}
.renewal-body .rn-gnb-menu--learning > a:hover,
.renewal-body .rn-gnb-menu--bigsplay > a:hover{
  background: #f7f7f7;
  color: #1a1a1a;
}

/* ===== Sub GNB (breadcrumb + category tabs) ===== */
.renewal-body .rn-subnav-crumb {
  display: none;
  width: 100%;
  background: #f5f5f5;
  color: #7a7a7a;
  font-size: 13px;
  line-height: 1.4;
  z-index: 90;
}
.renewal-body .rn-subnav-crumb.is-visible,
.renewal-body .rn-subnav-crumb:not([hidden]) {
  display: block;
}
.renewal-body .rn-subnav-crumb[hidden] {
  display: none !important;
}
.renewal-body .rn-subnav-crumb__inner {
  padding-top: 8px;
  padding-bottom: 8px;
}
.renewal-body .rn-subnav {
  display: none;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  z-index: 89;
}
.renewal-body .rn-subnav.is-visible,
.renewal-body .rn-subnav:not([hidden]) {
  display: block;
}
.renewal-body .rn-subnav[hidden] {
  display: none !important;
}
.renewal-body .rn-subnav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 10px 0;
  list-style: none;
}
.renewal-body .rn-subnav__list > li {
  padding-right: 30px;
  line-height: 26px;
}
.renewal-body .rn-subnav__list > li > a {
  color: #7a7a7a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.renewal-body .rn-subnav__list > li > a:hover,
.renewal-body .rn-subnav__list > li > a.active,
.renewal-body .rn-subnav__list > li.is-active > a {
  color: #2d2d2d;
  font-weight: 700;
}
.renewal-body .rn-subnav-crumb.is-fixed,
.renewal-body .rn-subnav.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}
.renewal-body .rn-subnav-crumb.is-fixed { top: 60px; }
.renewal-body .rn-subnav.is-fixed { top: 92px; }

/* ===== Promo ===== */


.renewal-body .rn-promo { padding: 20px 0 0; }
.renewal-body .rn-promo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fcf3fb;
  border-radius: 9999px;
  padding: 10px 40px;
}
.renewal-body .rn-promo__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.renewal-body .rn-promo__content p{
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}
.renewal-body .rn-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  background: #fff;
  border: 1px solid var(--rn-border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.renewal-body .rn-promo__btn[hidden] {
  display: none;
}
.renewal-body .rn-promo__close {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.renewal-body .rn-promo__close-icon {
  display: block;
  width: 24px;
  height: 24px;
  background-color: #1C1B1F;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.renewal-body .rn-promo.is-hidden { display: none !important; }

/* ===== Footer (Figma A22 / 1:1766 + mobile 1049:4809) ===== */


.renewal-body .rn-footer {
  background: #fff;
  border-top: none;
  clear: both;
}
@media (min-width: 1024px){
  .renewal-body .rn-footer {
    border-top: 1px solid #f0e9e6;
  }
}
.renewal-body .rn-footer__top {
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  padding: 72px 20px 80px;
}
.renewal-body .rn-footer__brand {
  flex: 0 0 265px;
  max-width: 265px;
}
.renewal-body .rn-footer__logo {
  display: block;
  height: 63px;
  width: auto;
  max-width: 173px;
  object-fit: contain;
}
.renewal-body .rn-footer__tagline {
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  color: #7a7a7a;
}
.renewal-body .rn-footer__follow {
  margin: 20px 0 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  color: #000;
}
.renewal-body .rn-footer__social {
  display: flex;
  align-items: center;
  gap: 3px;
}
.renewal-body .rn-footer__social a{
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.renewal-body .rn-footer__social img{
  width: 28px;
  height: 28px;
  display: block;
}
.renewal-body .rn-footer__cols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, auto));
  justify-content: end;
  gap: 18px 80px;
  min-width: 0;
}
.renewal-body .rn-footer__cols h4{
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 22.75px;
  color: #2a2a2a;
}
.renewal-body .rn-footer__cols a{
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.75px;
  color: #7a7a7a;
  margin: 0 0 9px;
  transition: color 0.3s ease;
}
.renewal-body .rn-footer__cols a:last-child{ margin-bottom: 0; }
.renewal-body .rn-footer__cols a:hover{
  color: #2a2a2a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.renewal-body .rn-footer__bottom {
  background: #2d2d2d;
  color: #fff;
  font-size: 14px;
}
.renewal-body .rn-footer__bottom-inner {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.renewal-body .rn-footer__company {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 22.75px;
  color: #fff;
}
.renewal-body .rn-footer__legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 30px;
  width: 100%;
}
.renewal-body .rn-footer__legal-row--contact {
  gap: 12px 30px;
}
.renewal-body .rn-footer__rep {
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  color: #fff;
  white-space: nowrap;
}
.renewal-body .rn-footer__rep strong{
  font-weight: 700;
}
.renewal-body .rn-footer__with-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  color: #fff;
  text-decoration: none;
}
.renewal-body .rn-footer__with-icon img{
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  display: block;
}
.renewal-body .rn-footer__copy {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  color: #fff;
}

/* ===== Mobile header / tab ===== */


.renewal-body .rn-m-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.renewal-body .rn-m-header__logo img{ height: 36px; width: auto; }
.renewal-body .rn-m-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.renewal-body .rn-m-header__actions .rn-icon-btn{
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 999px;
}
.renewal-body .rn-m-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}
.renewal-body .rn-m-lang__flag {
  width: 20px;
  height: 14px;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.renewal-body .rn-m-lang__divider {
  width: 1px;
  height: 14px;
  background: #d9d9d9;
}

.renewal-body .rn-m-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  flex-direction: column;
}
.renewal-body .rn-mission-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 12px 20px;
  background: rgba(2, 26, 78, 0.94);
  backdrop-filter: blur(8px);
  color: #fff;
  box-sizing: border-box;
}
.renewal-body .rn-mission-cta__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.renewal-body .rn-mission-cta__text strong{ font-size: 15px; font-weight: 800; }
.renewal-body .rn-mission-cta__text span{ font-size: 12px; opacity: 0.95; }
.renewal-body .rn-mission-cta__btn {
  flex-shrink: 0;
  background: #fff;
  color: #021a4e !important;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
}
/* Bottom tab — WARE 탭바와 동일 스펙(높이/패딩/아이콘 사이즈) */

.renewal-body .rn-tabbar {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  min-height: 64px;
}
.renewal-body .rn-tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  line-height: 1.2;
  color: #2d2d2d;
  text-decoration: none;
}
.renewal-body .rn-tabbar__item.is-active {
  color: var(--rn-nav-active);
  fill: var(--rn-nav-active);
}
.renewal-body .rn-tabbar__item img{
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.renewal-body .rn-tabbar__item svg{
  width: 28px;
  height: 28px;
  object-fit: contain;
  fill: currentColor;
}
.renewal-body .rn-tabbar__avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  object-fit: cover;
}
.renewal-body .rn-tabbar__bigshome {
  position: relative;
  width: 28px;
  height: 28px;
  display: block;
}
.renewal-body .rn-tabbar__bigshome img{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  object-fit: cover;
}
.renewal-body .rn-tabbar__bigshome i{
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}


.renewal-body .rn-footer__m {
  display: none;
  padding: 32px 20px 40px;
  text-align: center;
  background: #f8fafb;
  box-sizing: border-box;
}
.renewal-body .rn-footer__m-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.renewal-body .rn-footer__m-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.renewal-body .rn-footer__m-link {
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  color: #dadada;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.renewal-body .rn-footer__m-link--strong {
  font-weight: 700;
  color: #bbbbbb;
}
.renewal-body .rn-footer__m-sep {
  width: 1px;
  height: 10px;
  background: #dadada;
  flex-shrink: 0;
}
.renewal-body .rn-footer__m-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 76px;
  margin: 0 auto 28px;
  opacity: 0.35;
  object-fit: contain;
}
.renewal-body .rn-footer__biz {
  margin: 0 0 24px;
  text-align: left;
  border: 1px solid rgba(209, 213, 219, 0.5);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
.renewal-body .rn-footer__biz summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 400;
  color: #7a7a7a;
  cursor: pointer;
  list-style: none;
  box-sizing: border-box;
}
.renewal-body .rn-footer__biz summary::-webkit-details-marker{ display: none; }
.renewal-body .rn-footer__biz summary::marker{ content: ""; }
.renewal-body .rn-footer__biz-arrow {
  width: 10px;
  height: 5px;
  flex-shrink: 0;
  position: relative;
  transition: transform .2s ease;
}
.renewal-body .rn-footer__biz-arrow::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #9aa1ac;
  border-bottom: 1.5px solid #9aa1ac;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.renewal-body .rn-footer__biz[open] .rn-footer__biz-arrow{ transform: rotate(180deg); }
.renewal-body .rn-footer__biz-body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(209, 213, 219, 0.5);
}
.renewal-body .rn-footer__biz-body p{
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #6b7280;
}
.renewal-body .rn-footer__biz-body p:last-child{ margin-bottom: 0; }
.renewal-body .rn-footer__copy-m {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: #9ca3af;
}

/* --- responsive header/footer --- */
@media (max-width: 1023px){
  .renewal-body .rn-pc-only { display: none !important; }
  .renewal-body .rn-m-only { display: block; }
  .renewal-body .rn-m-header { display: flex !important; }
  .renewal-body .rn-m-dock { display: flex !important; }
  .renewal-body .rn-tabbar { display: grid !important; position: static; align-content: center; }
  .renewal-body .rn-footer__m { display: block !important; }
  .renewal-body .rn-footer {
    background: #f8fafb;
    border-top: none;
  }
  .renewal-wrap{
    --rn-m-gutter: 20px;
    padding-bottom: 180px;
  }
  .renewal-body .rn-header,
  .renewal-body .rn-gnb,
  .renewal-body .rn-promo,
  .renewal-body .rn-subnav-crumb,
  .renewal-body .rn-subnav { display: none !important; }
  .renewal-body header.rn-m-header{
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
  }
  .renewal-body .rn-footer__m {
    padding: 32px 20px 40px;
  }
  .renewal-body .rn-m-dock {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
}
@media (max-width: 767px){
  .renewal-body .rn-mission-cta__text strong{ font-size: 13px; }
  .renewal-body .rn-mission-cta__text span{ font-size: 11px; }
  .renewal-body .rn-mission-cta__btn { font-size: 13px; padding: 10px 12px; }
}
@media (min-width: 1024px){
  .renewal-body .rn-m-only { display: none; }
}
@media (min-width: 1024px) and (max-width: 1440px){
  .renewal-body .rn-header__inner, .renewal-body .rn-gnb__inner, .renewal-body .rn-promo .rn-container, .renewal-body .rn-footer__top, .renewal-body .rn-footer__bottom-inner {
    max-width: 1400px;
  }
  .renewal-body .rn-footer__top { gap: 48px; padding: 56px 20px 64px; }
  .renewal-body .rn-footer__cols { gap: 18px 40px; }
  .renewal-body .rn-footer__brand { flex-basis: 220px; max-width: 220px; }
  .renewal-body .rn-gnb__nav { gap: 36px; }
}
@media (min-width: 1024px) and (max-width: 1200px){
  .renewal-body .rn-gnb__nav {
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .renewal-body .rn-gnb__nav::-webkit-scrollbar { display: none; }
  .renewal-body .rn-gnb.is-stuck .rn-gnb__nav { justify-content: flex-start; }
  /* overflow-y: hidden이 가로 스크롤 중 세로 스크롤바를 막아주지만, 바로 아래
   * position:absolute로 펼쳐지는 메가메뉴 패널까지 같이 잘라버린다. 드롭다운이
   * 열려있는 동안만 다시 보이게 풀어준다(가로 스크롤은 그 순간만 비활성). */
  .renewal-body .rn-gnb__nav.rn-gnb__nav--menu-open {
    overflow: visible;
  }
}

/* --- mission CTA variant --- */


.renewal-body .rn-mission-cta--daily {
  background: var(--rn-accent);
}
.renewal-body .rn-mission-cta--daily .rn-mission-cta__btn{
  background: #fff;
  color: var(--rn-accent);
}
/* ===== Side Banner (기존 header.php 와 동일) ===== */
.renewal-body .side-banner {
  position: fixed;
  top: 250px;
  width: 90px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.renewal-body .side-banner.left {
  right: 50%;
  margin-right: 720px;
}
.renewal-body .side-banner.right {
  left: 50%;
  margin-left: 720px;
}
.renewal-body .side-banner-item {
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s;
}
.renewal-body .side-banner-item:hover {
  transform: scale(1.05);
}
.renewal-body .side-banner-item img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.renewal-body .side_banner_movie_modal {
  background-color: rgba(0, 0, 0, 0.5);
}
.renewal-body .side_banner_movie_modal .modal-wrap:before {
  display: block;
  position: absolute;
  content: url(https://bigsdata.s3.ap-southeast-3.amazonaws.com/BIGSWARE/images/168158460959481.png);
  top: -73px;
  left: 50%;
  transform: translate(-50%);
}
.renewal-body .side_banner_movie_modal .modal-wrap {
  padding: 30px 50px;
  border: 1px solid #ddd;
  background: #fff;
  position: relative;
}
.renewal-body .side_banner_movie_modal .modal-container {
  padding: 0;
}
.renewal-body .side_banner_movie_modal .modal-close {
  font-size: 1.2em;
  right: -30px;
  top: -15px;
  color: #333;
  font-weight: 700;
  position: absolute;
  cursor: pointer;
}
@media (max-width: 1619px) {
  .renewal-body #side_banner_container {
    display: none;
  }
}

/* ===== Membership status card (index_new.css 원본과 동일 — 모바일 카테고리 드로어에서도 재사용) ===== */
.renewal-body .rn-status-card {
  width: 360px;
  padding: 16px;
  border: 1px solid var(--rn-border);
  border-radius: 14px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.04);
  box-sizing: border-box;
}
.renewal-body .rn-status-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}
.renewal-body .rn-status-card__badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}
.renewal-body .rn-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.renewal-body .rn-badge img { width: 14px; height: 14px; }
.renewal-body .rn-badge svg { display: block; flex-shrink: 0; width: 14px; height: 14px; }
.renewal-body .rn-badge--teacher { color: #232eff; background: #f3f4f6; }
.renewal-body .rn-badge--parent { color: #ff7a59; background: #fff1ed; }
.renewal-body .rn-badge--trial { color: #76b82a; background: #eefff2; font-weight: 700; }
.renewal-body .rn-badge--gray { color: #4b5563; font-weight: 600; padding: 4px 8px; }
.renewal-body .rn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}
.renewal-body .rn-status-card__pay-label {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
}
.renewal-body .rn-status-card__period {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
.renewal-body .rn-status-card__period [data-rn-ms-period-value] {
  color: #111827;
  text-align: right;
  flex: 1;
  min-width: 0;
}
.renewal-body .rn-muted { color: #9ca3af; }
.renewal-body .rn-status-card__unsubscribed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.renewal-body .rn-status-card__cta-text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #2d2d2d;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.renewal-body a.rn-status-card__subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 14px;
  background: #232eff;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0 12px;
  max-width: fit-content;
}
.renewal-body a.rn-status-card__subscribe-btn:hover {
  opacity: 0.92;
  color: #fff;
}

/* ===== Mobile Category Drawer (mall Figma 1112:1129 / ware Figma 1136:1374) ===== */
body.rn-catdrawer-open {
  overflow: hidden;
}
.renewal-body .rn-catdrawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 200;
}
.renewal-body .rn-catdrawer[hidden],
.renewal-body .rn-catdrawer-backdrop[hidden] {
  display: none !important;
}
.renewal-body .rn-catdrawer {
  position: fixed;
  inset: 0;
  z-index: 201;
  background: #f9fafb;
  overflow: hidden;
}
/* font-family/line-height: 상속만으로는 안 된다 — common.css의 *:not(:is(...))
 * 규칙이 .rn-catdrawer__user-row 등 자손을 "직접" 타겟팅해서, 상속된 값보다
 * 우선 적용돼 버린다(특이도와 무관하게 상속 값은 직접 지정 규칙에 항상 진다).
 * 그래서 자손 전체에 직접 걸어준다(box-sizing 고칠 때와 동일한 방식). 호스트
 * 페이지의 폰트 스택/line-height(예: common.css body{line-height:1.6})가 제각각이라
 * 버튼/텍스트 크기가 페이지마다 달라지는 문제가 있었다. */
.renewal-body .rn-catdrawer,
.renewal-body .rn-catdrawer * {
  font-family: "Inter", "Noto Sans KR", "Noto Sans", sans-serif;
  line-height: normal;
}
.renewal-body .rn-catdrawer__scroll {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.renewal-body .rn-catdrawer__topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 16px 20px;
}
.renewal-body .rn-catdrawer__topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.renewal-body .rn-catdrawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}
.renewal-body .rn-catdrawer__close img { width: 20px; height: 20px; }

.renewal-body .rn-catdrawer__user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 16px;
}
.renewal-body .rn-catdrawer__username {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.renewal-body .rn-catdrawer__logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  padding: 0;
  color: #7a7a7a;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}
.renewal-body .rn-catdrawer__logout img { width: 16px; height: 16px; }
.renewal-body .rn-catdrawer__user-row--guest { justify-content: flex-end; }
.renewal-body .rn-catdrawer__login-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--rn-blue);
  text-decoration: none;
}

.renewal-body .rn-catdrawer__card {
  padding: 0 20px 24px;
}
.renewal-body .rn-catdrawer__card .rn-status-card { width: 100%; }

.renewal-body .rn-catdrawer__categories {
  display: flex;
  flex-direction: column;
  padding: 0 20px 8px;
}
.renewal-body .rn-catdrawer__cat {
  border-bottom: 1px solid #eceef1;
}
.renewal-body .rn-catdrawer__cat:last-child { border-bottom: none; }
.renewal-body .rn-catdrawer__cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 18px 4px;
  border: none;
  background: transparent;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.renewal-body .rn-catdrawer__cat-label {
  font-size: 18px;
  font-weight: 700;
  color: #7a7a7a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.renewal-body .rn-catdrawer__cat-shop-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.renewal-body .rn-catdrawer__cat.is-open .rn-catdrawer__cat-label,
.renewal-body a.rn-catdrawer__cat-btn--link:hover .rn-catdrawer__cat-label {
  color: var(--rn-accent);
}
.renewal-body .rn-catdrawer__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.renewal-body .rn-catdrawer__cat.is-open .rn-catdrawer__chevron {
  transform: rotate(180deg);
}
.renewal-body .rn-catdrawer__cat-panel {
  margin: 8px 0 16px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* 아코디언 서브메뉴 카드/리스트 (PC GNB 호버 메뉴와 동일 데이터) */
.renewal-body .rn-catdrawer-menu__heading {
  margin: 0;
  padding: 14px 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}
.renewal-body .rn-catdrawer-menu__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
}
.renewal-body .rn-catdrawer-menu__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}
.renewal-body .rn-catdrawer-menu__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.renewal-body .rn-catdrawer-menu__icon img { width: 18px; height: 18px; }
.renewal-body .rn-catdrawer-menu__icon--pink{ background: #fff5f7; }
.renewal-body .rn-catdrawer-menu__icon--blue{ background: #f0f7ff; }
.renewal-body .rn-catdrawer-menu__icon--green{ background: #f0fff4; }
.renewal-body .rn-catdrawer-menu__icon--yellow{ background: #fffbf0; }
.renewal-body .rn-catdrawer-menu__icon--purple{ background: #fbf0ff; }
.renewal-body .rn-catdrawer-menu__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.renewal-body .rn-catdrawer-menu__text strong {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}
.renewal-body .rn-catdrawer-menu__text em {
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #888;
}
.renewal-body .rn-catdrawer-menu__divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 0 8px;
}
.renewal-body .rn-catdrawer-menu__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
}
.renewal-body .rn-catdrawer-menu__footer img { width: 16px; height: 16px; flex-shrink: 0; }
.renewal-body .rn-catdrawer-menu__featured {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  text-decoration: none;
  color: #0d0c22;
  font-size: 15px;
  font-weight: 600;
}
.renewal-body .rn-catdrawer-menu__featured img { width: 20px; height: 20px; flex-shrink: 0; }
.renewal-body .rn-catdrawer-menu__grid {
  display: flex;
  flex-direction: column;
  padding: 4px 16px 12px;
}
.renewal-body .rn-catdrawer-menu__grid > a {
  padding: 10px 4px;
  color: #565564;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.3;
}
.renewal-body .rn-catdrawer__cat-panel > a {
  display: block;
  padding: 12px 16px;
  color: #3a3a3a;
  font-size: 15px;
  text-decoration: none;
}

.renewal-body .rn-catdrawer__apps {
  padding: 24px 20px;
  border-top: 8px solid #f3f4f6;
}
.renewal-body .rn-catdrawer__apps-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
}
.renewal-body .rn-catdrawer__app-card {
  display: flex;
  gap: 16px;
}
.renewal-body .rn-catdrawer__app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}
.renewal-body .rn-catdrawer__app-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.renewal-body .rn-catdrawer__app-info strong { font-size: 16px; color: #1a1a1a; }
.renewal-body .rn-catdrawer__app-info span { font-size: 13px; color: #7a7a7a; line-height: 1.4; }
.renewal-body .rn-catdrawer__app-badges {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.renewal-body .rn-catdrawer__app-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 999px;
  padding: 8px 16px;
  -webkit-appearance: none;
  appearance: none;
}
.renewal-body .rn-catdrawer__app-badges img { height: 32px; width: auto; display: block; }

.renewal-body .rn-catdrawer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}
.renewal-body .rn-catdrawer__social img { width: 40px; height: 40px; }

@media (min-width: 1024px) {
  .renewal-body .rn-catdrawer,
  .renewal-body .rn-catdrawer-backdrop {
    display: none !important;
  }
}
