@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap);
@import url(https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css);
@import url(https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap);
/* 예시파일 */

:root {
  --layout-color: #fff;
}

@charset 'utf-8';

:root {
  --whole-color: #fff;
  --background-color: #f5f6f8;
  --point-color: #f92626;
  --point-color-secondary: #2869f7;
  --black-color: #111;
  --dark-gray-color: #262626;

  --empty-color: #f5f6f8;
  --default-color: #ddd;
  --blue-gray-color: #3f434c;
  --gray-color: #999;
  --gray-font-color: #828282;
  --tooltip-bg-color: #f7f7f7;

  --default-font-color: #181818;
}

@charset 'utf-8';

/* ============================================================
   선데이클럽 디자인 토큰
   ------------------------------------------------------------
   원본: docs/prototype/ 의 :root 블록 (11개 파일에 중복돼 있던 것을
   여기 하나로 통합). 프로토타입의 토큰 충돌 3건은 아래 기준으로 정리:
   - --line  : #E7E7EA  (detail.html 만 #E4E4E7 였음 → 다수 쪽 채택)
   - --rxl   : 24px     (detail.html 만 22px 였음 → 다수 쪽 채택)
   - --tint  : #F1F0FF  (index/detail 에서 raw hex 였던 것을 토큰화)
   죽은 토큰(--blue2, --violet, --rs)은 살려두되 용도를 명시했다.

   ⚠️ 이 파일은 @shopby 패키지 CSS 뒤, 다른 선데이클럽 CSS 앞에
      로드되어야 한다. import 순서는 src/index.js 에서 제어한다.
   ============================================================ */
/* 랭킹 숫자 등 영문 강조 서체 (테마와 같은 Space Grotesk) */

:root {
  /* ---- 색 ---- */
  --sc-white: #fff;
  --sc-off: #f6f6f7; /* 페이지 배경 */
  --sc-off2: #eeeff1; /* 한 단계 진한 면 */
  --sc-black: #111113;
  --sc-ink-2: #2a2a2e;
  --sc-ink-3: #3f3f46;
  --sc-gray: #71717a; /* 본문 보조 텍스트 */
  --sc-gray-2: #a1a1aa; /* 더 옅은 텍스트 */
  --sc-line: #e7e7ea;
  --sc-line-2: #d4d4d8;

  --sc-blue: #3a2ee8; /* ★ 브랜드 컬러 */
  --sc-blue-2: #8b83ff; /* 어두운 면 위에서 쓰는 밝은 변형 */
  --sc-violet: #6d28d9; /* 보조 강조 */
  --sc-tint: #f1f0ff; /* ★ 후원 하이라이트 배경 */

  --sc-danger: #e5484d; /* 경고·오류 (브랜드 컬러로 대체 금지) */
  --sc-success: #16704a;

  /* ---- 모서리 ---- */
  --sc-rs: 8px;
  --sc-rm: 12px;
  --sc-rl: 16px;
  --sc-rxl: 24px;
  --sc-rpill: 100px;

  /* ---- 레이아웃 ---- */
  --sc-maxw: 1320px; /* 콘텐츠 최대 폭 — 테마(2026-10 새 28종 검토본) --maxw 와 같다. 셸은 전폭 */
  --sc-gut: 24px;

  /* 스티키 헤더 높이 — 헤더 바로 아래에 붙는 요소(상세 탭·목록 정렬 바·우측 요약 칸)의 top 기준.
     모바일: .sc-hd 64 + 아래 선 1. PC 는 GNB 줄이 더해진다(아래 미디어쿼리).
     헤더 높이(.sc-hd · .sc-gnb__inner)를 바꾸면 여기도 같이 고친다. */
  --sc-hdh: 65px;

  /* ---- 상품 이미지 ---- */
  /* 상품 썸네일은 1:1 틀과 중앙 크롭으로 통일한다. 원본 파일은 그대로 유지한다.
     화보 배너·상품 상세 설명 이미지의 비율은 이 토큰과 별개다. */
  --sc-thumb-ratio: 1 / 1;

  /* ---- 타이포 ---- */
  --sc-font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sc-font-mono: 'Space Grotesk', var(--sc-font); /* 랭킹 숫자·퍼센트 */

  /* ---- 구매 UI 공통 규칙 · 2026-11-08 선택안 3(모노톤) ----
     기존 브랜드/의미색을 검정으로 치환하지 않는다.
     주요 행동·금액은 잉크색, 브랜드 보라는 선택·포커스에만 사용한다. */
  --sc-ui-ink: #242428;
  --sc-ui-muted: #62626b;
  --sc-ui-line: #e3e3e8;
  --sc-ui-border: #898994;
  --sc-ui-input-border: #e5e5ea; /* 입력 기본 경계만 부드럽게. 포커스/오류는 별도 유지 */
  --sc-ui-canvas: #f5f5f7; /* 입력 영역 사이를 구분하는 구매 화면 바탕 */
  --sc-ui-card-line: #ebebef;
  --sc-ui-primary: #242428;
  --sc-ui-on-primary: #fff;
  --sc-focus-line: #71717a; /* 2026-11-10: 입력창 활성화 테두리(C안). 보조 글자색(--sc-gray)과 같은 값. 그림자·바깥선 없음 */
  --sc-ui-radius: 8px; /* 2026-11-10: 버튼 6px·입력 8px 로 갈려 있던 모서리를 8px 하나로 */
  --sc-ui-field-height: 44px;
  --sc-ui-field-radius: 8px;
  --sc-checkout-max: 1040px; /* 주문서·장바구니 전용. 상품 전시 폭은 그대로 */
  --sc-ui-page-size: 28px;
  --sc-ui-page-line: 38px;
  --sc-ui-section-size: 20px;
  --sc-ui-section-line: 28px;
  --sc-ui-body-size: 16px;
  --sc-ui-body-line: 26px;
  --sc-ui-label-size: 14px;
  --sc-ui-label-line: 22px;
  --sc-ui-help-line: 24px;

  /* ---- 모션 ---- */
  --sc-ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* ============================================================
     @shopby 패키지 변수 재정의 (20개 전부)
     패키지가 :root 에 정의한 것을 같은 이름으로 덮는다.
     이 파일이 뒤에 로드되므로 이긴다.
     ============================================================ */
  --whole-color: var(--sc-white);
  --black-color: var(--sc-black);
  --dark-gray-color: var(--sc-ink-2);
  --empty-color: var(--sc-off);
  --light-gray-bg-color: var(--sc-off);
  --light-gray-border-color: var(--sc-off2);
  --semi-light-gray-border-color: var(--sc-line);
  --light-border-color: var(--sc-off2);
  --gray-border-color: var(--sc-line);
  --default-color: var(--sc-line);
  --light-blue-gray-border-color: var(--sc-line-2);
  --light-blue-gray-color: var(--sc-gray-2);
  --blue-gray-color: var(--sc-ink-3);
  --gray-color: var(--sc-gray-2);
  --gray-font-color: var(--sc-gray);
  --tooltip-bg-color: var(--sc-off);
  --default-font-color: var(--sc-black);
  --event-coupon-date-color: var(--sc-gray-2);

  /* 경고·오류는 의미색이므로 빨강을 유지한다 */
  --caution-color: var(--sc-danger);

  /* style.css 로컬 변수 */
  --point-color-secondary: var(--sc-violet);
  --layout-color: var(--sc-white);
}

/* PC: 헤더 64 + GNB 줄 48 + 선 2 (GNB 는 1001px 이상에서만 보인다) */
@media (min-width: 1001px) {
  :root {
    --sc-hdh: 114px;
  }
}

/* ============================================================
   ⚠️ 셀러어드민이 런타임에 주입하는 변수 — !important 필요
   ------------------------------------------------------------
   @shopby 패키지가 몰의 '디자인 설정' 값을 읽어 <html> 의
   **인라인 스타일**로 심는다. 실제 주입 확인된 값:

     <html style="--background-color:#F5F6F8; --point-color:#504EB3; ...">

   인라인 스타일은 일반 스타일시트 규칙을 전부 이기므로, 위 :root
   블록의 --point-color 정의는 무시됐다. 작성자 !important 는
   인라인 선언을 이기므로 여기서 확정한다.

   ✅ 대안: 셀러어드민 > 디자인 설정에서 포인트 컬러를 #3A2EE8 로
      바꾸면 !important 없이도 된다. 다만 그 값은 저장소 밖에 있어
      스킨만으로는 재현되지 않으므로, 여기서 코드로 고정한다.
      (어드민에서 색을 바꿔도 이 선언이 이긴다는 점에 유의)
   ============================================================ */
:root {
  --point-color: var(--sc-blue) !important;
  --background-color: var(--sc-off) !important;
}

/* 모바일 좌우 여백 (2026-11-10): 홈·헤더·푸터는 24px, 목록·장바구니·문의 등은 20px 로 갈려
   화면을 넘길 때마다 왼쪽 시작선이 4px 씩 흔들렸다 → 모바일은 20px 하나로 */
@media (max-width: 1000px) {
  :root {
    --sc-gut: 20px;
  }
}

@charset 'utf-8';

/* ============================================================
   기본 타이포그래피 / 전역 보정
   ------------------------------------------------------------
   패키지 common.css 의
     body{font:14px/1 "Montserrat","Noto Sans KR",sans-serif}
   를 덮는다.

   ⚠️ line-height 는 건드리지 않는다.
      @shopby 패키지 전체가 line-height:1 을 기준으로 조판돼 있어
      프로토타입 값(1.55)을 전역에 넣으면 레이아웃이 전부 밀린다.
      필요한 곳에서 개별적으로 준다.
   ============================================================ */

body {
  font-family: var(--sc-font);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 패키지가 폰트를 직접 지정한 두 곳 (서비스 점검 페이지) */
.service-check,
.service-check p:first-child {
  font-family: var(--sc-font);
}

/* ------------------------------------------------------------
   선데이클럽 로고 (Header/BrandMark.jsx)
   2026-10-04 디자이너 최종 전달본부터 텍스트 워드마크 대신
   스파클 심볼 + 워드마크 SVG 를 쓴다.
   ------------------------------------------------------------ */
.sc-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--sc-black);
  line-height: 1;
}

/* 로고 이미지(디자이너 최종 전달본 SVG) — 높이로만 크기를 정한다 */
/* 로고 높이 — 디자이너 전달본(2026-10-14): 헤더 PC 21px · 모바일 17px */
.sc-brand__logo {
  display: block;
  height: 21px;
  width: auto;
}

@media (max-width: 1000px) {
  .sc-brand__logo {
    height: 17px;
  }
}

/* ------------------------------------------------------------
   버튼 — 프로토타입 .btn 시스템
   패키지 .btn 을 덮지 않도록 sc- 접두사를 쓴다.
   패키지 버튼을 재스타일할 때는 아래 layout/components 에서
   `.btn` 을 직접 겨냥한다.
   ------------------------------------------------------------ */
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 24px;
  border-radius: var(--sc-rm);
  border: none;
  cursor: pointer;
  transition: all 0.15s var(--sc-ease);
  white-space: nowrap;
}

.sc-btn--key {
  background: var(--sc-blue);
  color: #fff;
}
.sc-btn--key:hover {
  filter: brightness(1.08);
}

.sc-btn--dark {
  background: var(--sc-black);
  color: #fff;
}
.sc-btn--dark:hover {
  filter: brightness(1.6);
}

.sc-btn--white {
  background: #fff;
  color: var(--sc-black);
  border: 1px solid var(--sc-line);
}
.sc-btn--white:hover {
  background: var(--sc-off);
}

.sc-btn--lg {
  padding: 18px 30px;
  font-size: 16px;
}

/* 키보드 포커스 (프로토타입엔 없지만 접근성상 필요) */
.sc-btn:focus-visible,
.sc-brand:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}

/* ------------------------------------------------------------
   한국어 줄바꿈·가독성 (2026-11-10, 웹·앱 웹뷰 공통)
   - 실측(320·390px): 상품정보 고시표 '인증·허/가', 동의 문구 '수집/이/용' 처럼 단어 중간에서 끊기는 곳과
     마지막 줄에 '돼요.'·'드려요.'·'주세요.' 한 단어만 남는 곳이 15곳 넘게 있었다.
     화면마다 따로 넣던 keep-all 을 전역 기본값으로 올린다.
   - keep-all: 한국어는 띄어쓰기 단위로만 줄바꿈 / break-word: 띄어쓰기 없는 긴 영문·주소·URL 은 넘치지 않게 끊음
   - 제목·짧은 안내는 줄 길이를 고르게(balance), 문단·목록은 마지막 줄 외톨이 단어를 줄임(pretty).
     지원하지 않는 웹뷰(구형 iOS)에서는 그냥 무시되고 기존 줄바꿈 그대로라 안전하다.
   - 가로 모드에서 iOS 가 글자를 임의로 키우지 않게 text-size-adjust 고정
   ------------------------------------------------------------ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  word-break: keep-all;
  overflow-wrap: break-word;
}
h1,
h2,
h3,
h4,
.sc-gate__title,
.modal__text,
figcaption,
small,
button,
.btn,
.check-radio__label,
dt {
  text-wrap: balance;
}
p,
li,
dd,
blockquote,
.sc-model__lead,
.sc-model__note,
.sc-recovery__note,
.notice-list__item,
.sc-policy__note {
  text-wrap: pretty;
}
/* 보강: pretty 는 크롬에서 2~3줄짜리 짧은 문단의 외톨이 단어('드려요.'·'따라요.')를 그대로 두는 경우가 있었다
   → 사이트 전체 기본은 pretty(상속), 짧은 안내·목록·푸터 주소·후원 문구는 줄 길이를 고르게(balance) */
body {
  text-wrap: pretty;
}
li,
dd,
small,
.sc-policy__note,
.sc-policy__lead,
.sc-model__lead,
.sc-model__note,
.sc-recovery__note,
.sc-gate__desc,
.sc-ft__legal > *,
.sc-ft__intro p,
[class*='sc-dona'],
.notice-list__item,
.modal__text {
  text-wrap: balance;
}

@charset 'utf-8';

/* ============================================================
   프리미티브 — 재사용 원자
   ------------------------------------------------------------
   특정 화면에 묶이지 않는 최소 단위. 컨테이너, 버튼, 배지 등.
   컴포넌트(components.css)가 이것들을 조립해 쓴다.
   ============================================================ */

/* ============================================================
   선데이클럽 컴포넌트 스타일
   ------------------------------------------------------------
   원본: docs/prototype/ 의 인라인 \3c style> 블록.
   프로토타입은 11개 파일에 셸 CSS(헤더·드로어·푸터·탭바·토스트)를
   60~80줄씩 중복 정의해 뒀는데(총 1,500줄 중 700~800줄이 중복),
   여기서 하나로 통합한다.

   프로토타입의 불일치는 다음 기준으로 정리했다:
   - 헤더 5종 → 1종 (isMain / sub 두 모드)
   - 푸터 4종 → 1종 (detail.html 의 grid 4단을 채택)
   - .btn--lg 의 width:100% 는 분리해 .sc-btn--block 으로
   - 데스크톱 텍스트 확대 브레이크포인트 821 vs 901 → 1001 로 통일
     (Aurora 패키지가 이미 쓰는 값과 맞춤)
   ============================================================ */

/* ------------------------------------------------------------
   컨테이너
   Aurora 의 .page__content.site 가 이미 폭을 잡으므로
   .sc-wrap 은 그 안에서 좌우 여백만 담당한다.
   ------------------------------------------------------------ */
.sc-wrap {
  width: 100%;
  max-width: var(--sc-maxw);
  margin: 0 auto;
  padding: 0 var(--sc-gut);
}

@charset 'utf-8';

/* ============================================================
   레이아웃 — 페이지 골격
   ------------------------------------------------------------
   여기서 다루는 것: 셸 폭, 본문 폭, 페이지 단(段) 구성.

   ★ 브레이크포인트는 1001px 하나만 쓴다.
     @shopby 패키지가 이미 500 / 501 / 720 / 1001 을 쓰는데,
     그중 데스크톱 경계인 1001 에 맞췄다. 프로토타입은 820·900·1100
     등을 섞어 썼지만 하나로 통일했다.
     JS 쪽 짝: src/constants/layout.js 의 DESKTOP_BREAKPOINT.
     **바꿀 때 양쪽을 함께 고칠 것.** (CSS 커스텀 속성은 미디어쿼리에서
     못 쓰기 때문에 값을 두 번 적을 수밖에 없다)

   ★ 본문 폭은 CSS 가 판단하지 않는다.
     라우트 → 폭 매핑은 src/constants/layout.js 한 곳에 있고,
     Layout.jsx 가 그 결과를 `data-content-width` 로 찍는다.
     CSS 는 페이지 이름을 몰라야 한다.
   ============================================================ */

/* ------------------------------------------------------------
   1. 셸 — 데스크톱 전폭

   Aurora 기본값은 `.page__content{max-width:500px}` 로 PC 에서도
   모바일 폭을 유지한다(docs/BRANDING.md §2.6). 1001px 이상에서는
   테마(2026-10 새 28종 검토본)처럼 셸을 화면 끝까지 흰 바탕으로 편다.
   헤더·공지·GNB·푸터는 바탕만 전폭이고 내용은 .sc-wrap(--sc-maxw)이,
   본문은 아래 2번 계약이 폭을 정한다.
   모바일 구간은 Aurora 기본 동작을 그대로 둔다.
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  .page {
    background-color: var(--sc-white);
  }

  .page-inner {
    max-width: none;
    justify-content: center;
  }

  .page__content.site {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: none;
  }

  /* PC 좌측 배너(BNBGLEFT)는 프로토타입에 없는 요소 */
  .page__content.banner--left,
  .page__side {
    display: none;
  }
}

/* ------------------------------------------------------------
   2. 본문 폭 — 라우트가 선언한 값을 따른다

   narrow : 입력 폼 중심. 한 줄이 길면 오히려 쓰기 나쁘다.
   medium : 읽는 문서 중심. 본문 가독폭.
   wide   : 상품·전시. 콘텐츠 최대 폭(--sc-maxw).
   checkout : 주문서·장바구니. 집중형 2단(--sc-checkout-max).
   full   : 메인. 폭 제한 없음 — 풀블리드 배너가 있고, 섹션이 각자 폭을 잡는다.

   페이지를 추가할 때 이 파일은 손대지 않는다.
   src/constants/layout.js 에 한 줄만 넣으면 된다.
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  .l-content[data-content-width='narrow'],
  .l-content[data-content-width='medium'] {
    margin-left: auto;
    margin-right: auto;
    padding-top: 24px;
  }

  /* 2026-11-11: 560 → 440 → 380px. 입력칸·버튼 약 340px — 사용자가 보내 준 29CM 로그인 캡처(버튼 약 335px)와 같은 폭 */
  .l-content[data-content-width='narrow'] {
    max-width: 380px;
  }

  .l-content[data-content-width='medium'] {
    max-width: 860px;
  }

  .l-content[data-content-width='wide'],
  .l-content[data-content-width='checkout'] {
    margin-left: auto;
    margin-right: auto;
  }
  .l-content[data-content-width='wide'] {
    max-width: var(--sc-maxw);
  }
  .l-content[data-content-width='checkout'] {
    max-width: var(--sc-checkout-max);
  }
}

/* ------------------------------------------------------------
   3. 상품 그리드 — 데스크톱 5열

   패키지 기본은 `.thumb-item{width:calc(50% - 5px)}`(모바일 2열)이고
   넓은 화면에서 4열이 된다. 프로토타입의 촘촘한 그리드는 5열이다.
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  .thumb-GALLERY {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .thumb-GALLERY .thumb-item {
    width: calc(20% - 16px); /* 5열: 그리드 폭에서 간격 4×20 을 뺀 1/5 */
    margin: 0;
  }
}

/* 좁은 화면에서는 PC 플랫폼 클래스가 남아도 메인 상품을 읽기 쉬운 2열로 유지한다. */
@media (max-width: 1000px) {
  #new .thumb-GALLERY {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  #new .thumb-GALLERY .thumb-item {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
}

/* ------------------------------------------------------------
   4. 2단 페이지

   Aurora 는 모바일 퍼스트라 모든 페이지가 세로 1단이다.
   프로토타입의 데스크톱 2단(본문 좌 / 요약·구매 우 sticky)을
   1001px 이상에서만 얹는다. 세 페이지가 같은 골격을 쓴다.
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  .sc-pd__top,
  .sc-cart,
  .sc-osheet {
    display: grid;
    align-items: start;
    padding-top: 8px;
  }

  /* 우측 컬럼은 스크롤을 따라간다 */
  .sc-pd__aside,
  .sc-cart__aside,
  .sc-osheet__aside {
    position: sticky;
    top: calc(var(--sc-hdh) + 20px); /* 스티키 헤더(tokens.css) 아래 20px */
  }

  /* 상품상세 — 갤러리가 넓다 */
  /* 대표 이미지도 공통 정방형(--sc-thumb-ratio 1:1)이다. 칸을 600px로 제한해 한 화면에 담는다. */
  .sc-pd__top {
    grid-template-columns: minmax(0, 600px) minmax(380px, 440px);
    justify-content: center;
    gap: 64px;
  }

  /* 장바구니·주문서 — 요약 컬럼이 좁다 */
  .sc-cart,
  .sc-osheet {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
  }

  .sc-osheet__aside .order-sheet__pay-btn {
    width: 100%;
    margin-top: 12px;
  }

  /* 데스크톱에서는 하단 고정 주문바가 필요 없다 (우측에 버튼이 있다) */
  .sc-cart .cart__fixed-order-btn {
    display: none;
  }

  /* 상세 대표 이미지는 좌측 컬럼 폭을 그대로 쓴다.
     ⚠️ <img> 에 max-width 를 걸면 swiper 슬라이드 폭과 어긋나 깨진다.
        반드시 컨테이너를 제한할 것. */
  .sc-pd__top .thumb-DETAIL .thumb-item__media {
    max-width: none;
  }
}

/* 모바일: 상세 대표 이미지가 과하게 커지지 않도록 */
@media (max-width: 1000px) {
  .thumb-DETAIL .thumb-item__media {
    max-width: 600px;
    margin: 0 auto;
  }
  /* 셀러 사진 대부분이 3:4 세로형이라 정사각 틀에서는 좌우에 흰 띠가 생겼다.
     모바일 상세 첫 화면만 3:4 틀로 바꿔 사진이 화면 폭을 채우게 한다(자르지 않음, contain 유지). */
  .sc-pd__top .thumb-DETAIL .thumb-item__media {
    aspect-ratio: 3 / 4;
  }
}

/* ------------------------------------------------------------
   반응형 보완 (2026-11-10, 14개 폭 실측)
   - 1001~1340px: 홈 배너·후원 카드·상세 사진이 화면 왼쪽 끝(0px)에 붙고,
     감사 선물 배너는 60px, 헤더·탭은 24px 로 시작선이 셋 다 달랐다
     (layout.css 가 components.css 보다 먼저 로드되므로 :root 로 우선순위를 올린다)
     → 1320px 보다 좁을 때는 좌우 24px(헤더와 같은 시작선)을 남긴다. 1440px 이상은 그대로.
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  :root .sc-heroc,
  :root .sc-model,
  :root .main-view > .sc-fbanner {
    max-width: min(var(--sc-maxw), calc(100% - 48px));
  }
  :root .main-view > .sc-fbanner {
    margin-left: auto;
    margin-right: auto;
  }
  :root .sc-pd__top {
    padding-left: 24px;
    padding-right: 24px;
    gap: clamp(32px, 4.5vw, 64px);
  }
}

/* 좁은 터치 영역 보완(모바일·태블릿): 보이는 크기는 그대로 두고 누르는 영역만 44px 로 넓힌다 */
@media (max-width: 1000px) {
  /* 서브 페이지 헤더 아이콘은 이미 40×44 라 홈 헤더만 */
  :root .sc-hd-root:not(.is-sub) .sc-hd__icon {
    min-width: 44px;
    min-height: 44px;
    margin: -11px;
  }
  :root .sc-thead__more {
    min-height: 44px;
    margin: -13px 0;
  }
  :root .sc-pd-delivery-period button {
    min-height: 40px;
    margin: -12px 0;
  }
  /* 모바일 저작권 줄 9px → 푸터 다른 작은 글자와 같은 10px */
  :root .sc-ft__base {
    font-size: 10px;
    line-height: 14px;
  }
}

/* 장바구니·주문서 1001~1088px: 집중형 1040px 폭이 화면보다 넓어 카드·결제 버튼이 양 끝에 붙었다 → 좌우 24px (2026-11-10) */
@media (min-width: 1001px) {
  :root .l-content[data-content-width='checkout'] {
    max-width: min(var(--sc-checkout-max), calc(100% - 48px));
  }
}
/* 장바구니 상품 삭제 X: 누르는 영역 16px → 44px. X 는 버튼 가운데에 그대로(의사요소 위치 규칙은 건드리지 않음) */
:root .cart .cart__product-price > .cart__delete-btn {
  width: 44px;
  height: 44px;
  margin-top: -14px;
  margin-bottom: -14px;
  margin-right: -14px;
}
/* 장바구니·주문서 요약 금액 '4,500 원' → 상품 줄과 같은 '4,500원'(패키지 기본 숫자 오른쪽 4px 여백 제거, 2026-11-10) */
:root .price-tag dd > em {
  margin-right: 1px;
}

/* ------------------------------------------------------------
   푸터를 화면 아래에 (2026-11-11)
   내용이 짧은 화면(빈 장바구니·빈 주문 내역·로그인 등)에서 푸터가 화면 중간까지 올라와 있었다.
   본문 영역이 남는 높이를 채우게 해서, 내용이 짧아도 푸터는 화면 맨 아래에서 시작한다.
   ------------------------------------------------------------ */
.page__content.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.page__content.site > .l-content {
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
  /* 내용이 짧아도 첫 화면은 본문이 채우고, 푸터는 스크롤해야 보이게 (화면 높이 − 헤더) */
  min-height: calc(100vh - var(--sc-hdh));
  min-height: calc(100svh - var(--sc-hdh));
}
/* 메인은 섹션이 길어서 해당 없음 — 상품 상세는 product.css 가 따로 잡는다 */
.page__content.site > footer {
  flex: none;
}

@charset 'utf-8';

/* ============================================================
   컴포넌트 — 조립된 UI
   ------------------------------------------------------------
   여기 있는 선택자는 전부 `sc-` 접두사를 가진다.
   즉 **우리가 마크업까지 소유한 것들**이다.
   패키지 클래스(.btn, .header, .page …)를 건드리는 규칙은
   overrides.css 로 간다. 이 경계를 지켜야 나중에 패키지를
   업그레이드할 때 무엇이 깨질지 예측할 수 있다.

   원본 디자인: docs/prototype/
   프로토타입은 셸 CSS 를 11개 파일에 60~80줄씩 중복해 뒀는데
   (1,500줄 중 700~800줄이 중복) 여기서 하나로 통합했다.
   ============================================================ */

/* ============================================================
   헤더
   원본: docs/prototype/index.html — header.site / .hd / .gnbrow
   ============================================================ */
.sc-hd-root {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--sc-line);
}

.sc-hd {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

/* 아이콘 버튼 공통 */
.sc-hd__icon {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sc-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  flex: none;
}
.sc-hd__icon svg {
  width: 22px;
  height: 22px;
}
.sc-hd__icon:hover {
  color: var(--sc-blue);
}
.sc-hd__icon:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.sc-hd__ic {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

/* 장바구니 배지 */
.sc-hd__badge {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  background: var(--sc-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--sc-rpill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* 검색 pill */
.sc-hd__search {
  flex: 1;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--sc-off);
  border-radius: var(--sc-rpill);
  padding: 0 16px;
  height: 44px;
  color: var(--sc-gray);
  border: none;
  font-family: inherit;
  cursor: pointer;
  min-width: 0;
}
.sc-hd__search-ico {
  width: 18px;
  height: 18px;
  flex: none;
}
.sc-hd__search-text {
  font-size: 14px;
  color: var(--sc-black);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sc-hd__search-text--ph {
  color: var(--sc-gray);
}
.sc-hd__search input {
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  color: var(--sc-black);
  min-width: 0;
}
.sc-hd__search--btn {
  text-align: left;
}

/* 서브 페이지 타이틀 */
.sc-hd__title {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sc-black);
  line-height: 1.3;
}
.sc-hd__title .editor {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 하위 페이지 헤더 — PC 는 테마처럼 메인과 같은 헤더(메뉴·로고·검색·아이콘·GNB),
   모바일은 ← 제목. 두 벌을 같이 그리고 폭으로 하나만 보인다 (Header.jsx sc-hd__pc / sc-hd__m) */
@media (min-width: 1001px) {
  .sc-hd .sc-hd__m {
    display: none;
  }
}
@media (max-width: 1000px) {
  .sc-hd .sc-hd__pc {
    display: none;
  }
}

/* PC 페이지 제목 (Layout.jsx PageHead) — 하위 페이지 헤더에서 빠진 제목을 본문 맨 위에 */
.sc-pagehead {
  display: none;
}
@media (min-width: 1001px) {
  .sc-pagehead {
    display: block;
    padding: 34px 20px 10px;
  }
  .sc-pagehead__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: var(--sc-black);
  }
}

/* 상단 공지 바 — 테마 .notice (헤더 위, 스크롤하면 사라진다) */
.sc-notice {
  background: var(--sc-black);
  color: #fff;
  font-size: 13px;
  text-align: center;
}
.sc-notice__in {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.sc-notice b {
  font-weight: 600;
  color: var(--sc-blue-2);
}
/* 닫기(×) — 오늘 하루 숨김(Header.jsx SiteNotice). 헤더 장바구니 아이콘과 같은 세로선에 둔다:
   아이콘(22px) 가운데 = 오른쪽 여백 + 11px → 36px 버튼은 오른쪽 여백 - 7px */
.sc-notice__in {
  position: relative;
}
.sc-wrap.sc-notice__in {
  padding-left: 44px;
  padding-right: 44px;
}
.sc-notice__x {
  position: absolute;
  top: 50%;
  right: calc(var(--sc-gut) - 7px);
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}
.sc-notice__x:hover {
  color: #fff;
}
.sc-notice__x svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 600px) {
  .sc-notice__opt {
    display: none;
  }
}

/* GNB 줄 */
.sc-gnb {
  border-top: 1px solid var(--sc-line);
}
.sc-gnb__inner {
  display: flex;
  gap: 26px;
  height: 48px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.sc-gnb__inner::-webkit-scrollbar {
  height: 0;
}
.sc-gnb a {
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-gray);
  white-space: nowrap;
}
.sc-gnb a:hover {
  color: var(--sc-black);
}
.sc-gnb a.is-hot {
  color: var(--sc-blue);
}

/* 모바일 검색 아이콘은 데스크톱에서 감춘다 (검색 pill 이 있으므로) */
.sc-hd__icon--mobile-search {
  display: none;
}

@media (max-width: 1000px) {
  /* 좁은 화면에서는 검색 pill 대신 아이콘 */
  .sc-hd-root.is-main .sc-hd__search {
    display: none;
  }
  .sc-hd__icon--mobile-search {
    display: inline-flex;
  }
  .sc-gnb {
    display: none;
  }
  .sc-hd__menu {
    order: -1;
  }
}
/* 사용자 선택 01안: 모바일 하위 헤더는 로고 없이 제목만, 좌우 칸은 대칭으로 둔다. */
@media (max-width: 1000px) {
  .sc-hd-root.is-sub .sc-hd {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    gap: 0;
  }
  .sc-hd-root.is-sub .sc-hd__back {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 40px;
    min-height: 44px;
    margin-left: -9px;
  }
  .sc-hd-root.is-sub .sc-hd__title,
  .sc-hd-root.is-sub .sc-hd__search:not(.sc-hd__pc) {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .sc-hd-root.is-sub .sc-hd__ic {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    gap: 0;
    margin-left: 0;
    margin-right: -9px;
  }
  .sc-hd-root.is-sub .sc-hd__ic > .sc-hd__icon {
    min-width: 40px;
    min-height: 44px;
  }
}
/* ============================================================
   푸터 — 작은 텍스트 01안. 29CM PC 실측을 참고한 15·13·12·10px 체계.
   브랜드 문구·회사 정보·약관 데이터는 기존 값을 유지한다.
   ============================================================ */
.sc-ft {
  background: var(--sc-white);
  border-top: 1px solid var(--sc-line);
  padding: 20px 0 28px;
}
.sc-ft__grid {
  display: grid;
  grid-template-columns: 2.35fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 20px 0 24px;
}
.sc-ft__intro h3,
.sc-ft__col h3 {
  margin: 0 0 12px;
  color: var(--sc-black);
  font-size: 13px;
  line-height: 18.2px;
  font-weight: 700;
}
.sc-ft__intro p {
  max-width: 420px;
  margin: 0;
  color: var(--sc-ink-3);
  font-size: 12px;
  line-height: 18px;
  word-break: keep-all;
}
.sc-ft__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sc-ft__col li + li { margin-top: 10px; }
.sc-ft__col a,
.sc-ft__terms,
.sc-ft__policies a {
  color: var(--sc-black);
  font: inherit;
  font-size: 12px;
  line-height: 16.32px;
  text-align: left;
}
.sc-ft__col a { display: inline-block; }
/* 고객센터 전화 — 번호는 끊지 않는다. 좁은 모바일 열에선 '고객센터'와 번호를 두 줄로 쌓는다(아래 미디어쿼리) */
.sc-ft__tel span { white-space: nowrap; }
.sc-ft__terms { padding: 0; border: 0; background: none; cursor: pointer; }
.sc-ft__terms.is-bold { font-weight: 700; }
.sc-ft__policies {
  padding-top: 16px;
  border-top: 1px solid var(--sc-line);
}
.sc-ft__policies-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.sc-ft a:hover,
.sc-ft__terms:hover { text-decoration: underline; text-underline-offset: 3px; }
.sc-ft a:focus-visible,
.sc-ft button:focus-visible,
.sc-ft summary:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 4px;
}
.sc-ft__business { margin-top: 16px; }
.sc-ft__business summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 24px;
  color: var(--sc-ink-3);
  font-size: 10px;
  line-height: 14px;
  list-style: none;
  cursor: pointer;
}
.sc-ft__business summary::-webkit-details-marker { display: none; }
.sc-ft__business-label { display: inline-flex; align-items: center; gap: 8px; }
.sc-ft__business-icon { position: relative; width: 8px; height: 8px; }
.sc-ft__business-icon::before,
.sc-ft__business-icon::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
}
.sc-ft__business-icon::after { transform: rotate(90deg); }
.sc-ft__business[open] .sc-ft__business-icon::after { transform: none; }
.sc-ft__legal {
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 8px;
  color: var(--sc-ink-3);
  font-size: 10px;
  line-height: 14px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.sc-ft__legal a { color: inherit; text-decoration: underline; }
.sc-ft__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--sc-gray);
  font-size: 10px;
  line-height: 14px;
}
.sc-ft__fair-logo { max-height: 24px; width: auto; }
@media (max-width: 1000px) {
  .sc-ft { padding: 9px 0 24px; }
  /* 쇼핑·안내·문의 세 묶음을 한 줄 3열로: 2열이면 '문의'만 다음 줄로 떨어져 푸터가 길어졌다 */
  .sc-ft__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; padding: 19px 0 22px; }
  .sc-ft__intro { grid-column: 1 / -1; }
  .sc-ft__intro h3,
  .sc-ft__col h3 { margin-bottom: 10px; }
  /* 터치 영역 40px: 글자 크기는 그대로 두고 줄 간격으로 확보한다. */
  .sc-ft__col a,
  .sc-ft__policies a,
  .sc-ft__terms { min-height: 40px; display: inline-flex; align-items: center; }
  .sc-ft__col li + li { margin-top: 0; }
  .sc-ft__col .sc-ft__tel { flex-direction: column; align-items: flex-start; justify-content: center; }
  .sc-ft__col h3 { margin-bottom: 2px; }
  .sc-ft__policies { padding-top: 6px; }
  .sc-ft__policies-inner { gap: 0 20px; }
  .sc-ft__business { margin-top: 6px; }
  .sc-ft__business summary { justify-content: flex-start; gap: 12px; min-height: 40px; }
  .sc-ft__legal a { display: inline-flex; align-items: center; min-height: 32px; margin: -9px 0; }
  /* 고정 위로 버튼이 사업자 정보·저작권 문구를 덮지 않게 우측을 비워 둔다. */
  .sc-ft__legal,
  .sc-ft__base { max-width: calc(100% - 68px); }
  .sc-ft__legal { line-height: 15px; gap: 4px 10px; }
  .sc-ft__base { align-items: flex-start; flex-direction: column; font-size: 9px; line-height: 13px; }
}
/* 상단 이동 플로팅 버튼은 기본·hover·누름·포커스 상태 모두 그림자 없이 표시한다. */
.fab-top-down .fab-btn--top,
.fab-top-down .fab-btn--top:hover,
.fab-top-down .fab-btn--top:active,
.fab-top-down .fab-btn--top:focus {
  box-shadow: none;
}

/* ============================================================
   모바일 하단 탭바
   원본: docs/prototype/index.html — .tabbar (10개 파일에 동일 중복)
   프로토타입은 820px 에서 노출하지만, 여기서는 레이아웃 확장
   브레이크포인트(1001px)와 맞춘다.
   ============================================================ */
.sc-tab {
  display: none;
}

@media (max-width: 1000px) {
  .sc-tab {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-top: 1px solid var(--sc-line);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .sc-tab__link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 0 7px;
    color: var(--sc-gray);
    font-size: 11px;
    font-weight: 600;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
  }
  .sc-tab__link svg {
    width: 22px;
    height: 22px;
  }
  .sc-tab__link.is-active {
    color: var(--sc-blue);
  }

  .sc-tab__ico-wrap {
    position: relative;
    display: inline-flex;
  }
  .sc-tab__badge {
    position: absolute;
    top: -5px;
    right: -8px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    background: var(--sc-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    border-radius: var(--sc-rpill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
}
/* ============================================================
   후원 표시 (선데이클럽의 브랜드 시그니처)
   원본: docs/prototype 전반의 .donate / .donate-box / .donabox /
        .give / .donacard … 12개 클래스를 4개 변형으로 통합.
   공통 토큰: --sc-tint 배경 + --sc-blue 텍스트
   ============================================================ */
.sc-dona {
  font-family: inherit;
}

/* --- pill : 웹·모바일·앱 웹뷰 상품 카드 공통 모노톤 --- */
.sc-dona--pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--sc-ui-muted, #62626b);
  background: var(--sc-off, #f6f6f7);
  border-radius: var(--sc-rpill);
  padding: 4px 10px 4px 8px;
  line-height: 1;
  white-space: nowrap;
}
.sc-dona--pill svg {
  width: 13px;
  height: 13px;
  color: var(--sc-ui-ink, #242428);
  flex: none;
}
.sc-dona--pill b {
  color: var(--sc-ui-ink, #242428);
  font-weight: 700;
}

/* --- inline : 곁줄 텍스트 --- */
.sc-dona--inline {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sc-blue);
  white-space: nowrap;
}

/* --- box : 상세·요약 콜아웃 --- */
.sc-dona--box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--sc-tint);
  border-radius: var(--sc-rm);
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sc-ink-3);
}
.sc-dona--box svg {
  width: 19px;
  height: 19px;
  color: var(--sc-blue);
  flex: none;
  margin-top: 1px;
}
.sc-dona--box b {
  color: var(--sc-blue);
  font-weight: 800;
}

/* --- hero : 주문완료·마이페이지 대형 카드 --- */
.sc-dona--hero {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--sc-blue);
  color: #fff;
  border-radius: var(--sc-rxl);
  padding: 26px 28px;
  margin: 24px 0 6px;
}
.sc-dona__badge {
  width: 56px;
  height: 56px;
  border-radius: var(--sc-rl);
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.sc-dona__badge svg {
  width: 28px;
  height: 28px;
  color: #fff;
  stroke-width: 1.8;
}
.sc-dona__hero-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sc-dona__hero-text em {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.82;
  font-style: normal;
}
.sc-dona__hero-text > span {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}
.sc-dona__hero-text b {
  font-weight: 800;
}

@media (max-width: 600px) {
  .sc-dona--hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 20px;
  }
}
/* ============================================================
   상품 카드 텍스트
   원본: docs/prototype/list.html — .pbrand / .pname / .pprice
   ============================================================ */
.sc-pcard__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sc-pcard__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--sc-black);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sc-pcard__name-text {
  display: inline;
}
.sc-pcard__promo {
  color: var(--sc-blue);
  font-weight: 700;
  margin-right: 4px;
}

.sc-pcard__price {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sc-black);
  line-height: 1.2;
}
.sc-pcard__price em {
  font-style: normal;
}
.sc-pcard__price span {
  font-size: 0.82em;
  font-weight: 600;
  margin-left: 0;
}

@media (max-width: 600px) {
  .sc-pcard__name {
    font-size: 13.5px;
  }
  .sc-pcard__price {
    font-size: 15px;
  }
  .sc-dona--pill {
    font-size: 11px;
    padding: 3px 8px 3px 7px;
  }
}
/* ============================================================
   좌측 슬라이드인 드로어
   원본: docs/prototype/index.html — .menu-ov / .menu / .menu-*
   ============================================================ */
.sc-drawer__dim {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 19, 0.45);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--sc-ease);
}
.sc-drawer__dim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sc-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 336px;
  max-width: 86vw;
  background: #fff;
  z-index: 61;
  transform: translateX(-100%);
  transition: transform 0.3s var(--sc-ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sc-drawer.is-open {
  transform: translateX(0);
}

.sc-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--sc-line);
}
.sc-drawer__brand {
  font-size: 20px;
}
.sc-drawer__top button {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-black);
  /* 아이콘은 22px 그대로, 누르는 영역만 44px로 넓힌다. 음수 여백으로 배치는 유지. */
  width: 44px;
  height: 44px;
  margin: -11px;
  padding: 0;
  border-radius: 8px;
}
.sc-drawer__top button svg {
  width: 22px;
  height: 22px;
}

.sc-drawer__account {
  padding: 18px 22px 4px;
}
.sc-drawer__account p {
  font-size: 15px;
  color: var(--sc-gray);
  line-height: 1.5;
}
.sc-drawer__account p a {
  font-weight: 700;
  color: var(--sc-black);
}
.sc-drawer__signin {
  width: 100%;
}

.sc-drawer__body {
  padding-bottom: 8px;
}

.sc-drawer__sec {
  padding: 2px 22px 8px;
}
.sc-drawer__sec h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sc-gray);
  text-transform: uppercase;
  margin: 18px 0 4px;
}

.sc-drawer__cat a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--sc-black);
  border-bottom: 1px solid var(--sc-line);
}
.sc-drawer__cat a:hover {
  color: var(--sc-blue);
}
.sc-drawer__cat svg {
  width: 16px;
  height: 16px;
  color: var(--sc-gray-2);
  flex: none;
}

.sc-drawer__links a {
  display: block;
  padding: 9px 2px;
  font-size: 14px;
  color: var(--sc-gray);
}
.sc-drawer__links a:hover {
  color: var(--sc-black);
}

.sc-drawer__foot {
  margin-top: auto;
  padding: 16px 22px;
  border-top: 1px solid var(--sc-line);
  color: var(--sc-gray-2);
  font-size: 12.5px;
}
/* ============================================================
   섹션 공통 (제목 / kicker)
   원본: docs/prototype/index.html — .shead / .kick
   Aurora 의 .product-section__title 을 재스타일한다.
   ============================================================ */
.sc-kick {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sc-gray);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ============================================================
   퀵내비
   원본: docs/prototype/index.html — .quick / .qn
   ============================================================ */
.sc-quick {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  max-width: var(--sc-maxw);
  margin: 0 auto;
  padding: 32px var(--sc-gut) 8px;
}
.sc-quick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 84px;
}
.sc-quick__ico {
  width: 60px;
  height: 60px;
  border-radius: 19px;
  background: var(--sc-off);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-black);
  transition: 0.15s var(--sc-ease);
}
.sc-quick__ico svg {
  width: 24px;
  height: 24px;
}
.sc-quick__item:hover .sc-quick__ico {
  background: var(--sc-tint);
  color: var(--sc-blue);
  transform: translateY(-3px);
}
.sc-quick__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--sc-black);
  text-align: center;
}

@media (max-width: 600px) {
  .sc-quick {
    gap: 6px;
  }
  .sc-quick__ico {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .sc-quick__ico svg {
    width: 21px;
    height: 21px;
  }
  .sc-quick__label {
    font-size: 12px;
  }
}
/* ============================================================
   ★ 구매가 곧 후원 — 마진 모델 밴드 (브랜드 핵심 섹션)
   원본: docs/prototype/index.html #model
   ============================================================ */
.sc-model {
  max-width: var(--sc-maxw);
  margin: 64px auto 8px;
}
.sc-model__inner {
  background: var(--sc-off);
  border-radius: var(--sc-rxl);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.sc-model__head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--sc-black);
}
.sc-model__lead {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--sc-gray);
  max-width: 24em;
}

.sc-model__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sc-model__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  background: #fff;
  border-radius: var(--sc-rl);
  padding: 18px 20px;
}
.sc-model__row-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.sc-model__row-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--sc-black);
}
.sc-model__row-text span {
  font-size: 12.5px;
  color: var(--sc-gray);
  line-height: 1.5;
}
.sc-model__row-pct {
  font-family: var(--sc-font);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sc-black);
  font-variant-numeric: tabular-nums;
}
.sc-model__bar {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: var(--sc-rpill);
  background: var(--sc-off2);
  overflow: hidden;
  margin-top: 10px;
}
.sc-model__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sc-line-2);
}

/* 후원 행만 브랜드 컬러로 강조 */
.sc-model__row.is-key {
  background: var(--sc-blue);
}
.sc-model__row.is-key .sc-model__row-text strong,
.sc-model__row.is-key .sc-model__row-pct {
  color: #fff;
}
.sc-model__row.is-key .sc-model__row-text span {
  color: rgba(255, 255, 255, 0.82);
}
.sc-model__row.is-key .sc-model__bar {
  background: rgba(255, 255, 255, 0.24);
}
.sc-model__row.is-key .sc-model__bar i {
  background: #fff;
}

.sc-model__note {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--sc-gray-2);
}

@media (max-width: 900px) {
  .sc-model__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
/* ============================================================
   마이페이지 누적 후원 카드
   원본: docs/prototype/mypage.html — .donacard
   ============================================================ */
.sc-donacard {
  background: var(--sc-blue);
  color: #fff;
  border-radius: var(--sc-rxl);
  padding: 26px 28px;
  margin: 0 0 20px;
}

.sc-donacard__kick {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.88;
  margin-bottom: 10px;
}
.sc-donacard__kick svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.sc-donacard__amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sc-donacard__amount span {
  font-size: 0.62em;
  font-weight: 700;
  margin-left: 3px;
}

.sc-donacard__sub {
  font-size: 13.5px;
  opacity: 0.86;
  margin-top: 12px;
  line-height: 1.55;
  max-width: 34em;
}

.sc-donacard__stats {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.sc-donacard__stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sc-donacard__stat-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.sc-donacard__stat-label {
  font-size: 12.5px;
  opacity: 0.82;
}

.sc-donacard__foot {
  margin-top: 18px;
}
.sc-donacard__foot a {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--sc-rpill);
  padding: 8px 16px;
}
.sc-donacard__foot a:hover {
  background: rgba(255, 255, 255, 0.26);
}

@media (max-width: 600px) {
  .sc-donacard {
    padding: 22px 20px;
    border-radius: var(--sc-rl);
  }
  .sc-donacard__amount {
    font-size: 31px;
  }
  .sc-donacard__stats {
    gap: 22px;
  }
}

/* 주문서 요약의 후원 박스는 파랑 채움 (프로토타입 checkout.html) */
.sc-dona--box.sc-dona--filled {
  background: var(--sc-blue);
  color: #fff;
  margin-bottom: 14px;
}
.sc-dona--box.sc-dona--filled svg,
.sc-dona--box.sc-dona--filled b {
  color: #fff;
}

/* 섹션 헤더 — 제목 좌 / 전체보기 우 (프로토타입 .shead) */
.sc-shead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.sc-shead__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-black);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  flex: none;
}
.sc-shead__more:hover {
  color: var(--sc-blue);
}
.sc-shead__more-ico {
  display: inline-flex;
  width: 16px;
  height: 16px;
}
.sc-shead__more-ico svg {
  width: 100%;
  height: 100%;
}

/* 메인 히어로 (Main/SundayHero.jsx) — 배너를 컨테이너 폭에 맞춰 비율대로 늘린다 */
.sc-hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* 상품 상세 — 상세설명이 비었을 때 대신 쌓는 상품 이미지 (ProductDetail/Content/Detail.jsx) */
.sc-pd__detail-img {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin: 0 auto;
}

/* ── 마이앱 브릿지 페이지 ─────────────────────────────────────────
   /app/auth.html · /app/open-id-sign-in.html 은 Provider 밖에서 단독 렌더되므로
   공통 레이아웃이 없다. 리다이렉트 직전 잠깐 보이는 안내 문구만 정리해 둔다. */
.sc-app-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  color: var(--sc-color-text-muted, #767676);
  font-size: 14px;
  text-align: center;
}

/* ============================================================
   메인 테마 — 2026-10-04 디자이너 전달 "새 28종 상품·화보 검토본"
   원본: sundayclub-shop-28-products (Vercel) index.html 의
   .hero-c / .shead / .rank / .fbanner / .edit
   마크업: pages/Main/ThemeHero · BestRank · ThemeParts · SelectionSection
   ============================================================ */

/* ---- 히어로 캐러셀 ---- */
.sc-heroc {
  position: relative;
  overflow: hidden;
  border-radius: var(--sc-rxl);
  max-width: var(--sc-maxw);
  margin: 22px auto 4px;
}
.sc-heroc__track {
  display: flex;
  transition: transform 0.55s var(--sc-ease);
}
.sc-heroc__slide {
  position: relative;
  min-width: 100%;
  height: 460px;
  overflow: hidden;
}
.sc-heroc__media {
  position: absolute;
  inset: 0;
  display: block;
}
.sc-heroc__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-heroc__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(17, 17, 19, 0.72),
      rgba(17, 17, 19, 0.45) 42%,
      rgba(17, 17, 19, 0.12) 74%,
      rgba(17, 17, 19, 0.02)
    ),
    linear-gradient(0deg, rgba(17, 17, 19, 0.4), transparent 26%);
}
.sc-heroc__in {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
}
.sc-heroc__t {
  color: #fff;
  max-width: 32em;
}
.sc-heroc__k {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 14px;
}
.sc-heroc__t h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  color: #fff;
}
.sc-heroc__t p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 26em;
}
.sc-heroc__count {
  position: absolute;
  left: 40px;
  bottom: 24px;
  z-index: 3;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.sc-heroc__nav {
  position: absolute;
  right: 34px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.sc-heroc__nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.sc-heroc__nav button:hover {
  background: rgba(255, 255, 255, 0.3);
}
.sc-heroc__nav svg {
  width: 18px;
  height: 18px;
}

/* ---- 섹션 공통 ---- */
.sc-sec {
  padding: 62px 0 46px;
}
.sc-thead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}
.sc-thead__kick {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sc-blue);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.sc-thead__title {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--sc-black);
}
.sc-thead__sub {
  font-size: 14px;
  color: var(--sc-gray);
  margin-top: 5px;
}
.sc-thead__more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-black);
  white-space: nowrap;
}
.sc-thead__more svg {
  width: 18px;
  height: 18px;
}
.sc-thead__more:hover {
  color: var(--sc-blue);
}
/* 전폭 메인에서 패키지 상품 진열(.product-section)을 콘텐츠 폭으로 묶는다 */
.sc-cap {
  max-width: var(--sc-maxw);
  margin-left: auto;
  margin-right: auto;
}

/* 패키지 상품 그리드(좌우 20px) 안에 들어가는 머리 */
.sc-thead-inset {
  padding: 0 20px;
}

/* ---- 이달의 베스트 (랭킹) ---- */
.sc-rank {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sc-rank__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 8px;
  border-radius: var(--sc-rm);
}
.sc-rank__item:hover {
  background: var(--sc-off);
}
.sc-rank__no {
  flex: none;
  width: 22px;
  font-family: var(--sc-font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--sc-blue);
}
.sc-rank__th {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  background: transparent;
}
.sc-rank__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sc-rank__nm {
  font-size: 15px;
  font-weight: 500;
  color: var(--sc-black);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sc-rank__pr {
  font-size: 14px;
  color: var(--sc-gray);
  margin-top: 3px;
}

/* ---- 풀블리드 이미지 배너 ---- */
.sc-fbanner {
  position: relative;
  display: flex;
  align-items: center;
  height: 380px;
  margin: 50px 0;
  overflow: hidden;
}
.sc-fbanner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-fbanner::after {
  content: '';
  position: absolute;
  inset: 0;
}
.sc-fbanner--l::after {
  background: linear-gradient(90deg, rgba(17, 17, 19, 0.76), rgba(17, 17, 19, 0.45) 44%, rgba(17, 17, 19, 0.06) 78%);
}
.sc-fbanner--r::after {
  background: linear-gradient(270deg, rgba(17, 17, 19, 0.76), rgba(17, 17, 19, 0.45) 44%, rgba(17, 17, 19, 0.06) 78%);
}
.sc-fbanner__in {
  position: relative;
  z-index: 1;
  width: 100%;
}
.sc-fbanner__t {
  color: #fff;
  max-width: 30em;
}
.sc-fbanner--r .sc-fbanner__t {
  margin-left: auto;
  text-align: right;
}
.sc-fbanner__k {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
}
.sc-fbanner__t h3 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 10px;
  color: #fff;
}
.sc-fbanner__t p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.86);
}

/* ---- 에디토리얼 카드 ---- */
.sc-edit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sc-ecard {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.5 / 1;
  border-radius: var(--sc-rl);
  background: var(--sc-off);
}
.sc-ecard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--sc-ease);
}
.sc-ecard:hover img {
  transform: scale(1.04);
}
.sc-ecard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 17, 19, 0.5), transparent 60%);
}
.sc-ecard__t {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
}
.sc-ecard__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: 5px;
}
.sc-ecard__t h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

/* 에디토리얼 'Story' 카드 → 후원 섹션(#model) 앵커가 스티키 헤더에 가리지 않게 */
.sc-model {
  scroll-margin-top: calc(var(--sc-hdh) + 16px);
}

/* ---- 모바일 (스킨 브레이크포인트 1000px 이하) ---- */
@media (max-width: 1000px) {
  .sc-heroc {
    margin: 14px 16px 2px;
    border-radius: 16px;
  }
  /* 테마(2026-10-14): 모바일 배너 높이 400px · 카피 위쪽 · 사진은 위쪽 기준으로 자른다 */
  .sc-heroc__slide {
    height: 400px;
  }
  .sc-heroc__bg {
    object-position: 50% 0%;
  }
  .sc-heroc__in {
    align-items: flex-start;
    padding: 28px 22px 0;
  }
  .sc-heroc__t {
    max-width: 94%;
  }
  .sc-heroc__t h2 {
    font-size: 28px;
  }
  .sc-heroc__t p {
    font-size: 14px;
  }
  .sc-heroc__count {
    left: 22px;
    bottom: 18px;
  }
  .sc-heroc__nav {
    right: 20px;
    bottom: 16px;
  }
  /* 배너 컨트롤 누르는 영역 44px (테마 모바일 통일 규칙) */
  .sc-heroc__nav button {
    width: 44px;
    height: 44px;
  }

  .sc-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 4px;
    padding: 24px 12px 4px;
  }
  .sc-quick__item {
    min-width: 0;
  }
  .sc-quick__label {
    font-size: 12.5px;
    white-space: nowrap;
    letter-spacing: -0.02em;
  }

  /* 섹션 사이 64px (테마 모바일 통일 규칙: 위아래 32px) */
  .sc-sec {
    padding: 32px 0;
  }
  .sc-thead__title {
    font-size: 20px;
  }
  .sc-rank {
    grid-template-columns: 1fr;
  }
  .sc-fbanner {
    height: 300px;
    margin: 34px 16px;
    border-radius: 16px;
  }
  .sc-fbanner__in {
    padding: 0 22px;
  }
  .sc-quick {
    margin: 0;
  }
  .sc-fbanner__t h3 {
    font-size: 23px;
  }
  .sc-fbanner__t p {
    font-size: 14px;
  }
  .sc-fbanner--r .sc-fbanner__t {
    margin-left: 0;
    text-align: left;
  }
  .sc-edit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .sc-heroc__t h2 {
    font-size: 24px;
  }
}

/* ============================================================
   상품 상세 구매 영역 — 디자이너 전달본(2026-10-14) detail-fc.html .buy · .stickybar
   마크업: pages/ProductDetail/Purchase/Purchase.jsx
     PC     우측 컬럼 구매 박스(.sc-buy) + 화면 아래 전폭 바(.sc-pbar)
     모바일 패키지 하단 바(.purchase__button-wrap) 에 상품명(.sc-purchase__nm) + 옵션 시트
   버튼 순서는 어디서나 [찜][장바구니][구매하기] — 구매하기가 늘 오른쪽 끝.
   패키지 버튼(.btn)·옵션 쪽 규칙은 pages/product.css
   ============================================================ */

/* 찜 — 회색 칸 + 선 하트(테마 .btn--ghost.fav). 찜하면 파랗게 채운다 */
.sc-like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 0;
  border-radius: var(--sc-rm);
  background: var(--sc-off);
  color: var(--sc-black);
  cursor: pointer;
}
.sc-like:hover {
  background: var(--sc-off2);
}
.sc-like__ico {
  width: 22px;
  height: 22px;
  transition: transform 0.2s var(--sc-ease);
}
.sc-like.is-active {
  color: var(--sc-blue);
}
.sc-like.is-active .sc-like__ico {
  fill: currentColor;
  transform: scale(1.08);
}

/* PC 구매 박스 — Summary 아래. 좌우 여백은 패키지 .product-summary 와 같은 값(1.4285714286rem)이라
   가격·후원 박스와 시작선이 맞는다 */
.sc-pd__buy:empty {
  display: none;
}
.sc-pd__buy {
  padding: 0 1.4285714286rem;
}
.sc-buy__acts {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.sc-buy__like {
  width: 50px;
  height: 50px;
}

/* PC 하단 전폭 바 */
.sc-pbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--sc-line);
}
.sc-pbar__in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 78px;
}
.sc-pbar__th {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  background: transparent;
}
.sc-pbar__info {
  min-width: 0;
}
.sc-pbar__nm {
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-pbar__pr {
  margin-top: 2px;
  font-size: 14px;
  color: var(--sc-gray);
}
.sc-pbar__pr b {
  font-size: 16px;
  font-weight: 800;
  color: var(--sc-black);
}
.sc-pbar__cta {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex: none;
}
.sc-pbar__like {
  width: 50px;
  height: 50px;
}

/* 모바일 하단 바의 상품명 — 버튼 왼쪽에 한 줄로 */
.sc-purchase__nm {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   교환·환불 정책 — 디자이너 전달본(2026-10-19) support.html .pol · .pcase · .psteps · .pnote
   마크업: components/RefundPolicy (고객센터 FAQ 아래, #policy)
           pages/ProductDetail/Content/ShippingClaim.jsx (상세 배송/교환/반품 탭 첫 줄 .sc-pd-claim)
   전달본은 900px 이하에서 1단 — 여기선 1001px 경계 하나만 쓴다(DESIGN.md §4)
   ============================================================ */

/* 섹션 위아래 간격은 앞뒤 블록에서 56px(전달본 .pol margin-top).
   모바일: 위 FAQ 묶음에 패키지 여백 20+20px 가 이미 있어 16px 만 더하고,
           아래 고객센터 회색 띠는 여백 없이 붙으므로 섹션이 56px 를 직접 준다.
   PC   : 아래 고객센터 카드가 margin-top 36px(pages/support.css)라 20px 만 더한다. */
.sc-policy {
  margin-top: 16px;
  padding: 40px 1.4285714286rem 56px; /* 모바일 고객센터 본문은 좌우 여백이 없어 섹션이 직접 준다 */
  border-top: 1px solid var(--sc-line);
  scroll-margin-top: calc(var(--sc-hdh) + 24px); /* #policy 로 들어왔을 때 스티키 헤더에 가리지 않게 */
  word-break: keep-all;
}
.sc-policy__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sc-blue);
}
.sc-policy__title {
  margin: 4px 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sc-black);
}
.sc-policy__lead {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sc-gray);
}
.sc-policy__cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.sc-policy__case {
  padding: 20px;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-rl);
}
.sc-policy__case b {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--sc-black);
}
.sc-policy__case dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 12px;
  font-size: 14px;
  line-height: 1.6;
}
.sc-policy__case dt {
  color: var(--sc-gray);
}
.sc-policy__case dd {
  margin: 0;
}
.sc-policy__sub {
  margin: 28px 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--sc-black);
}
.sc-policy__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--sc-ink-3);
}
.sc-policy__list li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 14px;
}
.sc-policy__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sc-black);
}
.sc-policy__list small {
  font-size: inherit;
  color: var(--sc-gray);
}
/* 제한 사유 목록 뒤 '예외' 문장은 목록과 역할이 달라 따로 둔다 */
.sc-policy__note {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--sc-off);
  color: var(--sc-ink-3);
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}
.sc-policy__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sc-step;
}
.sc-policy__steps li {
  padding: 18px;
  border-radius: var(--sc-rl);
  background: var(--sc-off);
  font-size: 14px;
  line-height: 1.6;
}
.sc-policy__steps li::before {
  counter-increment: sc-step;
  content: counter(sc-step);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--sc-black);
  color: var(--sc-white);
  font-size: 12px;
  font-weight: 700;
}
.sc-policy__steps b {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 15px;
  color: var(--sc-black);
}
.sc-policy__note {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--sc-gray);
}

@media (min-width: 1001px) {
  .sc-policy {
    margin-top: 56px;
    padding: 40px 0 20px;
  }
  .sc-policy__cases {
    grid-template-columns: 1fr 1fr;
  }
  .sc-policy__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 상세 배송/교환/반품 탭 첫 줄 — 전달본 .ship li (굵은 항목명 84px + 설명, 15px).
   위아래 28px — 탭 밑선에서 첫 줄까지가 상품 Q&A 탭 제목 위치와 비슷하고, 아래도 같은 만큼 띄운다 */
.sc-pd-claim {
  display: flex;
  gap: 10px;
  padding: 28px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sc-ink-3);
  word-break: keep-all;
}
.sc-pd-claim b {
  flex: none;
  min-width: 84px;
  font-weight: 600;
  color: var(--sc-black);
}
.sc-pd-claim a {
  color: inherit;
  text-decoration: underline;
  white-space: nowrap; /* 모바일에서 '교환 / ·환불 정책 보기'로 끊기지 않게 통째로 다음 줄로 */
}

/* 상품별 배송기간 — 일수는 추정하지 않고 등록된 배송안내로 연결한다. */
.sc-pd-delivery-period {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 12px 0 0;
  color: var(--sc-ink-3);
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}
.sc-pd-delivery-period dt {
  flex: none;
  font-weight: 500;
  color: var(--sc-black);
}
.sc-pd-delivery-period dd {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-width: 0;
  margin: 0;
}
.sc-pd-delivery-period button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.sc-pd-delivery-period button:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 3px;
}
.sc-pd-delivery-guide {
  padding-top: 28px;
}
.sc-pd-delivery-guide__missing {
  margin: 12px 0 0;
  color: var(--sc-ink-3);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

/* 약관 상세 모달: 로딩·실패 상태 */
.sc-terms-status {
  margin: 0;
  padding: 24px 0;
  color: var(--sc-ink-3);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  word-break: keep-all;
}
.sc-terms-status p {
  margin: 0 0 12px;
}
.sc-terms-status--error {
  color: var(--sc-ink-2);
}
.sc-terms-retry {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--sc-ink-2);
  border-radius: 8px;
  background: #fff;
  color: var(--sc-ink-2);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.sc-terms-retry:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 3px;
}

/* ============================================================
   모바일 완성도 보정 (2026-11-10)
   - 바로가기 7개가 4열 격자에서 둘째 줄 한 칸이 비던 문제 → 한 줄 가로 스크롤
   - 후원 섹션 회색 면이 화면 끝에 붙어 모서리가 잘려 보이던 문제 → 다른 카드처럼 좌우 16px
   - 한국어 문장이 단어 중간에서 끊기던 문제 → keep-all
   - 밝은 사진 위 흰 문구 대비 부족 → 문구 폭 제한 + 그라데이션 보강
   ============================================================ */
@media (max-width: 1000px) {
  .sc-quick {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 24px 12px 4px;
  }
  .sc-quick::-webkit-scrollbar { display: none; }
  /* 화면 폭의 21%: 390px 에서 82px, 320px 에서 70px → 어느 폭에서든 다섯 번째 항목이 살짝 보여 넘길 수 있음을 알린다 */
  .sc-quick__item {
    flex: 0 0 clamp(70px, 21vw, 88px);
    min-width: 0;
    scroll-snap-align: start;
  }
  .sc-quick__label {
    font-size: 12px;
    letter-spacing: -0.03em;
  }

  .sc-model {
    margin: 32px 16px 8px;
  }
  .sc-model__inner {
    padding: 32px 20px;
    border-radius: 16px;
  }
  .sc-model__lead,
  .sc-model__note,
  .sc-fbanner__t p,
  .sc-fbanner__t h3 {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .sc-model__note {
    line-height: 1.6;
  }

  .sc-fbanner--l::after {
    background: linear-gradient(90deg, rgba(17, 17, 19, 0.78), rgba(17, 17, 19, 0.56) 58%, rgba(17, 17, 19, 0.22));
  }
  .sc-fbanner--r::after {
    background: linear-gradient(90deg, rgba(17, 17, 19, 0.78), rgba(17, 17, 19, 0.56) 58%, rgba(17, 17, 19, 0.22));
  }
  .sc-fbanner__t {
    max-width: 16em;
  }
  .sc-fbanner__t p {
    line-height: 1.5;
  }
}

/* 맨 위로 버튼: 그림자 없이 흰 원만 있으면 사진·흰 배경 위에서 경계가 사라진다 → 옅은 선으로만 구분 */
.fab-top-down .fab-btn--top {
  border: 1px solid var(--sc-line);
}

/* 홈 '새로 들어왔어요' 위 빈 공간 148px(앞 섹션 아래 32 + 위 여백 60 + 안쪽 56) →
   다른 섹션과 같은 64px 리듬(32 + 32)으로 맞춘다 */
@media (max-width: 1000px) {
  .main-view > .product-section.sc-cap {
    margin-top: 0;
    padding-top: 32px;
  }
}

/* 후원 정산 안내: 회색 면 위 연회색 12.5px 이라 잘 안 읽혔다 → 본문 보조색으로 한 단계 진하게 */
.sc-model__note {
  color: var(--sc-gray);
}

/* 홈 상품 카드: 글자가 사진보다 10px 안쪽에서 시작해 상품 목록 카드(사진과 같은 선)와 달랐다 → 목록과 같은 규칙 */
.sc-cap .thumb-item__info {
  padding: 12px 0 16px;
}
.sc-nowrap {
  white-space: nowrap;
}

/* 후원 비율 카드 설명: 320px 에서 '분들에/게', '적립됩니/다' 처럼 단어 중간에서 끊겼다 → 단어 단위 줄바꿈 */
.sc-model__row-text span,
.sc-model__row-text strong,
.sc-model__head h2 {
  word-break: keep-all;
}
/* 마이페이지 후원 카드 설명: '개/척교회' 처럼 단어 중간에서 끊겼다 */
.sc-donacard__sub {
  word-break: keep-all;
}

/* PC 홈 (2026-11-10)
   - '감사 선물'·'교회 단체구매' 배너만 화면 끝까지 꽉 차고, 위 화보·후원 카드는 좌우 60px 안쪽 둥근 카드라 폭이 들쭉날쭉했다
     → 배너도 같은 폭·같은 모서리(24px)로 맞춘다
   - '새로 들어왔어요' 위 빈 공간 162px(앞 섹션 46 + 위 여백 60 + 안쪽 56) → 다른 섹션과 같은 약 62px */
@media (min-width: 1001px) {
  .main-view > .sc-fbanner {
    max-width: var(--sc-maxw);
    margin: 48px 60px;
    border-radius: 24px;
  }
  .main-view > .product-section.sc-cap {
    margin-top: 0;
    padding-top: 16px;
  }
}
@media (min-width: 1441px) {
  .main-view > .sc-fbanner {
    margin-left: auto;
    margin-right: auto;
  }
}

/* 태블릿(501~1000px): 본문·헤더·구매 바는 가운데 500px 기둥인데 하단 탭바만 화면 전체 폭이라
   아이콘이 기둥 바깥까지 벌어져 보였다 → 탭바도 같은 500px 기둥에 맞춘다 */
@media (min-width: 501px) and (max-width: 1000px) {
  .sc-tab {
    left: 50%;
    right: auto;
    width: 500px;
    transform: translateX(-50%);
    border-left: 1px solid var(--sc-line);
    border-right: 1px solid var(--sc-line);
  }
}

/* 확인창(장바구니 담기 등): 한 줄 안내인데 내용 칸이 최소 210px 이라 창이 휑했다 → 내용만큼.
   확인 버튼만 파란 글자 → 잉크색 굵은 글자 */
.modal__content.modal__content--confirm,
.modal__box--confirm .modal__content {
  min-height: 0;
  padding: 36px 24px 32px;
}
.modal__box--confirm .modal__text {
  word-break: keep-all;
  line-height: 1.5;
}
.modal__box--confirm .btn:last-child {
  color: var(--sc-ui-ink, #242428);
  font-weight: 700;
}
/* 후원 안내 문구: 좁은 요약 칸에서 '후원돼/요' 처럼 끊겼다 */
.sc-dona {
  word-break: keep-all;
}

/* ------------------------------------------------------------
   눌러야 열리는 창 점검 (2026-11-10)
   ------------------------------------------------------------ */
/* 알림창: 흰 바탕이 바깥 .modal(모서리 0)에 있어 위쪽 모서리가 각져 보였다 → 바깥도 16px 로 자른다.
   한 줄 안내인데 내용 칸이 최소 210px 이라 휑했다 → 확인창과 같은 내용 높이 */
.portal > .modal:has(> .modal__box--alert),
.portal > .modal:has(> .modal__box--confirm) {
  border-radius: 16px;
  overflow: hidden;
}
.modal__box--alert .modal__content {
  min-height: 0;
  padding: 36px 24px 32px;
}
.modal__box--alert .modal__text {
  word-break: keep-all;
  line-height: 1.5;
}
.modal__box--alert .btn {
  color: var(--sc-ui-ink, #242428);
  font-weight: 700;
}

/* 주소 찾기 창 */
/* 지우기(×): 빈 칸에서도 보였다 → 글자가 있을 때만. 누르는 영역 16px → 44px(보이는 크기 그대로) */
.search-zip-code-form .search-field:has(.search-field__input input:placeholder-shown) .search-field__clear-btn,
.search-zip-code-form .search-field:has(input:placeholder-shown) .search-field__clear-btn {
  visibility: hidden;
}
.search-zip-code-form .search-field__clear-btn {
  box-sizing: content-box;
  padding: 14px;
  /* top:50%·translateY(-50%) 로 세로 가운데라 위아래 음수 여백은 넣지 않는다. 오른쪽만 당겨 아이콘 자리 유지 */
  margin: 0 -14px 0 0;
}
/* 돋보기 26px → 44px */
.search-zip-code-form .search-field__submit-btn {
  box-sizing: content-box;
  padding: 9px;
  margin: -9px;
}
/* 결과: '도로명/지번' 꼬리표가 검은 각진 테두리라 무거웠다 → 옅은 회색 작은 꼬리표. 주소는 단어 단위 줄바꿈 */
.search-zip-code-form .address__label {
  border: 1px solid var(--sc-line-2);
  border-radius: 4px;
  color: var(--sc-gray);
  background: var(--sc-white);
}
.search-zip-code-form .address__detail {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* 상품 Q&A·후기 개수 '0 건' → '0건' */
.product-board-list__total-count em {
  margin-right: 1px;
}

/* ------------------------------------------------------------
   제목 있는 창(TitleModal) 통일 (2026-11-10, 눌러야 열리는 창 점검)
   - 가운데 작은 창(등급 혜택 안내·쿠폰 번호 등록)이 패키지 기본 그대로였다:
     모서리 0, 머리 아래 굵은 검정 선, 폭이 내용에 맞춰 195px 까지 줄어 '기본등/급'처럼 한두 자씩 끊김
   - 창 안 입력칸이 회색 면(테두리 없음·모서리 12px·높이 40px)이라 다른 화면(흰 면·옅은 선·8px·44px)과 달랐다
   - 버튼이 진회색(btn--dark)·브랜드 파랑(btn--caution) 면이었다 → 보조 = 흰 면+선, 주 = 잉크색
   ------------------------------------------------------------ */
/* 흰 바탕은 바깥 .modal 에 있어 그쪽에 폭·모서리를 준다 */
.portal > .modal:has(> .title-modal:not(.title-modal--full)) {
  width: min(400px, calc(100vw - 32px));
  max-width: none;
  border-radius: 16px;
  overflow: hidden;
}
.portal .title-modal:not(.title-modal--full) {
  width: 100%;
  max-width: none;
}
.portal .title-modal__header {
  border-bottom: 1px solid var(--sc-line);
}
.portal .title-modal:not(.title-modal--full) .title-modal__title {
  font-size: 17px;
  font-weight: 700;
}
/* 등급 혜택 표: 이름 칸 40% / 값 칸 나머지, 단어 단위 줄바꿈 */
.my-grade dl {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}
.my-grade dt,
.my-grade dd {
  width: auto;
  min-width: 0;
  word-break: keep-all;
}

/* 창 안 입력칸·선택 상자 */
:root .portal .title-modal .text-field {
  box-sizing: border-box;
  height: var(--sc-ui-field-height);
  min-height: var(--sc-ui-field-height);
  border: 1px solid var(--sc-ui-input-border, #e5e5ea);
  border-radius: var(--sc-ui-field-radius);
  background: var(--sc-white);
}
:root .portal .title-modal .text-field input {
  height: 100%;
  font-size: 16px;
}
:root .portal .title-modal .select-box {
  box-sizing: border-box;
  height: var(--sc-ui-field-height);
  min-height: var(--sc-ui-field-height);
  border: 1px solid var(--sc-ui-input-border, #e5e5ea);
  border-radius: var(--sc-ui-field-radius);
  background: var(--sc-white);
  overflow: hidden;
}
:root .portal .title-modal .select-box select {
  height: 100%;
  font-size: 16px;
}
/* 전화번호: 하이픈 대신 8px 간격, 앞자리 80px (주문서와 같음) */
:root .portal .title-modal .phone-number-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
:root .portal .title-modal .phone-number-input > .select-box {
  flex: 0 0 80px;
  width: 80px;
  min-width: 80px;
}
:root .portal .title-modal .phone-number-input > .select-box select {
  width: 100%;
  padding: 0 32px 0 12px;
}
:root .portal .title-modal .phone-number-input > .text-field {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  margin: 0;
}
:root .portal .title-modal .phone-number-input > .phone-number-input__bar {
  display: none;
}
/* 우편번호 + 주소 찾기 */
:root .portal .title-modal .address-form__zip-code {
  display: flex;
  gap: 8px;
}
:root .portal .title-modal .address-form__zip-code .text-field {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
}
:root .portal .title-modal .address-form .btn {
  flex: 0 0 104px;
  height: var(--sc-ui-field-height);
  min-height: var(--sc-ui-field-height);
  border: 1px solid var(--sc-line-2);
  border-radius: var(--sc-ui-field-radius);
  background: var(--sc-white);
  color: var(--sc-ui-ink, #242428);
  font-weight: 600;
}
:root .portal .title-modal .address-form > .text-field {
  margin-top: 8px;
}
/* 항목 이름: 주문서와 같은 15px */
:root .portal .shipping-address-form__item--label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--sc-black);
}
:root .portal .shipping-address-form__item + .shipping-address-form__item {
  margin-top: 16px;
}
/* PC 창(높이 760px)에서 등록 버튼이 37px 가려져 스크롤해야 보였다 → 위 여백·항목 간격을 줄여 한 화면에 */
:root .portal .shipping-address-form {
  padding-top: 8px;
}
/* 창 아래 버튼: 보조(취소) = 회색 면, 주(등록) = 잉크색, 모서리 8px (v0.7.2: 확인창과 같은 규칙으로 흰 면+선 → 회색 면) */
:root .portal .title-modal .btn.btn--dark,
:root .portal .title-modal .btn.btn--caution {
  height: 52px;
  min-height: 52px;
  border-radius: var(--sc-ui-field-radius);
  font-size: 16px;
  font-weight: 600;
}
:root .portal .title-modal .btn.btn--dark {
  border: 0;
  background: var(--sc-off);
  color: var(--sc-ui-ink, #242428);
}
:root .portal .title-modal .btn.btn--caution {
  border: 1px solid var(--sc-ui-ink, #242428);
  background: var(--sc-ui-ink, #242428);
  color: var(--sc-white);
}
:root .portal .shipping-address-form__buttons,
:root .portal .my-page-coupon-registration__buttons {
  display: flex;
  gap: 8px;
}
:root .portal .shipping-address-form__buttons .btn,
:root .portal .my-page-coupon-registration__buttons .btn {
  flex: 1 1 0;
  width: auto;
  margin: 0;
}
:root .portal .my-page-coupon-registration__title {
  font-size: 15px;
  line-height: 1.5;
  word-break: keep-all;
}
/* 약관 창 본문: 줄 간격이 좁아 빽빽했다 */
.portal .title-modal--full .title-modal__content p,
.portal .title-modal--full .title-modal__content li {
  line-height: 1.65;
  word-break: keep-all;
}

/* ------------------------------------------------------------
   키보드 포커스 표시 (2026-11-10, 접근성 점검)
   - Tab 으로 이동할 때 홈 30개·상품 상세 15개 버튼·링크에 아무 표시가 없었다(패키지가 outline 을 지움)
   - 기존 화면별 규칙(파란 2px 선, 24곳)과 같은 모양을 모든 버튼·링크에 준다.
   - :focus-visible 이라 마우스·터치로 누를 때는 보이지 않는다. 입력창은 테두리 색(C안)으로 따로 표시하므로 제외.
   - 파란 배너 위에서도 보이도록 선과 버튼 사이에 흰 틈(2px)을 둔다.
   ------------------------------------------------------------ */
:root :is(a[href], button, summary, [role='button'], [role='tab'], [tabindex]:not([tabindex='-1'])):focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--sc-white);
}
/* 마이페이지 후원 카드 '주문 내역 보기': 높이 29px → 누르는 영역 44px(보이는 알약 모양은 그대로) */
.sc-donacard__foot a {
  position: relative;
}
.sc-donacard__foot a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}

/* 띠배너: 가운뎃점(·) 구분 대신 간격으로 나눈다 (v0.5.3) */
.sc-notice__opt,
.sc-notice__sub {
  margin-left: 10px;
}

/* ------------------------------------------------------------
   알림창·확인창 (v0.7.1)
   전: 글자만 있는 버튼 + 위·사이 가는 선(아이폰 기본 알림 모양) — 사이트의 다른 버튼(잉크색·회색 면 48px)과 달랐다
   후: 안내 16px → 아래 48px 면 버튼. 알림(버튼 1개)은 잉크색, 확인창(2개)은 취소 회색 · 확인 잉크색
   ------------------------------------------------------------ */
.modal__box--alert,
.modal__box--confirm {
  width: min(340px, calc(100vw - 40px));
  min-width: 0;
}
.modal__box--alert .modal__content,
.modal__box--confirm .modal__content,
.modal__content.modal__content--confirm {
  padding: 32px 24px 24px;
}
.modal__box--alert .modal__text,
.modal__box--confirm .modal__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--sc-ui-ink, #242428);
  text-wrap: balance;
}
.modal__box--alert .modal__btns,
.modal__box--confirm .modal__btns {
  gap: 8px;
  padding: 0 20px 20px;
  border-top: 0;
}
.modal__box--alert .modal__btns .btn,
.modal__box--confirm .modal__btns .btn {
  flex: 1 1 0;
  height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--sc-ui-radius, 8px);
  background: var(--sc-off, #f6f6f7);
  color: var(--sc-ui-ink, #242428);
  font-size: 15px;
  font-weight: 600;
}
.modal__box--alert .modal__btns .btn:last-child,
.modal__box--confirm .modal__btns .btn:last-child {
  background: var(--sc-ui-ink, #242428);
  color: var(--sc-white, #fff);
}
.modal__box--alert .modal__btns .btn + .btn,
.modal__box--confirm .modal__btns .btn + .btn {
  border-left: 0;
}
.modal__box--alert .modal__btns .btn:hover,
.modal__box--confirm .modal__btns .btn:hover {
  filter: brightness(0.96);
}

/* 모바일 홈 시작선(2026-11-11 마지막 점검): 히어로·감사 선물 배너·후원 카드만 좌우 16px이고
   제목·Gift 카드·상품은 20px이라, 위아래로 붙은 배너와 카드의 양끝이 4px씩 어긋나 보였다 → 모두 20px(--sc-gut) */
@media (max-width: 1000px) {
  :root .sc-heroc,
  :root .sc-model,
  :root .main-view > .sc-fbanner {
    margin-left: var(--sc-gut, 20px);
    margin-right: var(--sc-gut, 20px);
  }
}

/* 상품 목록 맨 위 빈 띠(21px): 관리자 카테고리 안내 칸이 비어 있어도 편집기가 '<p><br></p>' 를 남겨 한 줄을 차지했다
   → 그림·영상 없이 빈 줄 하나뿐이면 숨긴다(관리자가 내용을 넣으면 그대로 보임) */
.category-content:not(:has(img, iframe, video)):has(> p:only-child > br:only-child) {
  display: none;
}
/* 모바일: 헤더 밑줄 바로 아래 목록 상자 윗선이 겹쳐 2px 굵은 띠로 보였다 → 화면 맨 위 상자는 윗선을 뺀다 */
@media (max-width: 1000px) {
  .l-content > .l-panel:first-child,
  .l-content > .category-content.top-content:not(:has(img, iframe, video)):has(> p:only-child > br:only-child) + .l-panel {
    border-top: 0;
  }
}
@media (max-width: 1000px) {
  .sc-cart__main > .cart__select-manager:first-child {
    border-top: 0;
  }
}
/* 모바일 장바구니: '전체 선택' 줄과 판매자 묶음 사이가 10px 흰 틈 + 위아래 선 두 줄이라 이중선처럼 보였다
   → 틈을 없애고 선 하나로 나눈다 */
@media (max-width: 1000px) {
  .sc-cart__main > .l-panel {
    margin-bottom: 0;
  }
  .sc-cart__main > .l-panel + .l-panel {
    border-top: 0;
  }
}
/* PC 장바구니(2026-11-11 마지막 점검)
   - 상품 금액·후원 표시가 회색 상자 가운데쯤(왼쪽 정렬된 261px 칸)에 떠 있었다 → 오른쪽 정렬, 삭제(X) 버튼 자리 44px 비움
   - 페이지 제목이 아래 상자보다 20px 안쪽에서 시작했다 → 상자 왼쪽 선에 맞춤 */
@media (min-width: 1001px) {
  :root .sc-cart .cart__product-detail .cart__product-price {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-items: end;
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
    text-align: right;
  }
  :root .sc-cart .cart__product-detail .cart__product-price > :first-child {
    grid-area: 1 / 1;
  }
  :root .sc-cart .cart__product-detail .cart__product-price > .cart__delete-btn {
    grid-area: 1 / 2;
  }
  :root .sc-cart .cart__product-detail .cart__product-price > .cart__product-donation {
    grid-area: 2 / 1;
  }
}
@media (min-width: 1001px) {
  .sc-pagehead:has(+ .sc-cart),
  .sc-pagehead:has(+ .notice) {
    padding-left: 0;
  }
}
/* 쿠폰: 보유 쿠폰이 없을 때 '보유 쿠폰' 소제목만 빈 화면 위에 홀로 남았다 → 빈 화면일 때는 숨김 */
.my-page-coupon__list-title:has(+ .sc-empty) {
  display: none;
}
/* 같은 상자: 수량 칸이 두 줄(금액·후원) 가운데에 떠 있었다 → 수량 칸과 금액을 첫 줄에 나란히 */
@media (min-width: 1001px) {
  :root .sc-cart .cart__quantity-controller > p {
    align-items: flex-start;
  }
  :root .sc-cart .cart__product-detail .cart__product-price {
    grid-template-rows: minmax(44px, auto) auto;
  }
}
/* PC 홈(1368px 이상): 히어로·배너·후원 카드는 1320px 폭이라 화면 양끝에서 60px, 헤더 로고·제목·상품은 84px에서 시작해
   배너만 24px 밖으로 튀어나왔다 → 배너도 본문과 같은 시작선(최대 1272px) */
@media (min-width: 1001px) {
  :root .sc-heroc,
  :root .sc-model,
  :root .main-view > .sc-fbanner {
    max-width: min(calc(var(--sc-maxw) - 48px), calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
  }
}
/* 모바일 검색 결과 헤더: 검색어 칸(눌러서 다시 검색)과 오른쪽 돋보기 아이콘이 같은 기능으로 두 번 있었다 → 검색어 칸이 있을 때는 돋보기 숨김 */
@media (max-width: 1000px) {
  .sc-hd-root:has(.sc-hd__search--btn) .sc-hd__icon--mobile-search {
    display: none;
  }
}

@charset 'utf-8';

/* ============================================================
   패키지 오버라이드 — @shopby 클래스를 건드리는 유일한 파일
   ------------------------------------------------------------
   ★ 이 파일에만 패키지 소유 클래스가 등장한다.
     (.btn, .page, .l-content, .product-section, .thumb-* …)
     다른 파일은 전부 `sc-` 접두사만 쓴다.
     경계를 한 파일로 몰아둬야, 패키지를 올릴 때 회귀 위험 지점을
     한눈에 볼 수 있다.

   ★ 오버라이드 3원칙 (docs/BRANDING.md §2.5 실측 근거)
     1. `!important` 를 쓰지 않는다.
        패키지 CSS 는 !important 가 194KB 전체에서 11개뿐이고
        선택자 56%가 단일 클래스라, 뒤에 실은 이 시트가 그냥 이긴다.
     2. 단 하나의 예외 — 셀러어드민이 <html> 인라인 스타일로 심는
        변수(--point-color, --background-color)는 인라인이라 이길 수
        없다. 그건 tokens.css 에서 !important 로 확정한다.
     3. 패키지 컴포넌트가 렌더하는 DOM 구조는 바꿀 수 없다.
        모양을 바꾸려면 로컬 JSX 로 교체해야 한다.
   ============================================================ */

/* ============================================================
   패키지 버튼 재스타일
   원본: docs/prototype 의 .btn 시스템
   Aurora 는 border-radius:0 이라 각진 인상이고 높이도 제각각이다.
   프로토타입의 모양(12px radius / weight 600 / transition)으로 통일하되,
   의미 구분(.btn--caution=주요, .btn--dark, .btn--default=보조)은 유지한다.
   ============================================================ */
.btn {
  border-radius: var(--sc-rm);
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: filter 0.15s var(--sc-ease), background-color 0.15s var(--sc-ease);
}

/* 주요 CTA — 이미 --point-color(브랜드 블루)를 쓴다 */
.btn--caution:hover {
  filter: brightness(1.08);
}

.btn--dark:hover {
  filter: brightness(1.4);
}

/* 보조 버튼 */
.btn--default {
  border: 1px solid var(--sc-line);
}
.btn--default:hover {
  background-color: var(--sc-off);
}

/* 각 페이지의 '주요 동작'인데 패키지가 보조 스타일(btn--default)을 쓰는 곳들.
   프로토타입 기준으로 채워진 파랑으로 승격한다.
   ⚠️ 페이지당 하나만 — 비회원 주문조회(.guest-order)처럼 보조 동작은
      제외해야 위계가 산다. */
.normal-sign-in .btn--default,
.sign-up-form__submit-btn,
.find-id .btn--default,
.find-password .btn--default,
.change-password .btn--default {
  background-color: var(--sc-blue);
  border-color: var(--sc-blue);
  color: #fff;
}
.normal-sign-in .btn--default:hover,
.sign-up-form__submit-btn:hover,
.find-id .btn--default:hover,
.find-password .btn--default:hover,
.change-password .btn--default:hover {
  background-color: var(--sc-blue);
  filter: brightness(1.08);
}


/* ------------------------------------------------------------
   상품 섹션 (Main/ProductSectionWrap.jsx 가 쓰는 패키지 클래스)
   ------------------------------------------------------------ */
.product-section {
  padding: 56px 0 8px;
}

.product-section__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--sc-black);
  margin-bottom: 26px;
}

.product-section__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-black);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.product-section__more:hover {
  color: var(--sc-blue);
}

.sc-shead .product-section__title {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   상품 썸네일 — 늘어짐 방지

   패키지는 틀(.thumb-item__media)을 정사각(aspect-ratio:1/1)으로 고정하고,
   안의 <img> 가 플렉스 항목이라 틀 높이에 맞춰 세로로 늘어난다(object-fit:fill).
   상품 사진이 3:4·4:5 세로형이라 눌려 보였다.
   - 썸네일은 원본 비율을 유지해 정방형을 꽉 채운다(cover, 중앙 기준 크롭)
   - 틀은 공통 정방형(--sc-thumb-ratio, 1:1)
   크기를 width·height 로 못박은 작은 썸네일(장바구니 84px·목록형 120px)은 정사각 그대로다
   (둘 다 정해진 칸에서는 aspect-ratio 가 무시된다).
   ------------------------------------------------------------ */
.thumb-item__media {
  aspect-ratio: var(--sc-thumb-ratio);
  background: transparent;
}

.thumb-item__img-box,
.thumb-item__img {
  background: transparent;
}

.thumb-item__img img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 상품 상세 갤러리에서는 원본 사진 전체를 유지한다. */
.product-image-slider .thumb-item__img img {
  object-fit: contain;
}

/* 모바일 탭바에 본문이 가려지지 않도록 (sc-tab 과 짝) */
.page__content.site {
padding-bottom: 64px;
}

/* 마이앱 웹뷰는 sc-tab 을 그리지 않으므로 그 자리도 비우지 않는다.
   sc-myapp 은 앱에서만 <html> 에 붙는다 (utils/myapp.js initMyapp) */
.sc-myapp .page__content.site {
  padding-bottom: 0;
}

/* ------------------------------------------------------------
   좁은 폰(360px) 가로 넘침
   패키지가 본문과 일부 고정바에 375px 최소폭을 건다. 갤럭시 같은 360px 단말에서는
   문서가 375px 가 돼 전 페이지가 15px 옆으로 밀린다(390px 아이폰에서는 안 보인다).
   qa-fixes 브랜치(2026-09-29, 미배포)에서 찾은 수정을 옮겨 왔다.
   ------------------------------------------------------------ */
.page__content,
.cart__fixed-order-btn,
.my-grade {
  min-width: 0;
}

/* ------------------------------------------------------------
   모달 (@shopby Modal / CustomModal / TitleModal / FullModal)

   패키지 모달은 border-radius:0 이라 각지고, 버튼도 테두리 없이
   붙어 있다. 프로토타입 모양(둥근 모서리 · 여백 · 버튼 구분)으로
   맞춘다. DOM 구조는 못 바꾸므로 클래스로만 손댄다(원칙 ③).
   ------------------------------------------------------------ */
.modal__box {
  border-radius: var(--sc-rl);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(17, 17, 19, 0.18);
}

.modal__box--confirm,
.modal__box--alert {
  min-height: 0;
  /* 패키지 min-width:350px — 360px 폰에서 좌우 여백 없이 꽉 차거나 넘친다 */
  min-width: min(350px, calc(100vw - 32px));
}

/* 모달은 헤더(50), 하단 탭바(90)보다 위에 놓는다.
   패키지 portal 기본값(7)으로는 닫기 버튼이 헤더 뒤에 가려진다. */
.portal {
  z-index: 200;
}

/* 폭을 안쪽 title-modal 에만 주면 바깥 절대배치 .modal 이 shrink-to-fit 된다.
   FullModal 바깥 상자에 뷰포트 기준 폭을 주고, 검색 시트/일반 알림은 별도로 유지한다. */
.portal .modal.full-modal {
  box-sizing: border-box;
  width: min(100vw, 500px);
  min-width: 0;
  max-width: 100%;
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
}
.title-modal--full {
  width: min(100%, 500px);
  min-width: 0;
  max-width: 100%;
}
.modal.full-modal > .title-modal--full {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: none;
}
.title-modal--full .title-modal__content {
  min-width: 0;
}
.modal.full-modal .title-modal__header {
  flex: 0 0 60px;
  padding: 0 56px;
}
.modal.full-modal .title-modal__title {
  min-width: 0;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
}
.title-modal .title-modal__close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--sc-black);
  cursor: pointer;
}
.modal.full-modal .title-modal__content {
  flex: 1;
  height: auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* PC 에서는 전체높이 시트 대신 여백 있는 중앙 팝업으로 보여 준다.
   작은 화면은 위의 전체화면 규칙을 유지하고, 긴 내용만 내부에서 스크롤한다. */
@media (min-width: 1001px) {
  .portal .modal.full-modal {
    height: auto;
    max-height: min(760px, calc(100vh - 80px));
    max-height: min(760px, calc(100dvh - 80px));
    border-radius: var(--sc-rl);
    box-shadow: 0 24px 72px rgba(17, 17, 19, 0.22);
  }
  .modal.full-modal > .title-modal--full {
    height: auto;
    max-height: inherit;
  }
  .modal.full-modal .title-modal__content {
    flex: 0 1 auto;
    max-height: min(700px, calc(100vh - 140px));
    max-height: min(700px, calc(100dvh - 140px));
  }
  .portal:has(> .modal.full-modal) > .dim {
    background-color: rgba(17, 17, 19, 0.55);
  }
  .modal.full-modal .title-modal__header {
    justify-content: flex-start;
    padding: 0 64px 0 24px;
    border-bottom-color: var(--sc-line);
  }
  .modal.full-modal .title-modal__title {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
  }
  .modal.full-modal .search-zip-code-form {
    padding-bottom: 20px;
  }
}

/* 주소 검색 예시는 여러 줄로 읽는 안내문이다. 패키지의 line-height:1을 이 영역에서만 푼다. */
.search-zip-code-form__tip-list li {
  line-height: 1.7;
}
.search-zip-code-form__tip-list li + li {
  margin-top: 8px;
}

/* 모달 본문에 숨 쉴 여백 */
.modal__box .modal__content,
.modal__box > p {
  padding: 32px 26px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sc-black);
}

/* 하단 버튼 줄 */
.modal__btns {
  border-top: 1px solid var(--sc-line);
}
.modal__btns .btn {
  border-radius: 0;
  border: none;
  height: 54px;
  font-weight: 700;
}
/* 두 개일 때 오른쪽이 주요 동작 */
.modal__btns .btn + .btn {
  border-left: 1px solid var(--sc-line);
  color: var(--sc-blue);
}
.modal__btns .btn:hover {
  background-color: var(--sc-off);
}

/* ⚠️ `.modal` 은 딤이 아니라 **흰 박스 배경**이다
   (패키지: `.modal{background-color:#fff}`).
   딤으로 착각해 배경을 덮으면 모달 본문이 투명해진다. 건드리지 말 것. */

/* ------------------------------------------------------------
   폼 요소 (@shopby TextField / SelectBox / TextArea)

   패키지 입력 필드는 `border-radius:0` 에 테두리 없는 회색 박스라
   각지고 경계가 흐리다. 프로토타입은 둥근 모서리 + 옅은 테두리 +
   포커스 시 브랜드 컬러 링을 쓴다.
   DOM 은 못 바꾸므로 클래스로만 손댄다(원칙 ③).
   ------------------------------------------------------------ */
.text-field,
.select-field,
.select-field > select,
textarea {
  border-radius: var(--sc-rm);
}

.text-field {
  background-color: var(--sc-off);
  border: 1px solid transparent;
  transition: border-color 0.15s var(--sc-ease), background-color 0.15s var(--sc-ease);
}
.text-field:focus-within {
  background-color: var(--sc-white);
  border-color: var(--sc-blue);
}

.text-field input,
.text-field textarea {
  background-color: transparent;
  font-family: inherit;
}

.select-field > select {
  border-radius: var(--sc-rm);
  border: 1px solid var(--sc-line);
  font-family: inherit;
  background-color: var(--sc-white);
}
.select-field > select:focus {
  border-color: var(--sc-blue);
  outline: none;
}

textarea {
  border: 1px solid var(--sc-line);
  font-family: inherit;
  padding: 12px 14px;
}
textarea:focus {
  border-color: var(--sc-blue);
  outline: none;
}

/* 체크박스·라디오의 선택 상태를 브랜드 컬러로 */
.checkbox input:checked + label::before,
.radio input:checked + label::before {
  border-color: var(--sc-blue);
}

/* ------------------------------------------------------------
   빈 상태 (empty state)

   패키지는 "등록된 FAQ가 없습니다." 같은 문구를 맨 텍스트로 흘린다.
   여러 페이지에 나오는 화면이라 최소한의 형태를 준다 —
   옅은 면 + 여백 + 중앙 정렬. 문구 자체는 패키지가 만든다.
   ------------------------------------------------------------ */
.empty-list,
.no-data,
.cart__empty,
.orders__no-data,
.inquiry-list__empty,
.product-board-list__empty,
.customer-center__faq--empty {
  /* ⚠️ display:flex 를 걸면 아이콘+여러 줄 텍스트가 한 행으로 눌려
     겹친다. 패키지가 만든 내부 배치를 그대로 두고 '면'만 준다. */
  min-height: 180px;
  padding: 48px 24px;
  border-radius: var(--sc-rl);
  background: var(--sc-off);
  color: var(--sc-gray);
  font-size: 14.5px;
  line-height: 1.6;
  text-align: center;
}

/* ------------------------------------------------------------
   목록·아코디언 (FAQ / 공지사항 / 상품문의)
   ------------------------------------------------------------ */
.faq-list__item,
.notice-list__item,
.board-list__item {
  border-bottom: 1px solid var(--sc-line);
}
.faq-list__question,
.faq-list__title {
  font-weight: 600;
  color: var(--sc-black);
}
.faq-list__answer {
  background: var(--sc-off);
  border-radius: var(--sc-rm);
  color: var(--sc-ink-3);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   페이지네이션
   `.is-active` 는 이미 `--point-color`(브랜드 블루)를 쓴다.
   모양만 프로토타입 기준으로 둥글린다.
   ------------------------------------------------------------ */
.pagination__btn {
  width: 34px;
  height: 34px;
  border-radius: var(--sc-rs);
  font-weight: 600;
  transition: background-color 0.15s var(--sc-ease);
}
.pagination__btn:hover:not(:disabled) {
  background-color: var(--sc-off);
}
.pagination__btn.is-active {
  border-radius: var(--sc-rs);
}

/* ------------------------------------------------------------
   탭 (상품상세 상세정보/후기/Q&A 등)
   `.on` 이 이미 `--point-color` 를 쓴다. 타이포만 키운다.
   ------------------------------------------------------------ */
.tabs {
  font-size: 14px;
  height: 52px;
  line-height: 50px;
}
.tabs__item {
  font-weight: 500;
}
.tabs__item.on {
  font-weight: 700;
}

/* ------------------------------------------------------------
   브레드크럼 (카테고리 경로)
   패키지는 아래쪽에 그라디언트 그림자를 깔아 무겁다. 걷어낸다.
   ------------------------------------------------------------ */
.breadcrumb {
  font-size: 13px;
  color: var(--sc-gray);
}
.breadcrumb__section::after {
  display: none;
}

/* ------------------------------------------------------------
   패널 — 페이지를 구성하는 기본 면
   Aurora 는 각진 흰 블록이 이어 붙는 구조다.
   프로토타입은 카드형이므로 모서리와 간격을 준다.
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  .l-panel {
    border-radius: var(--sc-rl);
  }
}

/* ------------------------------------------------------------
   모바일 버튼 2단계 — 디자이너 전달본(2026-10-14) "모바일 전체 통일"
   일반 버튼 44px · 14px, 각 화면의 주요 동작 48px · 15px.
   높이는 min-height 로만 준다 — 고객센터 바로가기 칸처럼 일부러 큰 버튼은 그대로 둔다.
   주요 동작 목록은 위 "각 페이지의 주요 동작"(파랑으로 승격한 버튼)과 같다 + 장바구니 주문 · 결제하기.
   ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .l-content .btn {
    min-height: 44px;
    font-size: 14px;
  }
  .normal-sign-in .btn--default,
  .sign-up-form__submit-btn,
  .find-id .btn--default,
  .find-password .btn--default,
  .change-password .btn--default,
  .cart__order-btn,
  .order-sheet__pay-btn {
    min-height: 48px;
    font-size: 15px;
  }
}

/* 모바일 패널 아래 회색 띠 (2026-11-10)
   패키지가 .l-panel 에 `box-shadow: 0 10px 1px #f5f5f5` 를 깔아 패널마다 아래에
   10px 회색 띠가 생겼다(상품 목록·상세 하단). 위아래 선으로 이미 구분되므로 띠만 걷는다. */
.l-panel {
  box-shadow: none;
}

@charset 'utf-8';

/* ============================================================
   회원가입 플로우 — 오버라이드 제안
   라우트: /sign-up · /sign-up/form · /sign-up-confirm
   대응 JSX: src/pages/SignUpMenu/ · src/pages/SignUp/ · src/pages/SignUpConfirm/
   ------------------------------------------------------------
   이 파일은 overrides.css 성격이다. @shopby 패키지 클래스를
   직접 겨냥하며, 규칙마다 "왜 그 클래스인지"를 주석으로 남긴다.

   지킨 것 (docs/DESIGN.md §2 오버라이드 3원칙 · 함정 노트)
   - `!important` 없음. 패키지 선택자는 대부분 깊이 1~3이라
     같은 특이성이면 뒤에 실린 이 시트가 그냥 이긴다.
   - line-height 를 전역으로 건드리지 않는다. 아래에서 값을 주는
     곳은 전부 개별 선택자다(제목·안내문·검증문구).
   - `<img>` 에 max-width 를 걸지 않는다. 크기는 컨테이너로 잡는다
     (/sign-up-confirm 의 체크 아이콘도 컨테이너로 제어).
   - 빈 상태(.empty-list 류)는 건드리지 않는다.
   - 색·모서리는 전부 --sc-* / 매핑된 패키지 변수만 쓴다.
     예외 두 곳은 파일 하단 주석에 근거를 적었다.

   스코프 원칙
   - `.open-id-sign-in`, `.check-radio`, `.select-box`, `.description`,
     `.notice-list` 는 로그인·회원정보수정 등 **다른 화면에서도 쓰인다.**
     그래서 전부 `.sign-up-*` 조상으로 스코프했다. 회원가입 담당 범위를
     넘어 다른 화면을 흔들지 않기 위해서다.

   기준 화면: docs/prototype/auth.html
   ============================================================ */


/* ============================================================
   1. 페이지 셸 — 카드
   ------------------------------------------------------------
   [무엇] 세 페이지의 루트(.sign-up-menu / .sign-up-form /
          .sign-up-confirm)에 데스크톱에서만 카드 면을 준다.
   [왜]   패키지는 `.sign-up-form{padding:20px}` 처럼 여백만 준다.
          그래서 데스크톱에서는 1200px 흰 셸(.page__content.site) 한가운데
          560px 폼이 **경계 없이 떠 있다.** 프로토타입 auth.html 의 인증
          화면은 `.card` — 1px 라인 + 16px 모서리 + 은은한 그림자 안에
          폼이 담긴 형태다. 그 경계를 복원한다.
   [범위] 프로토타입도 좁은 화면(≤480px)에서는 카드를 벗기고 전폭으로
          쓴다. 그래서 카드는 @media (min-width: 1001px) 안에만 둔다.
          1001px 미만은 Aurora 기본 동작 그대로다.
   ============================================================ */
@media (min-width: 1001px) {
  .sign-up-menu,
  .sign-up-form,
  .sign-up-confirm {
    /* 2026-11-11: 카드(테두리·그림자)를 걷고 로그인·아이디 찾기와 같은 맨 바닥 + 좌우 20px */
    padding: 0 20px;
    margin-bottom: 56px;
  }
}


/* ============================================================
   2. /sign-up — 가입 방식 선택 (src/pages/SignUpMenu/SignUpMenu.jsx)
   ============================================================ */

/* ------------------------------------------------------------
   [무엇] '쇼핑몰 회원가입' 링크를 채운 파랑 CTA 로 승격한다.
   [왜]   패키지: `.sign-up-menu__link-normal a{height:47px;
          border:1px solid var(--point-color);color:var(--black-color)}`
          → 채움 없는 **각진 파란 아웃라인**이다.
          이 화면에서 유일한 주요 동작인데 위계가 소셜 버튼보다 낮다.
          프로토타입 `.cta` 는 채운 파랑 · 50px · 12px 모서리 · weight 700.
   [주의] 이건 `.btn` 이 아니라 `<a>` 라서 overrides.css 의
          "주요 동작 승격" 목록(.normal-sign-in .btn--default …)이
          닿지 않는다. 중복이 아니다.
   ------------------------------------------------------------ */
.sign-up-menu__link-normal a {
  height: 50px;
  background-color: var(--sc-blue);
  border: none;
  border-radius: var(--sc-rm);
  color: var(--sc-white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: filter 0.15s var(--sc-ease);
}

.sign-up-menu__link-normal a:hover {
  filter: brightness(1.08);
}

.sign-up-menu__link-normal a:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}

/* ------------------------------------------------------------
   [무엇] 일반가입 ↔ 소셜가입 사이 간격을 줄인다.
   [왜]   패키지 `.sign-up-menu__link-open-id{margin-top:70px}`.
          카드 안에서 70px 는 아무것도 없는 구멍이 된다.
          프로토타입의 구분선 간격은 위 26px / 아래 18px 다.
   ------------------------------------------------------------ */
.sign-up-menu__link-open-id {
  margin-top: 30px;
}

/* ------------------------------------------------------------
   [무엇] 소셜 영역 제목을 프로토타입 `.divider` 형태로 낮춘다.
   [왜]   패키지 `.open-id-sign-in__title span{font-size:16px}` +
          기본 검정색이라, 회원가입 폼과 같은 무게의 **섹션 제목**처럼
          읽힌다. 프로토타입 divider 는 12.5px · gray · weight 600 —
          "여기부터는 다른 방법" 정도의 낮은 신호다.
          가로 hairline(::after)과 `span` 의 흰 배경 뚫기는 패키지가
          이미 만들어 두었으므로 그대로 쓴다.
   [스코프] `.open-id-sign-in` 은 로그인 화면에서도 쓰인다.
            `.sign-up-menu` 로 스코프해 회원가입 화면에만 적용한다.
   ------------------------------------------------------------ */
.sign-up-menu .open-id-sign-in__title span {
  padding: 0 12px;
  background-color: var(--sc-white);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sc-gray);
}

.sign-up-menu .open-id-sign-in__title::after {
  background-color: var(--sc-line);
}

.sign-up-menu .open-id-sign-in__list {
  margin-top: 18px;
}

.sign-up-menu .open-id-sign-in__item {
  margin-top: 10px;
}

/* ------------------------------------------------------------
   [무엇] 소셜 버튼 모양만 프로토타입 `.sbtn` 에 맞춘다.
   [왜]   패키지 `.open-id-sign-in__item button{height:47px;border:none}`
          → 모서리 0. 우리 폼 요소는 전부 12px 모서리라 여기만 각진다.
   [주의] 카카오(#FEE500)·네이버·라인·애플의 **브랜드 색은 건드리지
          않는다.** 각 사의 로그인 버튼 색상 규정이 있고, 우리 브랜드
          컬러로 덮을 대상이 아니다. 형태(높이·모서리·굵기)만 맞춘다.
   ------------------------------------------------------------ */
.sign-up-menu .open-id-sign-in__item button {
  height: 48px;
  border-radius: var(--sc-rm);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: filter 0.15s var(--sc-ease);
}

.sign-up-menu .open-id-sign-in__item button:hover {
  filter: brightness(0.97);
}

/* 구글·앱카드는 흰 버튼이라 테두리가 곧 경계다.
   패키지가 `border: solid 1px #dedede` 로 하드코딩한 회색을
   우리 라인 토큰으로 바꿔 다른 흰 요소들과 톤을 맞춘다. */
.sign-up-menu .open-id-sign-in__item.type-google button,
.sign-up-menu .open-id-sign-in__item.type-app-card button {
  border-color: var(--sc-line);
}


/* ============================================================
   3. /sign-up/form — 입력 폼 (src/pages/SignUp/SignUpForm.jsx 외)
   ============================================================ */

/* ------------------------------------------------------------
   [무엇] 필드 사이 세로 간격을 30px → 22px 로 좁힌다.
   [왜]   `.sign-up-form__item{margin-top:30px}`. 회원가입 폼은 몰 설정에
          따라 아이디·비번·비번확인·이름·닉네임·이메일·휴대폰·전화·주소·
          생일·성별·추가정보까지 12개 이상이 쌓인다. 30px × N 은
          스크롤만 늘리고 묶음을 만들지 못한다.
          프로토타입 `.field` 는 15px 간격이지만, 여기는 라벨+입력+
          검증문구 3층이라 22px 로 절충했다.
   ------------------------------------------------------------ */
.sign-up-form__item {
  margin-top: 22px;
}

/* ------------------------------------------------------------
   [무엇] 라벨을 작고 굵게 — 값보다 낮은 층으로 내린다.
   [왜]   패키지 `.sign-up-form__tit{font-weight:500}` 이고 크기는
          body(14px) 상속이다. 입력값도 14px 이라 **라벨과 값이 같은
          크기·비슷한 굵기**로 붙어 위계가 없다.
          프로토타입 `.field label` 은 13px · 600 · #2a2a2e(=--sc-ink-2),
          입력값은 14.5px. 라벨은 작게, 값은 크게가 원칙이다.
   ------------------------------------------------------------ */
.sign-up-form__tit {
  font-size: 13px;
  font-weight: 600;
  color: var(--sc-ink-2);
}

.sign-up-form__input-wrap {
  margin-top: 8px;
}

/* 입력값을 라벨보다 크게. `.text-field input` 은 패키지가 높이(44px)만
   정하고 크기는 안 정해 body 14px 를 상속한다. */
.sign-up-form .text-field input {
  font-size: 14.5px;
  color: var(--sc-black);
}

.sign-up-form .text-field input::placeholder {
  color: var(--sc-gray-2);
}

/* ------------------------------------------------------------
   [무엇] 필수 표시를 정사각형 → 원형 점으로.
   [왜]   패키지 `.sign-up-form .required{width:5px;height:5px;
          background-color:var(--caution-color)}` — 라벨 옆에 **빨간
          네모**가 붙는다. 모서리를 쓰는 우리 언어에서 유일하게 각진
          5px 도형이라 오류 뱃지처럼 보인다.
   [주의] 색은 `--caution-color`(빨강) 그대로 둔다. tokens.css 가
          "경고·오류는 의미색이라 브랜드 컬러로 대체 금지"라고 못박은
          변수다. 모양만 바꾼다.
   ------------------------------------------------------------ */
.sign-up-form .required {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
}

/* ------------------------------------------------------------
   [무엇] 셀렉트 박스를 텍스트 필드와 같은 면으로 통일한다.
   [왜]   ★ 이 폼의 가장 큰 어긋남.
          `.text-field` 는 overrides.css 가 이미 둥근 --sc-off 면 +
          포커스 파랑 링으로 바꿔 놨다. 그런데 `.select-box` 는
          패키지 기본이 `border:1px solid #000`(순수 검정!) · 모서리 0 이라
          **한 폼 안에 완전히 다른 두 언어**가 섞인다.
          이메일 도메인 · 통신사 · 생년월일 3개 · 국가코드가 전부 이 모양.
   [왜 여기서] overrides.css 는 `.select-field > select` 만 다뤘다.
          하지만 회원가입 폼이 쓰는 패키지 `SelectBox` 컴포넌트는
          `.select-box` 를 렌더한다. 겹치지 않는 빈틈이다.
   [선택자] `.phone-number-input .select-box`(깊이 2)와
          `.sign-up-form__input-wrap .birthday-input .select-box`(깊이 3)이
          따로 테두리를 지정한다. 특이성을 맞추려고 같은 깊이의
          선택자를 나열했다 — 중복처럼 보여도 필요하다.
   ------------------------------------------------------------ */
.sign-up-form .select-box,
.sign-up-form .phone-number-input .select-box,
.sign-up-form .birthday-input .select-box {
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-rm);
  background-color: var(--sc-white);
  color: var(--sc-black);
  transition: border-color 0.15s var(--sc-ease);
}

.sign-up-form .select-box:focus-within {
  border-color: var(--sc-blue);
}

/* `select` 는 폰트를 상속하지 않는다(UA 기본값을 쓴다).
   overrides.css 가 `.select-field > select` 에만 걸어둔 처리를
   `.select-box select` 에도 해준다. */
.sign-up-form .select-box select {
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
}

/* 생년월일 연/월/일 3칸을 같은 폭으로.
   패키지는 `gap:20px` + `justify-content:center` 라 칸 폭이 내용에 따라
   들쭉날쭉하다. 같은 종류의 입력은 같은 폭이어야 한 덩어리로 읽힌다. */
.sign-up-form .birthday-input {
  gap: 8px;
}

.sign-up-form .birthday-input .select-box {
  flex: 1;
  min-width: 0;
}

/* ------------------------------------------------------------
   [무엇] 검증 메시지에 의미색을 준다.
   [왜]   패키지 `.description{font-size:12px}` 에는 색이 없어서
          **성공 메시지가 검정**으로 나온다. ValidationStatus.jsx 는
          `result === true` 일 때만 `.alert` 를 떼므로, 색 없는 상태가
          곧 성공이다("사용 가능한 아이디입니다" 등).
          성공과 오류가 같은 무게로 보이면 사용자는 통과 여부를 못 읽는다.
   [스코프] `.description` 은 회원정보수정 등에서도 쓰인다.
          `.sign-up-form` 으로 스코프한다.
   [line-height] 전역이 아니라 이 선택자에만 준다(두 줄 오류 문구 대비).
   ------------------------------------------------------------ */
.sign-up-form .description {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--sc-success);
}

/* 오류는 패키지가 이미 --caution-color 를 준다. 명시해 의도를 남긴다. */
.sign-up-form .description.alert {
  color: var(--caution-color);
}

/* ------------------------------------------------------------
   [무엇] 인증 유효시간 타이머를 오른쪽으로 보내고 숫자를 mono 로.
   [왜]   패키지 `.timer{display:inline-block;margin-top:12px;
          font-size:12px}` — 인증번호 입력창 **왼쪽 아래**에 12px 로
          붙어서, 카운트다운인지 안내문인지 구분이 안 된다.
          패키지 자신도 비밀번호 찾기 화면에서는
          `.find-password-authentication .timer` 로 우측 정렬을 쓴다.
          같은 성격의 요소이니 같은 처리를 한다.
   ------------------------------------------------------------ */
.sign-up-form .timer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
  color: var(--caution-color);
}

.sign-up-form .timer__text {
  margin-right: 4px;
  color: var(--sc-gray);
}

/* 숫자가 1↔0 으로 바뀔 때 폭이 흔들리지 않도록 고정폭 서체.
   tokens.css 가 "랭킹 숫자·퍼센트용"으로 정의해 둔 토큰이다. */
.sign-up-form .timer__number,
.sign-up-form .timer__middle-sign {
  font-family: var(--sc-font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}


/* ============================================================
   4. /sign-up/form — 약관 동의 (src/pages/SignUp/TermsForm.jsx)
   ============================================================ */

/* ------------------------------------------------------------
   [무엇] '약관동의'는 필드 라벨이 아니라 섹션 제목이므로 되살린다.
   [왜]   같은 `.sign-up-form__tit` 클래스를 쓰지만 여기는 `<p>` 이고
          하위에 약관 묶음 전체가 딸린다. 위 §3 에서 라벨을 13px 로
          낮췄으니 여기만 다시 올려 층을 만든다.
   ------------------------------------------------------------ */
.sign-up-form__agree-wrap .sign-up-form__tit {
  font-size: 15px;
  font-weight: 700;
  color: var(--sc-black);
}

/* 폼 마지막 필드와 약관 섹션 사이를 벌려 "여기서 성격이 바뀐다"를 만든다. */
.sign-up-form__agree-wrap {
  margin-top: 38px;
}

/* ------------------------------------------------------------
   [무엇] 전체동의를 '빈 사각 테두리' → '채운 면'으로.
   [왜]   패키지 `.sign-up-form__checkbox--all{height:56px;
          border:1px solid var(--default-color);justify-content:center}`
          → 가운데 정렬된 **텅 빈 각진 상자**다. 바로 아래 개별 약관
          목록과 무게 차이가 없어 "한 번에 동의"가 눈에 안 들어온다.
          프로토타입 `.agree` 는 --off 로 채운 면 · 12px 모서리 ·
          좌측 정렬 · weight 600 이다. 채움으로 위계를 만든다.
   [정렬] 아래 개별 약관들이 전부 좌측 정렬이라 전체동의만 가운데
          정렬이면 축이 어긋난다. 좌측으로 맞춘다.
   ------------------------------------------------------------ */
.sign-up-form__checkbox--all {
  justify-content: flex-start;
  height: 54px;
  padding: 0 14px;
  background-color: var(--sc-off);
  border: none;
  border-radius: var(--sc-rm);
  font-size: 14.5px;
  font-weight: 700;
}

.sign-up-form__agree-list {
  margin-top: 14px;
}

/* ------------------------------------------------------------
   [무엇] 약관 세 묶음(필수 / 추가 / 마케팅수신) 사이에 경계를 넣는다.
   [왜]   `.sign-up-form__agree-list li`, `.custom-terms__item`,
          `.marketing-receive-agreement__item` 이 전부 margin-top:10px 로
          이어져 **어디까지가 필수 동의인지 보이지 않는다.**
          실제로는 성격이 다른 세 그룹이다.
   [주의] 각 그룹 내부의 배치(패키지 flex)는 그대로 둔다. 바깥 여백과
          구분선만 준다.
          `.custom-terms` 는 몰에 추가약관이 없으면 빈 <ul> 로 렌더되므로
          `:not(:empty)` 로 걸러 빈 줄과 유령 구분선을 막는다.
   ------------------------------------------------------------ */
.sign-up-form .custom-terms:not(:empty),
.sign-up-form .marketing-receive-agreement:not(:empty) {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--sc-line);
}

/* 체크 한 줄의 높이를 확보한다(패키지 기본은 글자 높이 그대로라
   모바일에서 누르기 어렵다). */
.sign-up-form .sign-up-form__checkbox--partial,
.sign-up-form .custom-terms__item {
  min-height: 32px;
}

/* ------------------------------------------------------------
   [무엇] 체크박스 네모의 모서리를 둥글린다.
   [왜]   패키지 `.check-radio__ico` 는 모서리 0 이다. 프로토타입
          `.chk .box` 는 6px 모서리를 쓴다. 폼 안의 유일한 각진 요소가
          남지 않도록 맞춘다.
   [주의] 체크 시 채우는 색은 손대지 않는다 — 패키지가 이미
          `--point-color` 를 쓰고, tokens.css 가 그 값을 --sc-blue 로
          확정해 뒀다. 여기서 다시 칠하면 중복이다.
   [스코프] `.check-radio` 는 장바구니·주문서 등 전역에서 쓰인다.
          회원가입 화면에만 적용한다.
          `--rounded` 변형(원형 체크)은 패키지가 border-radius:50% 로
          쓰는 별개 모양이므로 :not() 으로 제외한다.
   ------------------------------------------------------------ */
.sign-up-form .check-radio:not(.check-radio--rounded) .check-radio__ico {
  border-radius: 6px;
}

.sign-up-form .check-radio__label {
  font-size: 14px;
  color: var(--sc-ink-2);
}

/* ------------------------------------------------------------
   [무엇] '보기' 버튼에서 밑줄을 걷고 링크 언어로 바꾼다.
   [왜]   패키지가 두 곳에서 같은 모양을 만든다:
          `.sign-up-form__checkbox--partial button` 과
          `.custom-terms__item button` — `font-weight:300` +
          `text-decoration:1px underline` + 회색.
          프로토타입의 보조 링크(`.link`)는 밑줄 없이 weight 600 이고
          hover 에서 브랜드 컬러로 바뀐다. 얇은 밑줄 텍스트는 우리
          언어가 아니고, 300 굵기는 한글에서 특히 흐릿하게 깨진다.
   [선택자] 패키지 규칙이 깊이 2 라 `.sign-up-form` 을 얹어 깊이 3 으로
          확실히 이긴다.
   ------------------------------------------------------------ */
.sign-up-form .sign-up-form__checkbox--partial button,
.sign-up-form .custom-terms__item button {
  padding: 6px 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sc-gray);
  text-decoration: none;
  transition: color 0.15s var(--sc-ease);
}

.sign-up-form .sign-up-form__checkbox--partial button:hover,
.sign-up-form .custom-terms__item button:hover {
  color: var(--sc-blue);
}

/* ------------------------------------------------------------
   [무엇] 폼 하단 안내문의 조판을 푼다.
   [왜]   패키지 `.notice-list__item{line-height:1.2;font-weight:300}` +
          `::before{content:"-";color:var(--default-color)}`.
          두 줄 이상이면 줄이 붙어 답답하고, 하이픈 색이
          `--default-color`(=--sc-line) 라 거의 안 보인다.
   [line-height] 전역이 아니라 이 선택자에만 준다.
   [스코프] `.notice-list` 는 다른 화면에도 있으므로 회원가입 폼 안으로
          한정한다.
   ------------------------------------------------------------ */
.sign-up-form .notice-list {
  margin-top: 16px;
}

.sign-up-form .notice-list__item {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--sc-gray);
}

.sign-up-form .notice-list__item::before {
  color: var(--sc-gray-2);
}


/* ============================================================
   5. /sign-up/form — 제출 버튼 (src/pages/SignUp/SignUpButton.jsx)
   ============================================================ */

/* ------------------------------------------------------------
   [무엇] 가입 제출 버튼을 프로토타입 CTA 모양으로 만든다.
   [왜]   ★ 이 화면에서 가장 눈에 띄는 어긋남.
          SignUpButton.jsx 는 `<button className="">` 을 렌더한다 —
          **`.btn` 클래스가 없다.** 그래서 overrides.css 의
          `.btn{border-radius:var(--sc-rm);font-weight:600;transition}`
          이 하나도 걸리지 않는다.
          유일하게 적용되는 건 패키지의
          `.sign-up-form__confirm button{height:53px;font-size:16px;
          color:#fff;background-color:var(--point-color)}` 뿐이라
          **모서리 0 · hover 없는 파란 막대**가 된다.
          페이지 전체가 12px 모서리인데 결승선만 각지다.
   [참고] overrides.css 59~75행의 `.sign-up-form__submit-btn` 규칙은
          이 저장소 DOM 에 존재하지 않는 클래스를 겨냥하고 있어 죽어 있다.
          JSX 에 그 클래스를 달면 살아나지만, 여기서는 실제로 렌더되는
          선택자를 직접 겨냥해 CSS 만으로 해결한다.
   ------------------------------------------------------------ */
.sign-up-form__confirm {
  margin-top: 30px;
}

.sign-up-form__confirm button {
  height: 52px;
  border-radius: var(--sc-rm);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: filter 0.15s var(--sc-ease);
}

.sign-up-form__confirm button:hover {
  filter: brightness(1.08);
}

.sign-up-form__confirm button:active {
  filter: brightness(0.96);
}

.sign-up-form__confirm button:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}


/* ============================================================
   6. /sign-up-confirm — 가입 완료 (src/pages/SignUpConfirm/)
   ============================================================ */

/* ------------------------------------------------------------
   [무엇] 140px 회색 체크를 브랜드 tint 원판 안의 파란 체크로.
   [왜]   SignUpConfirm.jsx 는 `<IconSVG name="check" strokeWidth={5}
          stroke="var(--blue-gray-color)" />` 를 쓰고, 패키지가
          `.sign-up-confirm__icon-check{width:140px;height:140px}` 를 준다.
          `--blue-gray-color` 는 tokens.css 에서 --sc-ink-3(짙은 회색)이다.
          → **가입 완료라는 브랜드 순간에 브랜드 컬러가 한 톨도 없고**,
          140px 짜리 무채색 체크만 덩그러니 놓인다.
   [어떻게] IconSVG 는 stroke/fill 을 SVG **표현 속성**으로 심는다.
          표현 속성은 CSS 보다 우선순위가 낮으므로 인라인 스타일과 달리
          CSS 로 이길 수 있다. JSX 수정 없이 색을 바꿀 수 있는 이유다.
   [크기] `<svg>` 에 width 속성이 없어 컨테이너를 100% 채운다.
          그래서 **컨테이너 크기로 제어**한다(이미지에 max-width 를 걸지
          않는 것과 같은 원칙).
   ------------------------------------------------------------ */
.sign-up-confirm__icon-check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: var(--sc-tint);
  margin-bottom: 22px;
}

.sign-up-confirm__icon-check svg {
  width: 38px;
  height: 38px;
  /* check 아이콘 path 는 열린 꺾은선(M62 25 34.5 55 18 37)인데
     IconSVG 가 fill="#fff" 를 기본으로 준다. tint 면 위에 올리면
     흰 삼각 덩어리가 비쳐 보이므로 채움을 없앤다. */
  fill: none;
  stroke: var(--sc-blue);
  stroke-linecap: round;
}

.sign-up-confirm__icon-check svg path {
  stroke: var(--sc-blue);
}

/* ------------------------------------------------------------
   [무엇] 완료 문구 조판.
   [왜]   `.sign-up-confirm__notice-confirm{font-size:1.714rem}`(24px)이
          body 의 line-height:1 을 그대로 상속한다. 굵기 지정도 없어
          24px 보통 굵기로 뜬다 — 축하 문구인데 무게가 없다.
   [line-height] 전역이 아니라 이 두 선택자에만 준다.
   ------------------------------------------------------------ */
.sign-up-confirm__notice-confirm {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--sc-black);
  text-align: center;
}

.sign-up-confirm__notice-description {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sc-gray);
}

/* ------------------------------------------------------------
   [무엇] 하단 두 버튼 — 클릭 영역 버그를 고치고 주요 동작을 파랑으로.
   [왜①] ★ 실사용 결함. 패키지가
          `.sign-up-confirm__nav li{padding:1.14rem 3.28rem}` 로
          **`<li>` 에 패딩을 주는데 링크는 `<a>`(인라인)** 이다.
          → 버튼처럼 보이는 여백을 눌러도 아무 일도 일어나지 않는다.
          글자 위를 정확히 눌러야만 이동한다.
          패딩을 `<a>` 로 옮겨 면 전체를 클릭 영역으로 만든다.
   [왜②] 주요 동작인 '로그인'이 `--blue-gray-color`(=--sc-ink-3)
          짙은 회색이다. 프로토타입에서 주요 CTA 는 항상 브랜드 파랑이다.
   [왜③] 모서리 0 이고 좌우 패딩이 46px 고정이라 좁은 화면에서 두 버튼
          폭이 어긋난다. 1:1 그리드로 안정시킨다.
   ------------------------------------------------------------ */
.sign-up-confirm__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin-top: 28px;
}

.sign-up-confirm__nav li {
  padding: 0;
  border-radius: var(--sc-rm);
  font-size: 15px;
  font-weight: 600;
  transition: filter 0.15s var(--sc-ease), background-color 0.15s var(--sc-ease);
}

/* 클릭 영역 = 버튼 면. 여백을 <a> 가 갖는다. */
.sign-up-confirm__nav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 12px;
  color: inherit;
}

.sign-up-confirm__nav-home {
  border-color: var(--sc-line);
}

.sign-up-confirm__nav-home:hover {
  background-color: var(--sc-off);
}

/* 주요 동작 — 브랜드 파랑 채움 */
.sign-up-confirm__nav-sign-in {
  background-color: var(--sc-blue);
  border-color: var(--sc-blue);
}

.sign-up-confirm__nav-sign-in:hover {
  filter: brightness(1.08);
}

.sign-up-confirm__nav li a:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
  border-radius: var(--sc-rm);
}


/* ============================================================
   토큰을 쓰지 않은 값 — 근거
   ------------------------------------------------------------
   1) 폰트 크기 · 여백 px
      tokens.css 에 타이포 스케일/스페이싱 토큰이 없다. overrides.css 도
      같은 이유로 raw px 를 쓴다(.product-section__title 등). 값은
      docs/prototype/auth.html 원본에서 그대로 가져왔다.
   2) 체크박스 모서리 6px
      프로토타입 `.chk .box{border-radius:6px}` 값. --sc-rs(8px)는 19px
      상자에 비해 과하게 둥글다. 모서리 토큰의 중간값이 없어 원본 유지.
   3) 카드 그림자 rgba(17,17,19,.05)
      그림자 토큰이 없다. 프로토타입 `.card` 값이며, overrides.css 의
      `.modal__box` 도 같은 방식으로 raw rgba 를 쓴다.
   4) 소셜 버튼 브랜드 색
      카카오/네이버/라인/애플 색은 각 사 규정이라 의도적으로 두었다.
   ============================================================ */


/* 약관 아래 안내 한 줄: 글자 바로 아래에 회색 밑줄(1px)이 여백 없이 붙어 있었다(목록 줄 구분선이 이 문단에도 적용)
   → 안내문에는 밑줄을 두지 않는다 */
:root .sign-up-form .notice-list__item {
  border-bottom: 0;
}

@charset 'utf-8';

/* ============================================================
   계정찾기 · 비밀번호 — /find-id · /find-password · /change-password
   ------------------------------------------------------------
   성격: overrides 계층. @shopby 패키지 클래스를 직접 겨냥한다.
   로드 위치: overrides.css 뒤 (index.js 순서 기준 마지막).
   → 패키지와 특이성이 같으면 이 파일이 이긴다. `!important` 불필요.

   ★ 이 파일이 손대는 범위 (다른 담당자와 겹치지 않게 명시)
     - .find-id* / .find-password* / .change-password* 전용
     - 그 안에서만 .text-field / .select-box / .btn / .tabs 를 건드린다.
       (전역 .text-field·.btn·.tabs 는 overrides.css 담당 — 다시 쓰지 않는다)
     - .title-modal / .portal / .dim 은 **건드리지 않는다.** 세 페이지의
       결과화면이 모두 FullModal 안이지만, 모달 껍데기는 스킨 전역
       공유물이라 여기서 손대면 다른 화면까지 흔들린다.

   ★ 근거가 되는 패키지 소스
     @shopby/shared/dist/styles/aurora.css     (페이지 전용 규칙)
     @shopby/shared/dist/styles/component.css  (.tabs .text-field .select-box)
     @shopby/react-components .../modal/Portal/Portal.js  (모달 = createPortal)

   ★ 루트 폰트크기 주의
     common.css 가 `html{font-size:87.5%}` + `@media(min-width:450px){100%}`
     로 rem 기준을 화면폭에 따라 14px↔16px 로 바꾼다. 패키지가 쓴
     `1.6428rem` 같은 값이 23px↔26px 로 널뛴다는 뜻이다.
     그래서 이 파일은 rem 을 쓰지 않고 px 로 못 박는다.
   ============================================================ */

/* ------------------------------------------------------------
   1. 카드 면 (데스크톱 전용)

   무엇을: 세 페이지 본문(.find-id/.find-password/.change-password)에
           흰 면 + 옅은 테두리 + 둥근 모서리를 준다.
   왜: 패키지 기본은 `margin-top:30px; padding:0 20px` 뿐이라 폼이
       허공에 떠 있다. 프로토타입(docs/prototype/auth.html .card)은
       420px 카드다. layout.css 가 이미 이 라우트들을 narrow(560px)로
       잡아두었으니, 여기서는 '면'만 얹으면 카드가 완성된다.

   ⚠️ 모바일(1000px 이하)은 손대지 않는다. 프로토타입도 480px 이하에서
      카드 장식을 걷어내고 전체폭으로 떨어뜨린다 → Aurora 기본과 동일.
   ⚠️ 그림자 색만 raw rgba 다. 그림자 토큰이 없어서이며,
      overrides.css `.modal__box` 도 같은 방식을 쓴다(선례 있음).
   ------------------------------------------------------------ */
/* 2026-11-11: 카드(테두리·그림자)를 걷고 로그인 화면과 같은 맨 바닥 + 좌우 20px 로.
   폼 폭을 380px 로 줄이면서 카드 안쪽 여백까지 빠지면 입력칸이 로그인(340px)보다 좁아졌다. */
@media (min-width: 1001px) {
  .find-id,
  .find-password,
  .change-password {
    margin-top: 0;
    padding: 0 20px;
  }
}

/* ------------------------------------------------------------
   2. 페이지 타이틀

   무엇을: 세 페이지의 본문 타이틀 조판을 하나로 통일한다.
   왜: 지금은 셋이 제각각이다 —
       .find-id__tit        26px, 좌측
       .find-password__tit  26px, 좌측
       .change-password__tit 21px, **가운데 정렬**
       같은 흐름(아이디찾기→비밀번호찾기→비밀번호변경)을 지나가는데
       정렬이 중간에 바뀐다. 좌측 정렬로 맞춘다.
   왜 line-height 를 여기서 주나: body 가 `font:14px/1` 이라 전역
       line-height 가 1 이다. 타이틀이 두 줄로 넘어가면 글자가 붙는다.
       전역으로 바꾸면 패키지 조판이 전부 밀리므로(DESIGN.md 함정노트)
       이렇게 필요한 요소에만 준다.
   ------------------------------------------------------------ */
.find-id__tit,
.find-password__tit,
.change-password__tit {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-align: left;
  color: var(--sc-black);
}

/* 타이틀이 아래 여백을 갖게 됐으니 패키지의 27px/30px 는 걷어낸다.
   (.find-id .tabs / .change-password-form 은 패키지가 준 간격) */
.find-id .tabs,
.find-password .tabs {
  margin-top: 0;
}

.change-password-form {
  margin-top: 0;
}

/* ------------------------------------------------------------
   3. 탭 — 회색 '폴더탭'을 스킨 표준 밑줄탭으로 되돌린다

   무엇을: .find-id / .find-password 두 페이지에만 걸려 있는
           회색 채움 탭(#f8f8f8 배경 + 상단 테두리)을 지우고,
           스킨의 다른 탭(상품상세·마이페이지)과 같은
           '밑줄 + 브랜드 컬러' 로 맞춘다.
   왜 그 클래스인가: aurora.css 가 `.find-id .tabs__item`(특이성 0,2,0)
           으로 전역 `.tabs__item`(0,1,0)을 눌러버려서, overrides.css 의
           탭 규칙이 이 두 페이지에만 안 닿는다. 같은 깊이로 겨눠야 한다.

   ★ 진짜 버그: `.find-id .tabs__item button{color:#40434a}` 가
     활성 색을 먹어버린다. 활성 표시는 li 의 color(--point-color)로
     오는데, 그 안의 button 에 색이 직접 박혀 있어 상속이 끊긴다.
     → 지금 화면에서 **선택된 탭과 안 선택된 탭의 글자색이 똑같다.**
     button 을 inherit 로 되돌려 li 의 상태색이 내려오게 한다.

   비활성 라벨은 --gray-color(#a1a1aa) 대신 --sc-gray(#71717a)로
   li 에 직접 준다. 흰 배경에서 명도대비가 2.3:1 → 4.8:1 로 올라간다.
   ------------------------------------------------------------ */
.find-id .tabs__item,
.find-password .tabs__item {
  background-color: transparent;
  border-top: none;
  border-bottom: 1px solid var(--sc-line);
  color: var(--sc-gray);
}

.find-id .tabs__item.on,
.find-password .tabs__item.on {
  background-color: transparent;
  border-top: none;
  border-bottom: 2px solid var(--sc-blue);
  color: var(--sc-blue);
}

/* 색·굵기는 li 에서 상속받게 한다 (위 ★ 참고) */
.find-id .tabs__item button,
.find-password .tabs__item button {
  color: inherit;
  font-weight: inherit;
  font-size: 14px;
}

/* ------------------------------------------------------------
   4. 입력 필드 — 포커스 링 복구 + 높이 통일

   ★ 지금 상태의 버그: aurora.css 의
       `.find-id-form__input-wrap .text-field{border:none}`
       `.find-password-form__input-wrap .text-field{border:none}`
     가 (0,2,0)이라, overrides.css 의 `.text-field{border:1px solid
     transparent}`(0,1,0)을 이긴다. border-style 이 none 이 되면
     `:focus-within{border-color:...}` 로는 선이 그려지지 않는다.
     → **두 페이지의 입력창은 포커스해도 브랜드 링이 안 뜬다.**
     같은 깊이로 겨눠 투명 테두리를 되살린다.

   높이: 패키지가 input 을 47px 로 두는데 프로토타입 폼은 48px 이고,
     아래 6번의 셀렉트(패딩 계산상 51px)와도 어긋난다. 48px 로 못 박는다.
     `.find-id-form__input-wrap input`(0,1,1)보다 깊게 겨눠야 이긴다.
   배경색은 overrides.css `.text-field` 가 이미 --sc-off 로 잡아뒀다.
     여기서 다시 쓰지 않는다.
   ------------------------------------------------------------ */
.find-id-form__input-wrap .text-field,
.find-password-form__input-wrap .text-field {
  border: 1px solid transparent;
}

.find-id-form__input-wrap .text-field:focus-within,
.find-password-form__input-wrap .text-field:focus-within {
  border-color: var(--sc-blue);
}

.find-id-form__input-wrap .text-field,
.find-password-form__input-wrap .text-field,
.change-password-form__input-wrap .text-field,
.find-password-authentication__input-wrap .text-field {
  height: 48px;
}

.find-id-form__input-wrap .text-field input,
.find-password-form__input-wrap .text-field input,
.change-password-form__input-wrap .text-field input,
.find-password-authentication__input-wrap .text-field input {
  height: 48px;
  padding: 0 14px;
  font-size: 14.5px;
}

/* 필드 사이 간격: 아이디찾기 8px / 비밀번호변경 12px 로 갈렸다 → 12px.
   패키지 선택자가 (0,3,0)이라 같은 깊이로 맞춘다. */
.find-id-form .find-id-form__item + .find-id-form__item {
  margin-top: 12px;
}

/* ------------------------------------------------------------
   5. 셀렉트 (이메일 도메인 · 통신사)

   무엇을: 아이디찾기 폼의 SelectBox 에 필드와 같은 모양을 준다.
   왜 그 클래스인가: 패키지 SelectBox 가 뱉는 클래스는 `.select-box`
       인데(SelectBox.js: `<span class="select-box">`), overrides.css 는
       `.select-field` 를 겨냥한다. `.select-field` 는 배송지 국가코드
       처럼 로컬 JSX 가 직접 붙이는 클래스라 **여기엔 안 닿는다.**
       그래서 이 폼의 셀렉트만 모서리 없는 회색 박스로 남아 있다.
       (전역 `.select-box` 를 건드리면 주문·클레임까지 번지므로
        아이디찾기 폼 안으로 범위를 묶는다)
   ------------------------------------------------------------ */
.find-id-form__input-wrap .select-box {
  height: 48px;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-rm);
  background-color: var(--sc-white);
  overflow: hidden; /* 둥근 모서리 밖으로 select 가 새지 않게 */
  transition: border-color 0.15s var(--sc-ease);
}

.find-id-form__input-wrap .select-box:focus-within {
  border-color: var(--sc-blue);
}

/* 패키지가 `.find-id-form__input-wrap select` 로 padding:17px 을 박아
   높이가 51px 이 된다 → 한 칸 더 깊게 겨눠 48px 로 맞춘다.
   오른쪽 여백 36px 은 `.select-box::after` 화살표(right:10px) 자리. */
.find-id-form__input-wrap .select-box select {
  height: 48px;
  padding: 0 36px 0 14px;
  background-color: transparent;
  font-size: 14.5px;
  color: var(--sc-black);
}

/* ------------------------------------------------------------
   6. 휴대폰번호 입력 — 한 줄 정렬

   무엇을: 통신사 셀렉트(51px)와 번호 입력(47px)의 높이를 48px 로 맞추고,
           사이의 하이픈 막대를 검정에서 선 색으로 낮춘다.
   왜: 지금은 셀렉트만 4px 커서 세 칸이 같은 줄에서 어긋난다.
       하이픈은 `border-top:1px solid var(--black-color)` 라 순검정이다.
   ------------------------------------------------------------ */
.find-id-form__input-wrap .phone-number-input {
  gap: 2px;
}

.find-id-form__input-wrap .phone-number-input .select-box,
.find-id-form__input-wrap .phone-number-input .text-field {
  height: 48px;
}

.find-id-form__input-wrap .phone-number-input__bar {
  border-top-color: var(--sc-line-2);
}

/* ------------------------------------------------------------
   7. 오류 문구

   무엇을: "회원정보를 찾을 수 없습니다." 위아래 여백을 줄이고
           입력값 옆에서 읽히도록 왼쪽 정렬 + 본문 크기로 낮춘다.
   왜: 패키지는 `margin-top:30px; text-align:center; font-size:1rem`
       (450px 이상에서 16px)이라, 필드 → 30px 공백 → 큰 빨강 문장 →
       30px 공백 → 버튼 순으로 폼이 두 동강 난다.
   ⚠️ 색은 손대지 않는다. --caution-color 는 tokens.css 에서 이미
      --sc-danger 로 매핑돼 있고, 경고는 의미색이라 브랜드색으로
      덮으면 안 된다(DESIGN.md §5).
   ------------------------------------------------------------ */
.find-id-form__caution,
.find-password-form__caution {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: left;
}

/* 비밀번호 변경/인증의 안내문은 항상 렌더되고 값이 없을 때만 비어 있다
   (ChangePasswordContent.jsx L102 · FindPasswordAuthentication.jsx L90).
   빈 <p> 가 margin 만 남겨 유령 간격을 만든다 → 비었을 때 접는다. */
.change-password-form__caution,
.find-password-authentication__caution {
  font-size: 13.5px;
  line-height: 1.5;
}

.change-password-form__caution:empty,
.find-password-authentication__caution:empty {
  margin-top: 0;
}

/* ------------------------------------------------------------
   8. 주요 버튼 — 모서리와 높이

   무엇을: 세 폼의 CTA 를 프로토타입 모양(12px 모서리 · 50px)으로.
   왜 그 클래스인가: aurora.css 가 `.find-id-form__btn-wrap button`
       (0,1,1) 로 `border-radius:0` 을 박아, overrides.css 의
       `.btn{border-radius:var(--sc-rm)}`(0,1,0)를 이겨버린다.
       → **이 세 페이지의 CTA 만 아직 각져 있다.** `.btn` 을 한 단계
       깊게(0,2,0) 겨눠야 둥글어진다.
   색은 건드리지 않는다 — overrides.css 의 `주요 동작 승격` 블록이
       이미 파랑 채움을 준다.
   ------------------------------------------------------------ */
.find-id-form__btn-wrap .btn,
.find-password-form__btn-wrap .btn,
.change-password-form__btn-wrap .btn {
  height: 50px;
  border-radius: var(--sc-rm);
  font-size: 15px;
}

.find-id-form__btn-wrap,
.find-password-form__btn-wrap,
.change-password-form__btn-wrap {
  margin-top: 22px;
}

/* ------------------------------------------------------------
   9. 비밀번호 찾기 — 버튼 줄의 위계

   무엇을: '아이디 찾기' 링크를 조용한 텍스트 링크로 낮추고,
           '비밀번호 찾기' CTA 가 남는 폭을 채우게 한다.
   왜: 지금은 링크와 CTA 가 나란히 각각 40% 폭에 테두리를 두르고 있어
       (a=검정 테두리, button=파랑 테두리) 무게가 같고, 가운데 20% 가
       그냥 빈다. 이 화면의 주 동작은 하나뿐이다.
   ------------------------------------------------------------ */
.find-password-form__btn-wrap {
  gap: 14px;
}

.find-password-form__btn-wrap a {
  width: auto;
  height: 50px;
  padding: 0 4px;
  border: none;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--sc-gray);
  transition: color 0.15s var(--sc-ease);
}

.find-password-form__btn-wrap a:hover {
  color: var(--sc-blue);
}

.find-password-form__btn-wrap .btn {
  width: auto;
  flex: 1;
}

/* ============================================================
   여기부터는 FullModal 안에서 그려지는 세 화면이다.

   ⚠️ 중요: CustomModal 은 createPortal 로 <body> 끝에 붙는다
      (react-components .../modal/Portal/Portal.js).
      즉 이 DOM 은 `.find-id` / `.find-password` **바깥**이다.
      → overrides.css 의 `.find-password .btn--default { 파랑 채움 }`
        같은 페이지 스코프 승격이 여기엔 절대 안 닿는다.
      아래 규칙들은 그 사각지대를 메우는 것이지 중복이 아니다.
   ============================================================ */

/* ------------------------------------------------------------
   10. 아이디 찾기 결과

   무엇을: 찾은 아이디를 브랜드 틴트 면에 얹어 이 화면의 주인공으로
           만들고, 아래 두 링크에 위계를 준다(로그인=주요).
   왜: 지금은 아이디가 #f8f8f8 회색 띠에 검정 글자로 얹혀 있어
       주변 안내문과 무게가 같다. 링크 둘은 각각 40% 폭 각진 상자라
       역시 구분이 없다.
   부수 수정
     - height:80vh → auto. 콘텐츠 높이를 뷰포트로 못 박을 이유가 없고,
       모달 콘텐츠가 이미 calc(100dvh - 60px) 로 스크롤을 갖는다.
     - padding 0 10px → 좌우 24px. 모달 폭 500px 에서 10px 은 너무 붙는다.
     - line-height:3rem(=48px)가 height:44px 상자 안에 있어 4px 어긋난다.
   ------------------------------------------------------------ */
.find-id-result {
  height: auto;
  margin-top: 24px;
  padding: 0 24px 32px;
}

.find-id-result__tit {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--sc-ink-3);
}

.find-id-result__id-text {
  margin-top: 14px;
  padding: 18px 16px;
  border-radius: var(--sc-rm);
  background-color: var(--sc-tint);
  color: var(--sc-blue);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-all; /* 아이디가 긴 이메일일 수 있다 */
}

/* '(휴면)' 표시. 휴면이 아니면 빈 span 이라 여백만 남는다 → 접는다. */
.find-id-result__dormant-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--sc-gray);
}

.find-id-result__dormant-text:empty {
  margin-left: 0;
}

.find-id-result__link-wrap {
  margin-top: 28px;
  gap: 10px;
}

.find-id-result__link {
  flex: 1;
  width: auto;
  height: 50px;
  line-height: 50px;
  border-radius: var(--sc-rm);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.15s var(--sc-ease), filter 0.15s var(--sc-ease);
}

/* 보조 */
.find-id-result__link--password {
  border: 1px solid var(--sc-line);
  color: var(--sc-black);
}

.find-id-result__link--password:hover {
  background-color: var(--sc-off);
}

/* 주요 */
.find-id-result__link--login {
  border: 1px solid var(--sc-blue);
  background-color: var(--sc-blue);
  color: var(--sc-white);
}

.find-id-result__link--login:hover {
  filter: brightness(1.08);
}

/* ------------------------------------------------------------
   11. 비밀번호 찾기 — 인증번호 입력

   무엇을: '확인/재인증' 버튼을 주요 동작(파랑 채움 · 둥근 모서리)으로,
           유효시간 타이머를 읽히는 보조 정보로 정리한다.
   왜: 패키지는 이 버튼에 `border:1px solid var(--black-color);
       border-radius:0` 을 준다 → 흰 바탕 검정 테두리 각진 상자.
       이 화면의 유일한 진행 버튼인데 취소 버튼처럼 보인다.
       위 ⚠️ 대로 포털 밖 승격 규칙이 닿지 않으므로 여기서 직접 준다.
   ------------------------------------------------------------ */
.find-password-authentication {
  height: auto;
  margin-top: 24px;
  padding: 0 24px 32px;
}

.find-password-authentication__tit {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--sc-black);
}

.find-password-authentication__input-wrap {
  margin-top: 16px;
}

.find-password-authentication .timer {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--sc-gray);
}

/* 남은 시간 숫자만 또렷하게 (Timer.jsx: .count-down > span) */
.find-password-authentication .timer .count-down span {
  font-weight: 700;
  color: var(--sc-black);
}

.find-password-authentication__btn-wrap {
  margin-top: 20px;
}

.find-password-authentication__btn-wrap .btn {
  height: 50px;
  border: 1px solid var(--sc-blue);
  border-radius: var(--sc-rm);
  background-color: var(--sc-blue);
  color: var(--sc-white);
  font-size: 15px;
}

.find-password-authentication__btn-wrap .btn:hover {
  filter: brightness(1.08);
}

/* ------------------------------------------------------------
   12. 비밀번호 변경 완료

   무엇을: '로그인' 링크를 폭 100% 주요 버튼으로 올리고 좌우 여백을 준다.
   왜: 지금은 폭 80% 검정 테두리 상자다. 변경이 끝난 뒤 유일한 다음
       걸음인데 시각적으로 가장 약하다. 여기도 포털 밖이라 overrides 의
       승격이 닿지 않는다.
       또 이 블록엔 좌우 padding 이 없어 문구가 모달 벽에 붙는다.
   ------------------------------------------------------------ */
.change-password-confirm {
  margin-top: 24px;
  padding: 0 24px 32px;
}

.change-password-confirm__tit {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--sc-black);
}

.change-password-confirm__link-wrap {
  margin-top: 24px;
}

.change-password-confirm__link-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 0;
  border: 1px solid var(--sc-blue);
  border-radius: var(--sc-rm);
  background-color: var(--sc-blue);
  color: var(--sc-white);
  font-size: 15px;
  font-weight: 700;
  transition: filter 0.15s var(--sc-ease);
}

.change-password-confirm__link-wrap a:hover {
  filter: brightness(1.08);
}

/* ------------------------------------------------------------
   13. 키보드 포커스

   무엇을: 이 세 페이지의 조작 요소에 포커스 링을 준다.
   왜: common.css 의 `*{all:unset}` 리셋이 브라우저 기본 outline 까지
       지운다. base.css 는 `.sc-btn` 에만 링을 달아뒀는데, 여기 버튼들은
       전부 패키지 컴포넌트(.btn / a)라 해당이 없다.
       값은 base.css `.sc-btn:focus-visible` 과 같은 규격으로 맞춘다.
   ------------------------------------------------------------ */
.find-id .tabs__item button:focus-visible,
.find-password .tabs__item button:focus-visible,
.find-id-form__btn-wrap .btn:focus-visible,
.find-password-form__btn-wrap a:focus-visible,
.find-password-form__btn-wrap .btn:focus-visible,
.change-password-form__btn-wrap .btn:focus-visible,
.find-password-authentication__btn-wrap .btn:focus-visible,
.find-id-result__link:focus-visible,
.change-password-confirm__link-wrap a:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}

/* ------------------------------------------------------------
   v0.5.6 — 화면 점검 후속
   ------------------------------------------------------------ */
/* 모바일: 헤더 가운데에 이미 '아이디 찾기'가 있어 본문 제목이 같은 말을 한 번 더 했다.
   로그인·회원가입처럼 모바일은 헤더 제목만 둔다. PC 는 원래도 sc-pagehead 제목을 쓰고 이 제목은 숨김. */
@media (max-width: 1000px) {
  .find-id__tit,
  .find-password__tit {
    display: none;
  }
}


/* 로그인 화면 구획 제목 통일: '간편 로그인'(16px 검정)과 '비회원 주문 조회'(가운데 큰 글씨)가
   회원가입 화면의 '간편 가입'(작은 회색 + 가로선)과 달랐다 → 셋 다 같은 구분선 제목 */
.open-id-sign-in__title span {
  padding: 0 12px;
  background-color: var(--sc-white);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sc-gray);
}
.open-id-sign-in__title::after {
  background-color: var(--sc-line);
}
.guest-order > .guest-order__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sc-gray);
}
.guest-order > .guest-order__title::before,
.guest-order > .guest-order__title::after {
  content: '';
  flex: 1 1 0;
  height: 1px;
  background-color: var(--sc-line);
}

/* ------------------------------------------------------------
   v0.6.7 — 아이디 찾기 다듬기
   전: 안내 없이 칸만 있음, 이메일 두 칸은 자리표시도 없이 빈칸, 탭만 파란색(다른 탭은 잉크색)
   후: 한 줄 안내 → 라벨(이름·이메일/휴대폰 번호) → 입력칸 → 버튼. 탭은 마이페이지와 같은 잉크 밑줄.
   ------------------------------------------------------------ */
.sc-find__guide {
  margin: 4px 0 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--sc-gray);
}
.sc-find__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sc-ui-ink);
}
.find-id-form .find-id-form__item + .find-id-form__item {
  margin-top: 20px;
}
.find-id-form .find-id-form__btn-wrap {
  margin-top: 28px;
}
.find-id-form .sc-email-field__select {
  margin-top: 8px;
}

/* 탭: 파란 글자·밑줄 → 잉크색(마이페이지 탭과 같은 규칙, 15px · 48px) */
.find-id .tabs__item button,
.find-password .tabs__item button {
  height: 48px;
  font-size: 15px;
  color: var(--sc-gray);
}
.find-id .tabs__item.on button,
.find-password .tabs__item.on button {
  font-weight: 700;
  color: var(--sc-ui-ink);
}
.find-id .tabs__item.on,
.find-password .tabs__item.on {
  border-bottom-color: var(--sc-ui-ink) !important;
}
.find-id .tabs,
.find-password .tabs {
  margin-bottom: 24px;
}

/* 비밀번호 찾기 (v0.6.8): 아이디 찾기와 같은 '안내 → 라벨 → 칸 → 버튼', 버튼 옆에 붙어 있던 '아이디 찾기'는 아래 한 줄 링크로 */
.find-password-form .find-password-form__btn-wrap.sc-find__btns {
  display: block;
  margin-top: 28px;
}
.find-password-form .sc-find__btns .btn {
  width: 100%;
}
.sc-find__sub {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  color: var(--sc-gray);
}
.sc-find__sub a {
  margin-left: 4px;
  font-weight: 600;
  color: var(--sc-ui-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 회원가입 '주소 찾기': 흰 테두리 → 화면 안 보조 버튼 규칙(회색 면) */
:root .address-form .address-form__zip-code .btn {
  border: 0;
  background: var(--sc-off);
  color: var(--sc-ui-ink);
  font-weight: 600;
}

/* 비회원 주문 조회 화면(/orders 비로그인): 안내 → 라벨 → 칸 → 버튼 (아이디 찾기와 같은 틀) */
.sc-find__label--gap {
  margin-top: 20px;
}
.l-content > div > .sign-in .guest-order .btn {
  margin-top: 28px;
}

/* PC 폼 화면 제목 → 첫 내용 간격 통일 (v0.7.1)
   전: 로그인 30px · 회원가입/가입 폼/아이디·비밀번호 찾기 10px · 비회원 주문 조회 38px
   후: 모두 약 28~30px */
@media (min-width: 1001px) {
  .sign-up-menu,
  .sign-up-form,
  .find-id,
  .find-password {
    padding-top: 18px;
  }
  .l-content > div > .sign-in > .guest-order:only-child {
    padding-top: 0;
    margin-top: 0;
  }
}

@charset 'utf-8';

/* ============================================================
   게이트 · 에러 페이지 — 선데이클럽 오버라이드
   ------------------------------------------------------------
   대상 라우트 6개
     /not-found  /service-check  /expired-mall
     /member-only  /no-access  /adult-certification

   ★ 이 파일은 overrides 성격이다. 전부 @shopby 패키지 클래스를
     겨냥한다 — 이 여섯 페이지의 JSX 는 전부 패키지가 정한
     className 만 쓰고 sc- 마크업이 하나도 없기 때문이다.
     각 블록마다 "왜 이 클래스인지"를 남겼다.

   ★ 오버라이드 3원칙(docs/DESIGN.md §2)을 그대로 따른다.
     !important 없음. 패키지 CSS 뒤에 실리므로 동일 특이성이면 이긴다.

   ------------------------------------------------------------
   먼저 알아야 할 사실 두 가지 (이 파일의 모든 결정 근거)
   ------------------------------------------------------------
   ① 여섯 중 넷은 셸 밖에서 렌더된다.
      src/router/index.js 에서 /not-found · /no-access ·
      /service-check · /expired-mall 는 <Layout/> 의 children 이
      아니라 **최상위 라우트**다. 즉 이 네 페이지에는
        - 헤더 · 푸터 · 탭바가 없고
        - .page__content(흰 면, max-width:500px) 도 없고
        - .l-content[data-content-width] 도 붙지 않는다.
      → src/constants/layout.js 에 이 넷을 NARROW 로 등록해 뒀지만
        **그 선언은 도달하지 않는다.** 폭·면·중앙정렬을 여기서
        직접 줘야 한다. (§1)

   ② 패키지가 rem 을 쓰는데 rem 기준이 450px 에서 점프한다.
      common.css: html{font-size:87.5%} + @media(min-width:450px)
      {html{font-size:100%}} → 449px 까지 14px, 450px 부터 16px.
      그래서 이 페이지들의 본문이 450px 이상에서 20~23px 로 뛴다
      (.not-found p = 1.4285714286rem = 22.9px).
      스킨의 나머지 본문은 14~15px 다. px 로 다시 잡는다.
   ============================================================ */

/* ============================================================
   1. 셸 밖 4페이지 — 면과 폭을 직접 준다
   ------------------------------------------------------------
   무엇을: .not-found / .no-access / .service-check /
           .expired-mall 네 페이지 루트에 Aurora 셸과 같은
           "흰 기둥"(폭 500 · 중앙 · 화면 높이)을 만든다.
   왜: 위 ①대로 이 넷은 .page__content 밖이라 지금 회색 body
       (--background-color = --sc-off) 위에 텍스트만 떠 있다.
       나머지 45개 페이지는 전부 흰 면 위라 혼자 다른 세계로 보인다.
       패키지 .page__content{margin:0 auto;max-width:500px;
       min-height:100vh} + .page__content.site{background:#fff}
       와 같은 값을 그대로 재현해 셸과 어긋나지 않게 한다.

   ⚠️ padding 은 여기서 주지 않는다. .expired-mall 안에 폭 380px
      고정 <img> 가 있어서 좌우 padding 을 주면 375px 화면에서
      가로 스크롤이 생긴다. 이미지에 max-width 를 걸어 해결하는
      길은 막혀 있으므로(DESIGN.md 함정 노트), 각 페이지에서
      **텍스트에만** 여백을 준다. (§5)
   ------------------------------------------------------------ */
.not-found,
.no-access,
.service-check,
.expired-mall {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;

  /* 100vh 는 모바일 주소창 때문에 실제보다 크다.
     svh 를 지원하면 그쪽을 쓰고, 아니면 100vh 로 떨어진다. */
  min-height: 100vh;
  min-height: 100svh;

  background-color: var(--sc-white);
  color: var(--sc-black);
}

/* ============================================================
   2. /not-found — 페이지를 못 찾음
   ------------------------------------------------------------
   패키지 원본:
     .not-found{display:flex;flex-direction:column;
       justify-content:center;align-items:center;
       margin-top:12.8571428571rem;padding:20px}
     .not-found p{margin-bottom:1.4285714286rem;font-size:1.4285714286rem}
     .not-found__title{font-size:2.4285714286rem !important;font-weight:600}
     .not-found__btns button{height:4.2857142857rem;width:35%}
   ============================================================ */

/* 무엇을: margin-top 을 걷어내고 padding 으로 바꾼다.
   왜: 12.857rem = 450px 이상에서 **205px**. 이미 flex 세로
       중앙정렬이 걸려 있는데 거기에 205px 를 더 밀어 넣어서
       짧은 화면에서는 첫 화면에 제목이 안 들어온다.
       중앙정렬에 맡기고 위아래로 숨 쉴 여백만 남긴다. */
.not-found {
  margin-top: 0;
  padding: 56px var(--sc-gut);
}

/* 무엇을: 본문 22.9px → 15px, 회색.
   왜: 스킨 본문 기준(overrides.css 의 15px / 14.5px)과 맞춘다.
       line-height 는 여기서만 준다 — 전역 변경 금지(DESIGN.md §5). */
.not-found p {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--sc-gray);
}

/* 무엇을: 제목의 무게·자간·색·아래여백만 손본다.
   왜: font-size 는 손대지 못한다 — .not-found__title 의
       font-size 가 패키지 194KB 안에 11개뿐인 !important 중
       하나다(§0). !important 로 맞불을 놓지 않는다는 게
       이 프로젝트의 1원칙이라 크기는 그대로 두고
       나머지로 브랜드 톤을 맞춘다.
       선택자는 .not-found .not-found__title (0,2,0) —
       위의 .not-found p (0,1,1) 를 이겨야 색이 먹는다. */
.not-found .not-found__title {
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--sc-black);
}

/* 무엇을: 고객센터 번호를 본문 안에서 들어올린다.
   왜: JSX 가 전화번호만 <span> 으로 감싸 놨는데
       (NotFound.jsx: 문의는 <span>{phoneNo}</span>로)
       지금은 주변 문장과 완전히 같아서 감싼 의미가 없다.
       에러 페이지에서 유일하게 행동으로 이어지는 정보다. */
.not-found p > span {
  font-weight: 600;
  color: var(--sc-black);
}

/* 무엇을: 버튼 줄 여백을 좁힌다.
   왜: 3.571rem = 57px. 문단과 버튼 사이가 한 화면을 먹는다. */
.not-found__btns {
  margin-top: 28px;
}

/* 무엇을: width:35% 를 폭 기반 버튼으로 바꾼다.
   왜: 패키지가 .not-found__btns button{width:35%} 로 잡아 놨는데
       부모가 width:100% 라 화면이 넓어질수록 버튼이 같이 커진다.
       셸이 없는 페이지라 상한도 없어서 1440px 화면에서
       504px 짜리 버튼이 된다. 내용 폭 + 최소폭으로 고정한다. */
.not-found__btns button {
  width: auto;
  min-width: 200px;
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
}

/* 무엇을: 이 페이지의 유일한 행동을 브랜드 블루로 승격한다.
   왜: theme="dark" 라 .btn--dark{background:var(--blue-gray-color)}
       = 회색빛 먹색이다. 에러 페이지에서 나가는 문이 하나뿐인데
       그게 보조 버튼처럼 보인다.
       ⚠️ :first-of-type 으로 올리지 않는다(DESIGN.md 함정 노트).
          실제 컨테이너 .not-found__btns 를 겨냥해
          (0,2,0) 으로 .btn--dark (0,1,0) 를 이긴다. */
.not-found__btns .btn--dark {
  background-color: var(--sc-blue);
}

/* overrides.css 의 .btn--dark:hover{filter:brightness(1.4)} 는
   먹색 기준 값이라 파랑에 걸면 하얗게 뜬다.
   주요 CTA(.btn--caution:hover) 와 같은 1.08 로 맞춘다. */
.not-found__btns .btn--dark:hover {
  filter: brightness(1.08);
}

/* ============================================================
   3. /no-access — 서비스 준비중
   ------------------------------------------------------------
   패키지 원본:
     .no-access{display:flex;flex-direction:column;...;
       margin-top:12.8571428571rem;padding:20px}
     .no-access__title{margin-top:4.2857142857rem;font-size:2.4285714286rem}
     .no-access__content{margin-top:1.4285714286rem;line-height:2rem;
       font-size:1.2857142857rem}
   ============================================================ */

/* 무엇을: not-found 와 같은 이유로 margin-top(205px) → padding. */
.no-access {
  margin-top: 0;
  padding: 56px var(--sc-gut);
}

/* 무엇을: 경고 아이콘을 94px → 58.75px 로 줄이고 톤을 낮춘다.
   왜: .ico--exclamation-white-bg 는 sprite.png 를 94px 로 잘라
       쓰는 규칙이라 width/height 만 바꾸면 스프라이트가 잘린다.
       아래 네 값은 패키지가 같은 아이콘을 작게 쓸 때 쓰는 조합
       (.product-board-list .ico--exclamation-white-bg) 을 그대로
       가져온 것이다 — 0.625 배로 position/size 가 전부 맞춰져 있어
       새 숫자를 지어내지 않아도 된다.
       opacity 는 "준비중"이라는 조용한 메시지에 맞춘 것. */
.no-access .ico--exclamation-white-bg {
  width: 58.75px;
  height: 58.75px;
  background-position: -413.75px -27.5px;
  background-size: 570px 314.375px;
  opacity: 0.7;
}

/* 무엇을: 제목 38.9px → 반응형 24~28px, 아이콘과의 간격 68px → 24px.
   왜: 4.2857rem(68.6px) 은 아이콘과 제목을 서로 다른 블록처럼
       떼어 놓는다. 크기는 overrides.css 의
       .product-section__title clamp() 와 같은 방식으로 잡아
       스킨 전체의 제목 스케일과 어긋나지 않게 한다. */
.no-access__title {
  margin-top: 24px;
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--sc-black);
}

/* 무엇을: 본문 20.6px → 15px, 고정 line-height:2rem(32px) → 1.7. */
.no-access__content {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sc-gray);
}

/* ============================================================
   4. /service-check — 서비스 점검중
   ------------------------------------------------------------
   여섯 중 브랜드 이탈이 가장 심한 페이지다. 패키지 원본:
     .service-check{margin-top:56px;
       font-family:"NanumBarunGothic",sans-serif;
       background:url("https://rlyfaazj0.toastcdn.net/error/
         vis_500_error.png") center top no-repeat;
       padding-top:337px}
     @media(max-width:720px){.service-check{
       background-image:url(".../vis_m_500_error.png");
       padding-top:216px}}
     .service-check p{color:#727171}
     .service-check p:first-child{font-family:나눔스퀘어,...;color:#000}
   → 외부 CDN(toastcdn) 의 NHN 500 에러 일러스트 + 나눔 계열 폰트다.
   ★ font-family 는 base.css 가 이미 var(--sc-font) 로 덮었다.
     여기서 다시 쓰지 않는다.
   ============================================================ */

/* 무엇을: 외부 CDN 배경 이미지와 그 자리를 비워 둔 padding 을 걷어낸다.
   왜: (1) 남의 브랜드 자산이다 — 선데이클럽 점검 화면에 NHN
           일러스트가 뜬다.
       (2) 우리가 통제하지 못하는 원격 호스트다. 그 CDN 이 죽으면
           337px(모바일 216px) 짜리 빈 구멍만 남는다. 하필
           "서비스가 안 되는 상황"에 뜨는 페이지다.
       모바일 블록의 padding-top:216px 도 같이 무효화된다 —
       미디어쿼리는 특이성을 올리지 않고 이 시트가 더 뒤에 있다. */
.service-check {
  margin-top: 0;
  padding: 88px var(--sc-gut) 64px;
  background-image: none;
}

/* 무엇을: 본문 색을 토큰으로, 고정 36px 행간을 비율로.
   왜: #727171 은 하드코딩 회색이고 --sc-gray(#71717a) 와
       사실상 같은 값이다. 토큰으로 옮겨 두면 색을 한 곳에서 돈다.
       line-height:36px 은 폰트 크기를 바꾸면 같이 깨진다. */
.service-check p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sc-gray);
}

/* 무엇을: 첫 문단(=사실상 제목)의 색·자간·간격.
   왜: 패키지가 이 문단만 26px/700/#000 으로 제목처럼 쓴다.
       색만 토큰으로 옮기고 자간을 스킨 제목과 맞춘다. */
.service-check p:first-child {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.8vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--sc-black);
}

/* ============================================================
   5. /expired-mall — 접근이 제한된 쇼핑몰
   ------------------------------------------------------------
   패키지 원본:
     .expired-mall{margin-top:-56px;display:flex;...;height:100vh}
     .expired-mall p{font-size:26px;line-height:38px;color:#111}
     .expired-mall em{color:red}
   ============================================================ */

/* 무엇을: 유령 헤더 보정(margin-top:-56px)과 height:100vh 를 없앤다.
   왜: -56px 은 56px 짜리 헤더가 있다고 가정한 값인데 이 라우트는
       셸 밖이라 헤더가 없다(§0 ①). 그래서 내용이 화면 중앙보다
       56px 위로 밀려 있다.
       height(고정) 대신 §1 의 min-height 를 쓰게 두면 내용이
       길어져도 잘리지 않는다.
   ⚠️ 좌우 padding 은 주지 않는다 — 안에 width=380 고정 <img> 가
      있어서 375px 화면에서 가로 스크롤이 생긴다.
      이미지에 max-width 를 거는 길은 막혀 있으므로(DESIGN.md)
      여백은 아래 문단에만 준다. */
.expired-mall {
  height: auto;
  margin-top: 0;
  padding: 40px 0;
}

/* 무엇을: 문단에만 좌우 여백 + 색 토큰화.
   왜: 위 이유로 컨테이너에 padding 을 못 주니, 실제로 여백이
       필요한 텍스트에 직접 준다. #111 → --sc-black. */
.expired-mall p {
  margin-top: 8px;
  padding: 0 var(--sc-gut);
  font-size: clamp(20px, 2.8vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.4;
  color: var(--sc-black);
}

/* 무엇을: 강조어("제한된")의 순색 red 를 의미색 토큰으로.
   왜: color:red 는 하드코딩이고 채도가 너무 높아 문장 안에서
       튄다. --sc-danger(#E5484D) 는 경고 의미를 유지하면서
       스킨의 다른 경고(.caution, --caution-color)와 같은 색이다. */
.expired-mall em {
  color: var(--sc-danger);
  font-weight: 700;
}

/* ============================================================
   6. /member-only — 회원 전용 몰
   ------------------------------------------------------------
   이 페이지는 셸 **안**이다. .l-content[data-content-width='narrow']
   가 붙어 데스크톱에서 560px 로 잡힌다(layout.css).
   패키지가 가진 규칙은 .member-only__text 하나뿐이고
   .member-only 컨테이너에는 아무 규칙이 없다.
   그 아래는 SignInForm 이 그대로 들어온다(<section class="sign-in">,
   .sign-in{padding:20px}).
   ★ .normal-sign-in .btn--default 브랜드 승격은 overrides.css 에
     이미 있다. 여기서 다시 쓰지 않는다.
   ============================================================ */

/* 무엇을: 안내 문구를 옅은 면 위에 올린 '알림 블록'으로 만든다.
   왜: 지금은 22.9px 짜리 큰 회색 문장이 로그인 폼 바로 위에
       맨몸으로 떠 있어서, "제목"인지 "안내"인지 "폼 레이블"인지
       읽히지 않는다. 면을 주면 '왜 여기로 왔는지'가 폼과 분리된다.
       좌우 margin 20px 은 아래 .sign-in{padding:20px} 과 같은
       세로선을 만들기 위한 값이다 — 컨테이너에 padding 을 주면
       .sign-in 의 20px 과 겹쳐 40px 이 된다.
   ⚠️ 배경에 --sc-tint 를 쓰지 않았다. tint 는 후원 하이라이트
      전용색이라(DESIGN.md §5) 게이트 안내에 재사용하면
      브랜드 신호가 흐려진다. */
.member-only__text {
  margin: 24px 20px 4px;
  padding: 20px;
  border-radius: var(--sc-rl);
  background-color: var(--sc-off);
  font-size: 15px;
  line-height: 1.7;
  color: var(--sc-ink-3);
}

/* ============================================================
   7. /adult-certification — 성인인증
   ------------------------------------------------------------
   이 페이지도 셸 안이고 narrow(560px) 다.
   패키지 원본:
     .adult-certification{padding:20px;text-align:left}
     .adult-certification__title{font-size:2.1428571429rem;
       line-height:2.8571428571rem;font-weight:500}
     .adult-certification__description{font-size:1.1428571429rem;
       line-height:1.8571428571rem}
     .adult-certification__exit-button{border-radius:0;height:60px}
     .adult-certification__certification-btn{height:60px}
     .adult-certification__sign-in-title{font-size:1.1428571429rem}
   ============================================================ */

/* 무엇을: 19+ 배지와 제목 사이 간격.
   왜: .adult-certification__image 는 60x60 배경 아이콘인데
       바로 아래 제목이 20px 밖에 안 떨어져 있어 붙어 보인다.
       (크기 자체는 패키지 값을 유지 — adult.png 가 스프라이트가
        아니라 단일 이미지라 60px 에서 선명하다) */
.adult-certification__image {
  margin-bottom: 4px;
}

/* 무엇을: 제목 34.3px/500 → 반응형 24~28px/700, 자간 조임.
   왜: weight 500 은 스킨의 어떤 제목보다 가볍다
       (.product-section__title = 700). 크기도 560px 폭에서
       두 줄이 화면을 다 먹는다. */
.adult-certification__title {
  margin-top: 16px;
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--sc-black);
}

/* 무엇을: 설명문 18.3px → 14.5px.
   왜: 이 문단은 청소년보호법 고지문이라 길다. 18px 로 깔면
       본문이 아니라 또 하나의 제목처럼 보여서 위계가 무너진다.
       색은 패키지가 이미 --gray-font-color(=--sc-gray) 를 쓴다. */
.adult-certification__description {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.75;
}

/* 무엇을: 경고 문장(.caution)에 무게를 준다.
   왜: 패키지 .caution{color:var(--caution-color)} 는 색만 준다.
       고지문 안에서 실제 경고 부분을 색만으로 구분하기엔 약하다.
       색은 tokens.css 가 --caution-color 를 --sc-danger 로
       고정해 뒀으므로 여기서 색을 다시 쓰지 않는다. */
.adult-certification__description .caution {
  font-weight: 600;
}

/* 무엇을: 로그인 패널의 판때기 그림자를 걷어내고 테두리를 토큰으로.
   왜: 패키지 .l-panel 은 box-shadow:0 10px 1px #f5f5f5 —
       흐림 0짜리 회색 띠가 패널 밑에 깔린다. Aurora 특유의
       각진 인상을 만드는 원인이고 선데이클럽 카드와 안 맞는다.
   ⚠️ .l-panel 전역이 아니라 이 페이지의 패널만 겨냥한다.
      .l-panel 은 마이페이지·주문서 등이 공유하는 클래스라
      여기서 손대면 담당 범위를 넘는다. */
.adult-certification__sign-in {
  margin-top: 24px;
  border-color: var(--sc-line);
  box-shadow: none;
}

/* 무엇을: '회원 로그인' 레이블을 섹션 제목답게.
   왜: 18.3px 회색이라 위의 큰 제목과 크기 차이가 거의 없어
       두 개의 제목이 경쟁한다. 작고 진하게 = 하위 레이블. */
.adult-certification__sign-in-title {
  margin: 4px 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sc-black);
}

/* 무엇을: 버튼 높이 60px → 52px, 16px → 15px.
   왜: 스킨의 다른 CTA(overrides.css 기준 .btn 계열)와 높이를
       맞춘다. 60px 는 이 페이지에서만 큰 슬래브가 된다.
   ⚠️ .adult-certification__certification-btn 은 JSX 에서
      '19세 미만 나가기'(보조)와 '회원 성인인증'(주요)에
      **똑같이** 붙어 있다. CSS 로는 둘을 구분할 수 없으므로
      여기서는 크기만 맞추고 색 위계는 손대지 않는다.
      (:first-of-type / :last-of-type 으로 한쪽만 올리는 건
       DESIGN.md 함정 노트가 금지한 방식이다 — 로그인 분기에서는
       .adult-certification__exit-button 이 유일한 button 이라
       같은 선택자가 보조 버튼을 승격시킨다) */
.adult-certification__certification-btn,
.adult-certification__exit-button {
  height: 52px;
  font-size: 15px;
  font-weight: 600;
}

/* 무엇을: 비로그인 분기의 '19세 미만 나가기'를 조용한 버튼으로.
   왜: 이 버튼은 로그인 패널보다 **위에** 있고 지금은
       테두리 있는 60px 짜리 큰 버튼이라 페이지의 첫 행동처럼
       보인다. 실제 주요 행동은 그 아래 로그인이다.
       이탈 버튼이라 없앨 수는 없으니 무게를 낮춘다.
       (DOM 순서를 바꾸는 flex order 는 쓰지 않았다 — 시각 순서와
        탭 순서가 어긋나 키보드 사용자에게 더 나빠진다) */
.adult-certification__exit-button {
  background-color: transparent;
  border-color: var(--sc-line);
  color: var(--sc-gray);
}

.adult-certification__exit-button:hover {
  background-color: var(--sc-off);
  color: var(--sc-ink-3);
}

/* ============================================================
   8. 데스크톱 (>= 1001px)
   ------------------------------------------------------------
   ★ 브레이크포인트는 1001px 하나만 쓴다(DESIGN.md §4).
     1001px 미만은 Aurora 기본 동작 그대로 둔다.
   ============================================================ */
@media (min-width: 1001px) {
  /* 무엇을: 셸 밖 4페이지를 '화면 높이 흰 기둥'에서
             '가운데 놓인 카드'로 바꾼다.
     왜: 데스크톱에는 헤더·푸터가 없어서 500px 짜리 흰 기둥이
         1920px 회색 바탕을 세로로 가르는 모양이 된다.
         카드로 바꾸면 페이지가 '끝난 상태'라는 게 읽힌다.
         560px 는 layout.css 의 narrow 폭과 같은 값이다 —
         이 넷도 constants/layout.js 에서 NARROW 로 선언돼 있으니
         (도달만 못 할 뿐) 의도한 폭을 그대로 따른다. */
  .not-found,
  .no-access,
  .service-check,
  .expired-mall {
    max-width: 560px;
    min-height: 0;
    margin-top: 88px;
    margin-bottom: 88px;
    border: 1px solid var(--sc-line);
    border-radius: var(--sc-rl);
  }

  /* 카드가 되면 세로 중앙정렬용 여백이 필요 없다 */
  .not-found,
  .no-access {
    padding: 64px var(--sc-gut);
  }

  .service-check {
    padding: 64px var(--sc-gut);
  }

  .expired-mall {
    padding: 56px 0;
  }

  /* 무엇을: 성인인증 로그인 패널에 4면 테두리를 준다.
     왜: overrides.css 가 데스크톱에서 .l-panel 에
         border-radius 를 주는데, 패키지 .l-panel 의
         border-width 는 1px 0(위아래만)이다. 위아래만 있는
         선에 라운드를 주면 모서리가 잘린 것처럼 보인다.
         이 페이지의 패널에 한해 4면을 채워 카드로 완성한다. */
  .adult-certification__sign-in {
    border-width: 1px;
  }
}

/* ============================================================
   안내 화면 4종 통일 (2026-11-10) — .sc-gate
   404·점검 중·준비 중·이용 제한이 제목 크기·아이콘·버튼 색이 제각각이었다
   (영어 'Not found.', 파란 버튼, 3D 그림, 큰 굵은 둘째 줄이 '문/의해'로 끊김)
   → 원형 아이콘 + 22px 제목 + 15px 회색 설명 + 잉크색/선 버튼으로 맞춘다.
   ============================================================ */
:root .sc-gate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  padding: 72px var(--sc-gut, 20px);
  box-sizing: border-box;
  text-align: center;
  word-break: keep-all;
}
:root .sc-gate .sc-gate__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border: 1.5px solid var(--sc-line-2);
  border-radius: 50%;
  color: var(--sc-gray);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}
:root .sc-gate .sc-gate__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--sc-black);
}
:root .sc-gate .sc-gate__desc {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--sc-gray);
}
:root .sc-gate .sc-recovery {
  margin-top: 32px;
}
:root .sc-gate .sc-recovery__note {
  font-size: 14px;
  font-weight: 400;
  color: var(--sc-gray);
}
:root .sc-gate .sc-recovery__cta {
  width: 100%;
  max-width: 320px;
  height: 52px;
  border-color: var(--sc-ui-ink, #242428);
  background: var(--sc-ui-ink, #242428);
}
:root .sc-gate .sc-recovery__cta--sub {
  border-color: var(--sc-line-2);
  background: var(--sc-white);
  color: var(--sc-ui-ink, #242428);
}

/* ------------------------------------------------------------
   안내 화면 C안 적용 (2026-11-10, 사용자 선택)
   - 회색 원 안 ?·! → 상황별 면 2톤 아이콘(64px, 테두리 없음)
   - 글자·버튼 크기는 사이트(웹·앱 웹뷰 공통) 기준에 맞춤:
     제목 22px(화면 제목 20~22px), 설명 15px(본문 14.5~15px), 버튼 52px·16px(장바구니·로그인과 같은 16px)
   - 줄 끝에 한 단어만 떨어지지 않게 줄 길이를 고르게
   ------------------------------------------------------------ */
:root .sc-gate .sc-gate__icon,
:root .order-confirm__message--fail .sc-gate__icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border: 0;
  border-radius: 0;
  line-height: 0;
}
:root .sc-gate .sc-gate__icon svg,
:root .order-confirm__message--fail .sc-gate__icon svg {
  width: 64px;
  height: 64px;
}
:root .sc-gate .sc-gate__title,
:root .sc-gate .sc-gate__desc,
:root .order-confirm__message--fail p {
  text-wrap: balance;
}
:root .sc-gate .sc-recovery__cta {
  font-size: 16px;
}
/* 결제 실패도 다른 안내 화면과 같은 제목 크기 */
:root .order-confirm__message--fail > .order-confirm__message.bold {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
/* 결제 실패: C안 구성(아이콘 → 제목 → 설명 → 작은 사유 상자 → 세로 버튼)으로 다른 안내 화면과 맞춤 */
:root .order-confirm__message--fail {
  max-width: 480px;
  margin: 0 auto;
  padding: 56px var(--sc-gut, 20px) 0;
  border: 0;
  background: transparent;
}
:root .order-confirm__message--fail > .order-confirm__message.bold {
  margin: 0 0 8px;
}
:root .order-confirm__message--fail .order-confirm__sub-message--fail {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  line-height: 1.65;
  color: var(--sc-gray);
}
:root .order-confirm__message--fail .order-confirm__fail-reason {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--sc-off);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
}
:root .order-confirm__btn-group--fail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  padding: 28px var(--sc-gut, 20px) 56px;
}
:root .order-confirm__btn-group--fail .btn {
  width: 100%;
  height: 52px;
  margin: 0;
  border-radius: var(--sc-ui-field-radius);
  font-size: 16px;
  font-weight: 600;
}
:root .order-confirm__btn-group--fail .order-confirm__retry-btn {
  border: 1px solid var(--sc-ui-ink, #242428);
  background: var(--sc-ui-ink, #242428);
  color: var(--sc-white);
}
:root .order-confirm__btn-group--fail .order-confirm__home-btn {
  border: 1px solid var(--sc-line-2);
  background: var(--sc-white);
  color: var(--sc-ui-ink, #242428);
}
/* 결제 실패 제목: 패키지 .order-confirm__message 의 안쪽 여백이 제목 p 에도 걸려 아이콘·설명과 멀었다 */
:root .order-confirm__message--fail > p.order-confirm__message {
  padding: 0;
  border: 0;
  background: transparent;
}
/* 안내 화면 4종: PC 에서 회색 바탕 위 맨 위에 카드처럼 붙어 있었다 → 화면 전체 흰 바탕, 세로 가운데 */
:root .not-found.sc-gate,
:root .no-access.sc-gate,
:root .service-check.sc-gate,
:root .expired-mall.sc-gate {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  border: 0;
  border-radius: 0;
  background: var(--sc-white);
  box-shadow: none;
}
:root .sc-gate .sc-gate__title,
:root .sc-gate .sc-gate__desc {
  max-width: 400px;
}
:root .sc-gate .sc-recovery {
  max-width: 360px;
}

@charset 'utf-8';

/* ============================================================
   검색 · 목록 툴바 — 선데이클럽 오버라이드 제안
   ------------------------------------------------------------
   대상 라우트 : /products?keyword=… (검색결과) · /products?categoryNo=… (카테고리)
   대상 JSX    : src/pages/DisplayCategoryList/
                 src/components/TotalCountAndSort/
                 src/components/SearchKeyword/
                 src/components/GalleryListPage/ (빈 상태 두 종)

   ★ 성격: 이 파일은 overrides.css 와 같은 성격이다.
     전부 @shopby 패키지 클래스를 겨냥한다. 각 블록마다
     "어떤 JSX 가 그 클래스를 찍는지 / 패키지 기본값이 무엇인지"를
     주석으로 남겼다.

   ★ 지킨 규칙 (docs/DESIGN.md §2)
     - `!important` 없음. 패키지 특이성이 낮아(단일 클래스 56%)
       뒤에 실은 시트가 그냥 이긴다.
     - 빈 상태(.no-search)에 display:flex 를 걸지 않는다.
       아이콘 + 여러 줄 구조라 한 행으로 눌리면 겹친다. 면만 준다.
     - line-height 를 전역으로 건드리지 않는다.
       줄바꿈이 실제로 일어나는 개별 요소에만 준다.
     - 색·모서리는 전부 --sc-* 토큰.
     - 레이아웃을 바꾸는 규칙만 @media (min-width: 1001px) 안에 둔다.
       색·모서리·타이포 보정은 overrides.css 선례대로 전 구간 공통.

   ⚠️ .total-sort 는 검색/카테고리 외에 기획전(Event)·상품섹션
      (ProductSectionList)에서도 같은 컴포넌트로 쓰인다.
      여기 손대면 그 화면들도 같이 바뀐다 — 의도한 것이다(일관성).
   ============================================================ */

/* ============================================================
   1. 툴바 본체 (.total-sort)
   ------------------------------------------------------------
   찍는 곳: components/TotalCountAndSort/TotalCountAndSort.jsx
            <div class="total-sort"> — GalleryListPage 의 .l-panel 첫 자식

   패키지 기본값(aurora.css):
     position:sticky; top:90px; z-index:1; padding:10px 20px;
     margin-bottom:32px; border-bottom:1px solid var(--light-gray-border-color)

   ▸ 무엇이 문제인가
     `top:90px` 은 **Aurora 기본 헤더 높이 기준**이다. 우리는 헤더를
     로컬 JSX 로 교체했고(components.css `.sc-hd{height:64px}`),
     그 헤더는 데스크톱·모바일 모두 64px 이다.
     그래서 지금은 툴바가 헤더보다 26px 아래에 고정된다 →
     헤더와 툴바 사이 26px 띠로 상품 카드가 그대로 흘러 지나간다.
     프로토타입(search.html `.filterbar{top:64px}`,
     list.html `.toolbar{top:64px}`)과도 어긋난다.

   ▸ 왜 미디어쿼리 밖인가
     이건 데스크톱 전용 디자인이 아니라 **헤더 교체로 생긴 값 불일치**다.
     모바일 헤더도 64px 이므로 두 구간 모두 틀렸다. 그래서 공통으로 고친다.
     (64px 은 components.css 의 .sc-hd 높이와 짝. 둘을 함께 고칠 것)

   ▸ 가로 패딩 20px 은 그대로 둔다
     패키지 `.thumb-GALLERY{padding:0 20px}` 와 같은 값이라 툴바 좌우 끝이
     첫/마지막 카드와 정확히 맞는다. --sc-gut(24px)로 바꾸면 4px 어긋난다.
   ============================================================ */
.total-sort {
  top: var(--sc-hdh); /* ← 스티키 헤더 높이(tokens.css). PC 는 GNB 줄까지 114px, 모바일 65px */
  gap: 12px; /* 좁은 화면에서 건수와 정렬이 붙는 것을 막는다 (flex 는 패키지가 이미 걸었다) */
  padding: 12px 20px;
  margin-bottom: 20px;
  /* 배경은 다시 쓰지 않는다 — 패키지가 var(--whole-color) 를 쓰고
     tokens.css 가 그것을 --sc-white 로 매핑해 뒀다(이미 불투명 흰색). */
  border-bottom-color: var(--sc-line); /* --light-gray-border-color(#EEEFF1) → 헤어라인 */
}

/* ------------------------------------------------------------
   건수 표시 — "총 N개"
   찍는 곳: <p class="total-sort__count">총 <em class="highlight">N</em>개</p>

   지금은 라벨('총','개')과 숫자가 같은 크기라 위계가 없다.
   프로토타입(search.html `.rcount`)은 라벨을 회색으로 눕히고
   숫자만 크고 굵게 세운다.

   ⚠️ `.highlight` 는 패키지 **전역 유틸리티**(common.css
      `.highlight{color:var(--point-color)}`)라 지금 숫자가 브랜드
      블루로 나온다. 블루는 이 스킨에서 '후원'을 뜻하는 색이므로
      (components.css .sc-dona 계열) 단순 건수에 쓰면 의미가 흐려진다.
      → 이 자리에서만 잉크색으로 되돌린다. 전역 .highlight 는 안 건드린다.
   ------------------------------------------------------------ */
.total-sort__count {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--sc-gray);
  line-height: 1.4; /* 개별 지정. 전역 line-height 는 건드리지 않는다 */
}

.total-sort__count .highlight {
  margin: 0 1px 0 3px; /* '3 개'처럼 숫자와 '개'가 떨어져 보여 오른쪽만 1px(2026-11-10). 패키지 기본 `0 4px 0 8px` 은 '총'과 숫자 사이가 8px 로 벌어진다 */
  font-size: 15px;
  font-weight: 800;
  color: var(--sc-black);
  letter-spacing: -0.02em;
}

/* ============================================================
   2. 정렬 드롭다운 (.total-sort .select-box)
   ------------------------------------------------------------
   ▸ 왜 `.select-box` 인가 — 여기가 이 파일의 핵심 발견이다.
     TotalCountAndSort 는 `<SelectBox className="total-sort__select-box">`
     를 쓰는데, 패키지 SelectBox 가 실제로 뱉는 DOM 은
       <span class="select-box total-sort__select-box select-box--sort">
         <select>…</select>
       </span>
     이다. **`.select-field` 가 아니다.**
     그런데 overrides.css 의 폼 규칙은 `.select-field > select` 만
     겨냥한다 → 이 정렬 드롭다운에는 브랜드 스타일이 **하나도 안 걸린다.**
     지금 화면에 나오는 건 패키지 기본값 그대로:
       .select-box{border:1px solid #000; color:#3f444c}      ← 검은 각테두리
       .total-sort__select-box{border-color:#d2d2d2; font-weight:lighter}
       .select-box--sort::before{ 스프라이트 정렬아이콘, left:20px }
       .select-box--sort select{ padding-left:52px }
     = 각진 회색 상자 + 좌측 스프라이트 아이콘 + 52px 들여쓰기.
     프로토타입(list.html `.sortsel`)은 pill 테두리 + 우측 셰브론이다.

   ▸ 선택자 형태
     `.total-sort .select-box`(0,2,0)로 쓴다. 패키지의
     `.select-box--sort::before`(0,1,1) / `.total-sort__select-box`(0,1,0)
     를 특이성으로 확실히 넘기기 위해서다. (!important 불필요)
   ============================================================ */
.total-sort .select-box {
  width: auto;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-rpill);
  background-color: var(--sc-white);
  color: var(--sc-ink-3);
  transition: border-color 0.15s var(--sc-ease), box-shadow 0.15s var(--sc-ease);
}

.total-sort .select-box:hover {
  border-color: var(--sc-line-2);
}

/* 테두리가 <span> 에 있고 포커스는 <select> 가 받으므로 :focus-within 으로 링을 그린다.
   (select 자체의 기본 아웃라인은 pill 안쪽에 각지게 그려져 어색하다) */
.total-sort .select-box:focus-within {
  border-color: var(--sc-blue);
  box-shadow: 0 0 0 3px var(--sc-tint);
}

/* 좌측 스프라이트 정렬 아이콘 제거.
   프로토타입은 정렬 컨트롤에 별도 아이콘을 두지 않는다(셰브론만). */
.total-sort .select-box--sort::before {
  content: none;
}

/* 우측 셰브론.
   패키지가 `.select-box--sort::after{content:none}` 으로 캐럿을 꺼놨으므로
   되살린다. 스프라이트(PNG) 대신 테두리로 그린 삼각형을 쓴다 —
   색을 --sc-* 토큰으로 줄 수 있고(이미지는 색을 하드코딩해야 한다)
   패키지도 .breadcrumb__link::after 에서 같은 기법을 쓴다.
   position/top/transform 은 패키지 `.select-box::after` 가 이미 준다. */
.total-sort .select-box::after {
  content: '';
  right: 15px;
  width: 7px;
  height: 7px;
  background-image: none; /* 패키지 스프라이트 끄기 */
  border: solid var(--sc-gray);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.total-sort .select-box select {
  /* 패키지 리셋(common.css `all:unset`)이 이미 네이티브 화살표를 지우지만,
     리셋이 바뀌어도 안전하도록 명시한다 */
  -webkit-appearance: none;
  appearance: none;
  padding: 10px 34px 10px 16px; /* 좌 52px → 16px (아이콘을 뺐으므로) */
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sc-black);
  cursor: pointer;
  outline: none; /* 포커스 표시는 위 :focus-within 링이 담당 */
}

/* ============================================================
   3. 카테고리 칩 줄 (.category-menu__slide)
   ------------------------------------------------------------
   찍는 곳: pages/DisplayCategoryList/menu/MenuGrid.jsx
            <nav class="category-menu"><ul class="category-menu__slide">
   (검색결과 화면에는 안 나온다 — DisplayCategoryList.jsx 가
    `shows={!keyword}` 로 걸어놨다. 카테고리 탐색 전용)

   패키지 기본값:
     .category-menu__slide{ background-color:#fafafa }        ← 하드코딩 회색 띠
     .category-menu__slide li{ padding:10px }                 ← 칩 사이 20px
     .category-menu__link{ padding:5px 10px 3px; font-size:13px }  ← 위아래 비대칭
     …__link.is-active{ border-radius:16px; color:#fff; background:#000 }

   ▸ 문제
     ① 회색 밴드가 통째로 깔려 흰 배경 위 카드 그리드와 단절된다.
     ② 비활성 칩에 면이 없어 '누를 수 있는 것'으로 안 읽힌다.
        프로토타입(list.html `.chip`)은 --off 면 + pill 이다.
     ③ 활성 칩이 검정. 프로토타입 두 벌이 서로 다른데
        (search.html=검정 / list.html=블루) **list.html 을 따른다** —
        이 화면이 곧 상품 목록이고, 스킨의 다른 '현재 상태' 표시가
        전부 --point-color 다(.pagination__btn.is-active, .tabs__item.on).
     ④ overflow-x:auto 인데 스크롤바가 보인다. .sc-gnb__inner 처럼 감춘다.
   ------------------------------------------------------------ */
.category-menu__slide {
  gap: 8px;
  padding: 14px 20px; /* 아래 그리드(.thumb-GALLERY padding:0 20px)와 좌우를 맞춘다 */
  background-color: var(--sc-white);
  scrollbar-width: none;
}

.category-menu__slide::-webkit-scrollbar {
  height: 0;
}

/* li 의 10px 패딩을 걷고 간격은 위 gap 이 담당한다 */
.category-menu__slide li {
  padding: 0;
}

.category-menu__slide .category-menu__link {
  padding: 9px 16px;
  border-radius: var(--sc-rpill);
  background-color: var(--sc-off);
  color: var(--sc-ink-3);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2; /* 칩 한 줄. 전역 아님 */
  white-space: nowrap;
  transition: background-color 0.15s var(--sc-ease), color 0.15s var(--sc-ease);
}

.category-menu__slide .category-menu__link:hover {
  background-color: var(--sc-off2);
  color: var(--sc-black);
}

.category-menu__slide .category-menu__link.is-active {
  border-radius: var(--sc-rpill); /* 패키지 16px → pill */
  background-color: var(--sc-blue);
  color: var(--sc-white);
}

/* ------------------------------------------------------------
   하위 카테고리 (.category-menu__list)
   패키지 기본값: 3열 그리드 + li 마다 `border-right:1px solid #f5f5f5`
   → 표(table)처럼 보이고 색이 하드코딩돼 있다.
   칸막이를 걷고 눌리는 링크로 바꾼다. 그리드 자체는 유지한다
   (flex 로 바꾸면 줄바꿈 규칙이 달라져 회귀 위험이 생긴다).
   ------------------------------------------------------------ */
.category-menu__list {
  gap: 4px 6px;
  padding: 0 20px 14px;
  border-bottom: 1px solid var(--sc-line);
}

.category-menu__list li {
  padding: 0;
  border-right: none; /* #f5f5f5 칸막이 제거 */
}

.category-menu__list .category-menu__link {
  padding: 9px 12px;
  border-radius: var(--sc-rs);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--sc-gray);
  transition: background-color 0.15s var(--sc-ease), color 0.15s var(--sc-ease);
}

.category-menu__list .category-menu__link:hover {
  background-color: var(--sc-off);
  color: var(--sc-black);
}

/* 데스크톱에서만 열 수를 늘린다.
   1200px 폭에서 3열은 한 칸이 400px — 짧은 카테고리명 하나에 과하다.
   ⚠️ 레이아웃 변경이므로 반드시 미디어쿼리 안. 모바일은 3열 그대로. */
@media (min-width: 1001px) {
  .category-menu__list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* ============================================================
   4. 카테고리 콜아웃 (.category-callout)
   ------------------------------------------------------------
   찍는 곳: pages/DisplayCategoryList/menu/MenuCallout.jsx
            브레드크럼의 체크박스를 켜면 열리는 2단 드롭다운

   ⚠️ overrides.css 가 이미 `.breadcrumb` 타이포와
      `.breadcrumb__section::after`(그라디언트 그림자)를 처리했다.
      여기서는 **콜아웃 패널만** 다룬다 — 중복 없음.

   패키지가 #fafafa / #f5f5f5 를 직접 박아놨다. 토큰으로 바꾸고
   모서리만 준다. height:60vh 와 2단 트릭(sub-nav 의 absolute 배치)은
   서로 물려 있어 건드리지 않는다.
   ============================================================ */
.category-callout {
  border-radius: 0 0 var(--sc-rl) var(--sc-rl);
}

.category-callout__btn,
.category-callout__link {
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.4;
}

.category-callout__btn {
  border-bottom: 1px solid var(--sc-line);
}

.category-callout .is-active .category-callout__btn {
  background-color: var(--sc-off);
  border-right-color: var(--sc-line);
}

.category-callout .is-active .category-callout__sub-nav {
  background-color: var(--sc-off);
  border-left: 1px solid var(--sc-line);
}

/* '현재 보고 있는 하위 카테고리'를 굵기만이 아니라 색으로도 표시한다 */
.category-callout__link.is-active {
  color: var(--sc-blue);
}

/* ============================================================
   5. 검색결과 없음 (.no-search)
   ------------------------------------------------------------
   찍는 곳: components/GalleryListPage/GalleryListPage.jsx — NoSearchProduct
     <div class="no-search">
       <h3 class="no-search__title">'키워드' 에 대한 검색결과가 없습니다.</h3>
       <Icon name="no-items" />            ← <span class="ico ico--no-items">
       <p class="no-search__description">…3줄…</p>
     </div>

   ⚠️ **display:flex 금지 대상.** 제목 / 아이콘 / 3줄 설명이 세로로
      쌓인 구조라 flex 를 걸면 한 행으로 눌려 겹친다(DESIGN.md 함정 노트).
      → 배경·모서리·여백 '면'만 준다. 내부 배치는 손대지 않는다.

   패키지 기본값의 실제 결함:
     ① `.no-search__title{line-height:1}` — 검색어가 길면 제목이 두 줄이
        되는데 line-height 1 이라 **글자가 서로 붙는다.**
        (common.css `body{font:14px/1}` 기준 조판이라 이런 곳이 생긴다)
     ② `.no-search__description{margin-bottom:150px}` — 150px 죽은 여백.
        아래에 아무것도 없어 페이지가 텅 빈 채로 끝난다.
     ③ `font-weight:300` — Pretendard 300 은 본문에서 흐릿하게 뜬다.
   ============================================================ */
.no-search {
  margin: 24px 20px 32px; /* 좌우 20px = 그리드 인셋과 정렬 */
  padding: 44px 24px;
  border-radius: var(--sc-rl);
  background-color: var(--sc-off);
}

.no-search__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45; /* 1 → 1.45. 두 줄로 넘어갈 때 겹치던 것을 푼다 */
  color: var(--sc-black);
}

.no-search .ico--no-items {
  margin: 24px auto; /* 40px → 24px */
  opacity: 0.5; /* 스프라이트 아이콘이 진해 제목보다 튄다 */
}

.no-search__description {
  margin-bottom: 0; /* 150px 죽은 여백 제거 */
  font-size: 14px;
  font-weight: 400; /* 300 → 400 */
  line-height: 1.7;
  color: var(--sc-gray);
}

/* ------------------------------------------------------------
   상품 없음 (.not-found-product) — 키워드 없이 들어온 빈 목록
   찍는 곳: 같은 파일 `<p class="not-found-product">상품이 존재하지 않습니다.</p>`

   패키지가 이미 `display:flex; min-height:415px` 로 가운데 정렬해 뒀다.
   내용이 **한 줄뿐**이라 겹칠 여지가 없으므로 그 flex 는 그대로 둔다.
   (새로 flex 를 거는 것이 아니다 — 금지 사항에 해당하지 않는다)
   415px 는 화면 절반을 빈 칸으로 만드므로 줄이고, 면을 준다.
   ------------------------------------------------------------ */
.not-found-product {
  min-height: 220px;
  margin: 24px 20px 32px;
  border-radius: var(--sc-rl);
  background-color: var(--sc-off);
  font-size: 14.5px;
  color: var(--sc-gray);
}

/* ============================================================
   6. 모바일 검색 시트 (.search-keyword-modal)
   ------------------------------------------------------------
   찍는 곳: components/SearchKeyword/SearchKeyword.jsx
   여는 곳: 주소 /search (pages/Search) — 모바일 헤더 검색 아이콘·마이앱 하단바
            (2026-10-10 전에는 하단 탭바 '검색'이 모달로 열었다)
   DOM   : <div class="dim"/><div class="modal title-modal--full search-keyword-modal">

   ⚠️ overrides.css 가 이미 `.text-field` 계열(면·모서리·포커스링)을
      처리했으므로 여기서 입력 필드는 다시 쓰지 않는다.
   ============================================================ */

/* 모바일 오버플로 — `.title-modal--full{min-width:375px}` 때문에
   360px 폭 단말에서 시트가 좌우로 15px 삐져나간다(.modal 은
   translate(-50%,-50%) 로 가운데 정렬이라 양쪽이 잘린다).
   데스크톱은 `.modal{width:500px}` 로 폭이 명시돼 있어 영향이 없다. */
.modal.search-keyword-modal {
  min-width: 0;
  max-width: 100%;
}

/* 상단 검색줄 — 패키지는 `border-bottom:2px solid var(--dark-gray-color)`,
   즉 2px 짙은 먹선이다. 스킨 어디에도 이런 굵은 구분선은 없다. */
.search-keyword-modal__top {
  height: 60px;
  margin: 0;
  padding: 0 12px;
  gap: 4px;
  border-bottom: 1px solid var(--sc-line);
}

/* ------------------------------------------------------------
   최근 검색어 (.recent-keyword)
   패키지 기본값:
     .recent-keyword{ min-height:418px; border:1px solid var(--default-color);
                      border-radius:5px }
     .search-keyword-modal .recent-keyword{ width:300px; margin:30px auto 80px }
     .recent-keyword__top button{ color:rgba(121,121,121,.5) }
     .recent-keyword__content-empty p{ color:var(--default-color) }

   ▸ 실제 결함
     ① `--default-color` 는 tokens.css 에서 --sc-line(#E7E7EA)로 매핑돼 있다.
        그 값이 **빈 문구의 글자색**이라 흰 배경 위에서 대비 ≈1.2:1 —
        "최근 검색어 내역이 없습니다." 가 사실상 안 보인다.
        (--default-color 자체는 '테두리색'이 원래 용도라 tokens 를 바꿀 순 없다.
         여기서 글자색만 바로잡는다)
     ② width:300px 고정 — 시트는 모바일 100% / 데스크톱 500px 인데
        내용만 300px 로 갇혀 좌우가 허전하다.
     ③ min-height:418px 테두리 상자 — 검색어가 하나도 없어도
        빈 사각형이 418px 버틴다.
   ------------------------------------------------------------ */
.recent-keyword {
  min-height: 0;
  padding: 0 4px 24px;
  border: none; /* 상자 테두리 제거 — 시트 안에서 이중 테두리로 보인다 */
  border-radius: var(--sc-rl);
}

.search-keyword-modal .recent-keyword {
  width: auto; /* 300px 고정 해제 */
  margin: 20px 16px 40px;
}

.recent-keyword__top {
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--sc-line);
}

.recent-keyword__top p {
  font-size: 13px;
  font-weight: 700;
  color: var(--sc-gray);
  letter-spacing: 0.01em;
}

.recent-keyword__top button {
  font-size: 12px;
  font-weight: 500;
  color: var(--sc-gray-2); /* rgba(121,121,121,.5) 저대비 → 토큰 */
}

.recent-keyword__top button:hover {
  color: var(--sc-black);
}

/* 검색어 한 줄. li 안에는 [키워드 버튼][삭제 IconBtn] 두 개가 있고
   IconBtn 은 className 을 안 받아 클래스가 비어 있다 →
   첫 번째 버튼(키워드)만 정확히 겨냥한다. */
.recent-keyword__item {
  margin-top: 4px;
}

.recent-keyword__item > button:first-child {
  padding: 10px 6px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--sc-black);
  text-align: left;
}

.recent-keyword__item > button:first-child:hover {
  color: var(--sc-blue);
}

/* 빈 상태 — 아이콘(::before) + 문구 구조라 여기도 flex 금지.
   여백만 줄이고 글자색을 읽히게 고친다. */
.recent-keyword__content-empty {
  padding: 56px 0 0; /* 112px → 56px */
}

.recent-keyword__content-empty p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sc-gray); /* #E7E7EA(거의 안 보임) → 본문 보조색 */
}

/* 모바일 정렬 드롭다운 누르는 높이 40px (디자이너 전달본 2026-10-14 "필터 칩 터치 40px 이상") */
@media (max-width: 1000px) {
  .total-sort .select-box {
    height: 40px;
  }
  .total-sort .select-box select {
    height: 100%;
  }
}

/* ============================================================
   4-1. 카테고리 콜아웃 → 작은 팝오버 (2026-11-13 사용자 제보 "이상하다, 타사 보고 수정")
   - 전: 화면 폭 전체 × 높이 60vh 의 2단 패널(왼쪽 흰 목록, 오른쪽 회색 하위 목록). 카테고리 2개·하위 없음이라
     화면 대부분이 빈 회색 면이었다.
   - 타사: 오늘의집·29CM 는 카테고리 이동을 왼쪽 세로 목록으로 두고 경로 줄은 글자만 둔다.
     큰 패널을 띄우는 곳은 없다.
   - 후: 경로 줄 바로 아래 폭 280px 팝오버, 세로 목록 1단. 현재 카테고리는 잉크색 굵게, 그 아래 하위('전체 보기' 등)를 들여 쓴다.
   ============================================================ */
:root .breadcrumb .category-callout {
  top: calc(100% + 4px);
  left: var(--sc-crumb-x, 20px);
  width: 280px;
  max-width: calc(100% - 40px);
  height: auto;
  max-height: min(60vh, 440px);
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--sc-line, #e7e7ea);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.08);
  z-index: 30;
}
:root .breadcrumb .category-callout__list {
  min-height: 0;
  margin: 0;
  padding: 0;
}
:root .breadcrumb .category-callout li,
:root .breadcrumb .category-callout .is-active {
  display: block;
}
:root .breadcrumb .category-callout__btn,
:root .breadcrumb .category-callout .is-active .category-callout__btn {
  position: static;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  color: var(--sc-ui-muted, #62626b);
  background: transparent;
  border: 0;
}
:root .breadcrumb .category-callout__btn:hover {
  background: var(--sc-off, #f5f5f6);
}
:root .breadcrumb .category-callout .is-active .category-callout__btn {
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
}
:root .breadcrumb .category-callout .is-active .category-callout__sub {
  display: block;
  flex: none;
}
:root .breadcrumb .category-callout .is-active .category-callout__sub-nav {
  position: static;
  width: auto;
  min-height: 0;
  padding: 0 0 4px;
  background: transparent;
  border: 0;
}
:root .breadcrumb .category-callout .is-active .category-callout__sub-nav::before {
  content: none;
}
:root .breadcrumb .category-callout__link {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 16px 0 28px;
  font-size: 14px;
  color: var(--sc-ui-muted, #62626b);
}
:root .breadcrumb .category-callout__link:hover {
  color: var(--sc-ui-ink, #242428);
}
:root .breadcrumb .category-callout__link.is-active {
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
}
/* 하위 링크가 다른 규칙(display:block)에 밀려 글자가 줄 위쪽에 붙었다 → 구체성 올려 가운데 정렬 */
:root .breadcrumb .category-callout .category-callout__sub-nav .category-callout__link {
  display: flex;
  align-items: center;
}

@charset 'utf-8';

/* ============================================================
   고객센터 · FAQ · 공지 — 패키지 오버라이드 제안
   ------------------------------------------------------------
   대상 라우트 : /customer-center · /faq · /notice
   대상 JSX    : src/pages/CustomerCenter · src/pages/FAQ ·
                src/pages/Notice · src/components/FAQList

   ★ 성격 — overrides.css 와 같은 레이어다(패키지 클래스 전용).
     **overrides.css 뒤에 실린다는 전제**로 썼다. 앞에 실으면
     `.faq-list__answer` 처럼 두 파일이 같은 클래스를 건드리는
     지점에서 결과가 뒤집힌다. 최종적으로는 overrides.css 에
     병합하는 걸 전제로 한다.

   ★ 규칙 (docs/DESIGN.md §2 오버라이드 3원칙)
     - `!important` 없음. 패키지 특이성이 낮아(단일 클래스 56%)
       뒤에 실은 시트가 그냥 이긴다.
     - 색 · 모서리 · 간격은 `--sc-*` 토큰만. 하드코딩 금지.
     - `line-height` 는 전역에 손대지 않는다. 이 페이지의 특정
       요소(답변 본문 · 공지 본문 · 버튼 줄높이)에만 국소로 준다.
     - 이미지에 `max-width` 를 걸지 않는다. 넘치는 본문은
       **컨테이너**에 `overflow-x` 를 줘서 가둔다.
     - 폭이 결정하는 **레이아웃** 규칙만 `@media (min-width:1001px)`.
       색 · 타이포처럼 폭과 무관한 브랜드 보정은 overrides.css 관행대로
       전 구간에 적용한다(패키지가 하드코딩한 색을 모바일에만 남겨둘
       이유가 없다).

   ★ 여기서 다루지 않는 것 — 이미 overrides.css 소유
     `.btn` 기본형 · `.text-field` 기본형 · `.empty-list` 면 ·
     `.modal__*` · `.pagination__*` · `.tabs`
     아래에서 이 클래스들이 등장하는 곳은 전부 **패키지가 더 깊은
     선택자로 덮어버려 overrides 가 먹지 않는 지점을 되살리는 것**이며,
     각 블록에 그 이유를 적어뒀다.
   ============================================================ */

/* ============================================================
   1. FAQ 아코디언 — /customer-center 와 /faq 가 공유
   ------------------------------------------------------------
   ⚠️ 클래스 이름 주의: overrides.css 의 `.faq-list__item` /
      `.faq-list__title` 은 **이 DOM 에 존재하지 않는다.**
      FAQList.jsx 가 실제로 뱉는 건
        li.faq-list__content-wrap
          > div.faq-list__content.faq-list__question
          > div.faq-list__content.faq-list__answer
      이다. 그래서 overrides 의 목록 스타일 중 `__item`/`__title`
      부분은 지금 아무 데도 적용되지 않고 있다. 여기서 실제
      클래스로 다시 건다.
   ============================================================ */

/* 마지막 항목의 밑줄 제거.
   패키지는 `.faq-list__content-wrap` 전부에 border-bottom 을 깔아서
   목록 끝에 선이 하나 떠 있다. 카드로 감쌀 때 특히 지저분하다.
   `.customer-center__faq li`(0,1,1) 보다 특이성이 높아야 해서
   `:last-child` 를 붙였다. */
.faq-list__content-wrap:last-child {
  border-bottom: none;
}

/* 데스크톱 커서 피드백.
   `.faq-list__content-wrap{cursor:pointer}` 는 있는데 hover 반응이
   전혀 없어서 '눌리는 줄'로 안 읽힌다. 면만 살짝 준다.
   비밀글(li 에 onClick 이 없다)은 제외 — 눌리는 것처럼 보이면 안 된다. */
.faq-list__question.sc-faq__question:hover .sc-faq__chevron {
  color: var(--sc-ui-ink);
}

/* 비밀글 줄은 패키지가 물려준 pointer 커서도 되돌린다 */
.faq-list__content-wrap:has(.ico--lock) {
  cursor: default;
}

.faq-list__question {
  transition: background-color 0.15s var(--sc-ease);
}

/* 질문 텍스트 — 프로토타입 .qbtn .qtxt (15px / 600).
   패키지는 크기 지정이 없어 body 14px 를 그대로 받는다.
   한글 줄바꿈은 프로토타입 body 의 word-break:keep-all 을 따른다
   (전역에 넣으면 패키지 조판을 건드리므로 이 요소에만). */
.faq-list__question p {
  font-size: 15px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 답변 블록 — 패키지에 `padding-bottom:52px` 이 박혀 있어
   모든 답변 아래에 52px 짜리 빈 공간이 생긴다.
   `.faq-list__content{padding:20px 26px 20px 10px}`(0,1,0) 와
   overrides 의 `.faq-list__answer`(0,1,0) 를 둘 다 이겨야 해서
   두 클래스를 겹쳐 0,2,0 으로 겨냥한다.
   (배경 · 모서리 · 글자색 · 줄높이는 overrides.css 소유 — 건드리지 않고
    여백만 잡는다. 답변이 살짝 들여쓰인 패널로 떨어지게.) */
.faq-list__content.faq-list__answer {
  margin: 0 10px 18px;
  padding: 18px 20px 20px;
}

/* 답변 안의 링크 — 패키지 `.editor a{color:#337ab7}` 부트스트랩
   파랑이 그대로 나온다. 브랜드 블루로. */
.faq-list__answer a {
  color: var(--sc-blue);
  text-decoration: underline;
}

/* Q · A 배지 — 프로토타입 .qmark (틴트 배경 + 브랜드 블루 글자).
   패키지는 sprite.png 를 잘라 쓰는 회색 아이콘이라 브랜드 색이 없다.
   `.ico{background-image:url(sprite.png)}` 를 끄고 문자로 대체한다.
   ⚠️ `.faq-list__question .ico--q`(0,2,0) 로 패키지의 sprite 크기
      지정과 같은 특이성을 맞춰야 이긴다.
   ⚠️ 잠금 아이콘(.ico--lock)은 그대로 둔다 — 의미가 있는 아이콘이다. */
.faq-list__question .ico--q,
.faq-list__answer .ico--a {
  width: 22px;
  height: 22px;
  background-image: none;
  background-color: var(--sc-tint);
  border-radius: var(--sc-rs);
  color: var(--sc-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 22px; /* 배지 한 글자 세로 정렬용 — 전역 아님 */
  text-align: center;
}

.faq-list__question .ico--q::before {
  content: 'Q';
}

.faq-list__answer .ico--a::before {
  content: 'A';
}

/* 펼침 화살표 — 패키지는 transform 만 바꿔서 딸깍 끊긴다.
   프로토타입 .chev 의 transition .25s 를 준다. */
.faq-list .arrow {
  transition: transform 0.25s var(--sc-ease);
}

/* 비밀글 줄 — `align-items:end` 라 자물쇠와 문구 밑선이 안 맞는다.
   읽을 수 없는 항목이므로 색도 낮춘다. */
.faq-list__question .ico--lock + p,
.notice__list-item--locked p {
  color: var(--sc-gray);
}

.notice__list-item--locked {
  align-items: center;
  font-size: 15px;
}

/* ------------------------------------------------------------
   데스크톱: 아코디언을 카드 한 장으로
   프로토타입 .faq — 흰 면 + 1px 라인 + 16px 모서리 + overflow:hidden.
   모바일은 Aurora 기본(가장자리까지 붙는 목록)을 그대로 둔다.
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  .faq-list {
    background-color: var(--sc-white);
    border: 1px solid var(--sc-line);
    border-radius: var(--sc-rl);
    overflow: hidden; /* 마지막 줄 hover 면이 모서리를 넘지 않게 */
  }
}

/* ============================================================
   2. /customer-center
   ------------------------------------------------------------
   ⚠️ BEM 함정: CustomerCenter.jsx 는
        className={`customer-center__faq${faqFlag}`}
      로 **base 클래스를 modifier 로 갈아끼운다.**
      → 비었을 때 요소의 클래스는 `customer-center__faq--empty`
        하나뿐이고 `.customer-center__faq` 는 붙지 않는다.
      그래서 base 만 겨냥한 규칙은 빈 상태에서 통째로 사라진다.
      아래는 세 상태를 전부 나열한다.
   ============================================================ */

/* 섹션 제목 — 패키지는 20px / weight 기본 / 가운데 정렬이라
   Aurora 모바일앱 말투다. 프로토타입 섹션 헤딩은 굵고 조인 자간.
   (정렬 · 여백은 폭 문제라 데스크톱 블록에서 다룬다) */
.customer-center__faq-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--sc-black);
}

/* '전체보기' — 패키지가 `opacity:.6` 을 걸어 비활성 링크처럼 보인다.
   실제 비활성은 `.go-to-list.go-to-list--disabled{opacity:.2}`(0,2,0)
   가 따로 있으므로, 여기서 0,1,0 으로 되돌려도 비활성 표현은 남는다. */
.go-to-list {
  opacity: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-black);
  transition: color 0.15s var(--sc-ease);
}

.go-to-list:hover {
  color: var(--sc-blue);
}

/* '1:1문의' — 이 페이지의 주요 동작인데 패키지 기본형(`.btn` =
   검정 1px 테두리 + 흰 면)이라 보조 버튼으로 읽힌다.
   overrides.css 의 '주요 동작 승격'(로그인 · 회원가입 · 비번찾기)과
   같은 규칙을 적용한다. 전용 클래스라 :first-of-type 함정은 없다.
   ※ 병합 시엔 overrides.css 의 그 셀렉터 목록에 한 줄 합치는 게 낫다. */
.customer-center__inquiry-button {
  background-color: var(--sc-blue);
  border-color: var(--sc-blue);
  color: var(--sc-white);
  font-weight: 700;
  border-radius: var(--sc-rm);
}

.customer-center__inquiry-button:hover {
  background-color: var(--sc-blue);
  filter: brightness(1.08);
}

/* 빈 상태의 회색 겹침.
   overrides.css 가 `.customer-center__faq--empty` 에 옅은 면을 주고,
   그 안의 `.empty-list` 에도 같은 면을 준다 → 회색 위 회색이라
   빈 상태 박스의 경계가 사라진다. 안쪽만 흰 면 + 라인으로 띄운다.
   (0,2,0 이라 overrides 의 0,1,0 그룹을 이긴다. display 는 건드리지
    않는다 — 빈 상태에 flex 를 걸면 아이콘과 여러 줄이 겹친다) */
.customer-center__faq--empty .empty-list {
  background-color: var(--sc-white);
  border: 1px solid var(--sc-line);
}

/* ------------------------------------------------------------
   데스크톱 (본문 폭 medium 860px)
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  /* 제목을 왼쪽으로. 모바일에선 좌우 패딩이 없어 글자가 화면 끝에
     붙으므로 정렬 변경은 데스크톱에서만 한다. */
  .customer-center__faq-title {
    text-align: left;
    font-size: 22px;
    line-height: 1.3;
    padding: 4px 0 18px;
    border-bottom: none; /* 아래 아코디언 카드가 이미 경계를 만든다 */
  }

  /* 세 상태 전부 — §2 머리말의 BEM 함정 참고 */
  .customer-center__faq,
  .customer-center__faq--empty,
  .customer-center__faq--not-used {
    padding: 8px 0 0;
  }

  .customer-center__inquiry {
    padding: 20px 0 0;
  }
}

/* ============================================================
   3. /faq
   ============================================================ */

/* 검색 줄.
   패키지: `background-color:#f4f6f8` 하드코딩 + 30px 높이 입력칸.
   프로토타입(.hsearch)은 흰 히어로 위의 큼직한 검색 필드다.
   높이는 터치 타깃 최소치(44px)도 못 채우고 있어 같이 올린다. */
.faq__search {
  background-color: var(--sc-white);
  align-items: center;
}

/* ⚠️ 특이성 복구 —
   overrides.css 의 `.text-field{border-radius:var(--sc-rm)}` 는 0,1,0,
   패키지의 `.faq__search .text-field{border-radius:4px}` 는 0,2,0 이라
   **이 페이지의 검색창만 4px 각진 채로 남아 있다.** 같은 값을 같은
   특이성으로 다시 걸어 사이트 전체와 모서리를 맞춘다. */
.faq__search .text-field {
  border-radius: var(--sc-rm);
}

/* 같은 이유. 패키지 `.faq__search .text-field input{background:#fff}`
   가 overrides 의 `.text-field input{background:transparent}` 를
   이겨서, 회색 필드 안에 흰 입력칸이 겹쳐 보인다. */
.faq__search .text-field input {
  background-color: transparent;
  height: 46px;
  padding: 0 14px;
  font-size: 14.5px;
}

/* 검색 버튼 — 패키지가 `width:60px` 로 못박아 '검색' 두 글자가 낀다.
   높이는 입력칸과 맞춘다. (line-height 로 세로 정렬 — 패키지가
   `.customer-center__inquiry-button` 에서 쓰는 것과 같은 방식) */
.faq__search .btn {
  width: auto;
  flex: none;
  min-width: 88px;
  height: auto;
  padding: 0 20px;
  line-height: 46px;
}

/* ------------------------------------------------------------
   데스크톱
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  .faq__search {
    padding: 8px 0 20px;
  }

  /* 아코디언이 카드가 되므로 패키지의 얇은 윗줄은 중복이다.
     `.faq .faq-list`(0,2,0) 를 같은 특이성으로 겨냥해야 이긴다. */
  .faq .faq-list {
    margin-top: 0;
    border-top: none;
  }
}

/* ============================================================
   4. /notice — 목록
   ============================================================ */

/* 페이지 머리 — 패키지: `background-color:#eff1f5` 하드코딩된
   차가운 청회색 띠. 프로토타입 히어로는 흰 면 + 아래 라인이다. */
.notice__title {
  background-color: var(--sc-white);
  border-bottom: 1px solid var(--sc-line);
}

.notice__title p {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--sc-black);
  word-break: keep-all;
}

/* 목록 행 — `all:unset` 리셋 때문에 <button> 의 기본 커서까지 사라져
   데스크톱에서 클릭 가능한 줄인지 알 수 없다. */
.notice__list-button {
  cursor: pointer;
  text-align: left;
}

.notice__list li {
  transition: background-color 0.15s var(--sc-ease);
}

/* 비밀글은 눌리지 않으므로 hover 대상에서 뺀다 */
.notice__list li:not(.notice__list-item--locked):hover {
  background-color: var(--sc-off);
}

.notice__list li:last-child {
  border-bottom: none;
}

/* '[공지]' 플래그 — 패키지는 `color:#3f444c` 하드코딩이라 날짜와
   구분이 안 된다. 상세 모달은 이미 브랜드 컬러를 쓰므로
   (`.notice-detail__title span{color:var(--point-color)}`) 목록도 맞춘다. */
.notice__category-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--sc-blue);
}

.notice__date {
  font-size: 12.5px;
  color: var(--sc-gray);
}

.notice__tit {
  font-weight: 600;
  color: var(--sc-black);
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ------------------------------------------------------------
   데스크톱
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  /* 80px 고정 높이 가운데 정렬 → 왼쪽 정렬 페이지 헤딩으로.
     모바일은 좌우 패딩이 없어 글자가 끝에 붙으므로 건드리지 않는다. */
  .notice__title {
    height: auto;
    justify-content: flex-start;
    padding: 4px 0 20px;
  }

  .notice__title p {
    justify-content: flex-start;
    font-size: 24px;
  }

  /* 목록도 카드 한 장 (프로토타입 .faq 와 같은 면) */
  .notice__list {
    background-color: var(--sc-white);
    border: 1px solid var(--sc-line);
    border-radius: var(--sc-rl);
    overflow: hidden;
  }
}

/* ============================================================
   5. /notice — 상세 (FullModal)
   ------------------------------------------------------------
   ⚠️ `.title-modal--full` 은 사이트 전체가 공유하는 컴포넌트다.
      여기서 전역으로 넓히면 다른 페이지의 전체화면 모달까지 바뀐다.
      그래서 공지 상세에만 있는 자식(`.notice-detail__title-box`)으로
      범위를 좁힌다. `:has()` 는 인자의 특이성을 따라가므로
      `.title-modal--full:has(...)` 는 0,2,0 → 패키지 0,1,0 을 이긴다.
   ============================================================ */

/* 제목 — 패키지 weight 500. 프로토타입 문서 제목은 굵고 자간이 좁다. */
.notice-detail__title {
  font-weight: 700;
  letter-spacing: -0.03em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 본문.
   - `min-height:54%` 는 부모 높이에 딸린 값이라 짧은 공지에도
     화면 절반을 비워둔다.
   - 에디터로 넣은 넓은 표 · 이미지가 모달 폭을 밀어낸다.
     ⚠️ <img> 에 max-width 를 걸면 안 되므로(DESIGN.md 함정 노트)
        **컨테이너**에 가로 스크롤을 줘서 가둔다.
   - 읽는 글이므로 이 블록에만 줄높이를 준다(전역 아님). */
.notice-detail__content {
  min-height: 0;
  overflow-x: auto;
  line-height: 1.7;
  color: var(--sc-ink-3);
}

.notice-detail__content a {
  color: var(--sc-blue);
  text-decoration: underline;
}

/* 이전글 · 다음글 — 역시 `all:unset` 으로 커서가 없다.
   '다음글/이전글' 플래그와 제목이 같은 회색이라 위계도 없다. */
.notice-detail__index {
  cursor: pointer;
  transition: background-color 0.15s var(--sc-ease);
}

.notice-detail__index:hover {
  background-color: var(--sc-off);
}

.notice-detail__index-text-flag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sc-gray);
}

.notice-detail__index-title {
  font-weight: 600;
  color: var(--sc-black);
}

/* 헤더 구분선이 `var(--black-color)` 라 검은 줄이 그어진다.
   공지 상세 모달에서만 브랜드 라인으로 낮춘다. */
.title-modal--full:has(.notice-detail__title-box) .title-modal__header {
  border-bottom-color: var(--sc-line);
}

/* ------------------------------------------------------------
   데스크톱: 375px 고정 폭 해제
   패키지가 `.title-modal--full{max-width:375px;min-width:375px}` 로
   못박아, 1200px 화면에서도 공지 본문이 휴대폰 폭 한 줄로 나온다.
   본문 가독폭(§3 medium 860px)에 준하는 폭으로 넓힌다.
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  .title-modal--full:has(.notice-detail__title-box) {
    max-width: 720px;
    min-width: 0;
  }

  /* 짧은 공지에도 100dvh 를 차지하던 것을 내용 높이에 맞춘다.
     넘치면 패키지가 이미 걸어둔 overflow-y:auto 가 받는다. */
  .title-modal--full:has(.notice-detail__title-box) .title-modal__content {
    min-width: 0;
    height: auto;
    max-height: calc(100dvh - 160px);
  }

  .notice-detail__title-box,
  .notice-detail__content {
    padding-left: 28px;
    padding-right: 28px;
  }

  .notice-detail__title {
    font-size: 22px;
  }
}

/* 고객센터 행동 버튼: 문의 래퍼에만 있던 20px 중복 패딩을 제거한다. */
.customer-center .sc-support-actions .customer-center__inquiry {
  padding: 0;
}
.customer-center .sc-support-actions .go-to-list,
.customer-center .sc-support-actions .customer-center__inquiry-button {
  width: 100%;
}
@media (max-width: 1000px) {
  /* FAQ 제목·목록의 선만 전폭. 질문은 공유 FAQ의 안쪽 여백을 사용한다. */
  .customer-center .sc-support-faq {
    padding: 20px 0;
  }
  /* 두 버튼은 같은 래퍼 하나에서 좌우 여백을 공유한다. */
  .customer-center .sc-support-actions {
    padding: 0 20px;
  }
}

/* 사용자 선택 01안: 외곽 테두리 대신 옅은 보조 면과 주요 채움으로 구분한다. */
.customer-center .sc-support-actions .go-to-list,
.customer-center .sc-support-actions .customer-center__inquiry-button {
  min-height: 48px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--sc-rm);
  box-shadow: none;
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-label-line);
  font-weight: 600;
  transition: background-color .15s var(--sc-ease), color .15s var(--sc-ease);
}
.customer-center .sc-support-actions .go-to-list {
  background: var(--sc-off);
  color: var(--sc-ui-ink);
}
.customer-center .sc-support-actions .go-to-list:hover:not(:disabled) {
  background: var(--sc-off2);
  color: var(--sc-ui-ink);
}
.customer-center .sc-support-actions .customer-center__inquiry-button {
  background: var(--sc-ui-primary);
  color: var(--sc-ui-on-primary);
}
.customer-center .sc-support-actions .customer-center__inquiry-button:hover:not(:disabled) {
  background: var(--sc-ink-3);
  filter: none;
}
.customer-center .sc-support-actions .go-to-list:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.customer-center .sc-support-actions .go-to-list:focus-visible,
.customer-center .sc-support-actions .customer-center__inquiry-button:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 3px;
}

/* 문의·이용안내 읽기 흐름: 제목·섹션·카드·버튼의 바깥 기준선을 통일한다. */
.customer-center .customer-center__faq-title {
  margin: 0;
  padding: 0 20px 16px;
  font: 600 20px/28px var(--sc-font);
  letter-spacing: -.02em;
  text-align: left;
}
.customer-center .sc-faq__question-copy {
  gap: 6px;
}
.customer-center .sc-faq__category {
  font-size: 13px;
  line-height: 20px;
}
.customer-center .sc-faq__question-text {
  font-size: var(--sc-ui-body-size);
  line-height: var(--sc-ui-body-line);
}
@media (min-width: 1001px) {
  /* PageHead의 좌우 20px와 같은 기준. 모바일의 전폭 선은 건드리지 않는다. */
  .customer-center {
    padding-left: 20px;
    padding-right: 20px;
  }
  .customer-center .sc-support-faq {
    padding-top: 16px;
  }
  .customer-center .customer-center__faq-title {
    padding-left: 0;
    padding-right: 0;
  }
}

/* 문의·이용안내 버튼 모서리 12px → 다른 버튼과 같은 8px */
.sc-support-actions .btn,
.customer-center__inquiry .btn,
.customer-center__inquiry-button {
  border-radius: var(--sc-ui-field-radius, 8px);
}
:root .sc-support-actions .btn.go-to-list,
:root .customer-center__inquiry .btn.customer-center__inquiry-button {
  border-radius: var(--sc-ui-field-radius, 8px);
}

/* 공지사항 (2026-11-10)
   - 날짜가 제목 위 오른쪽 끝에 따로 떠 있어 눈이 제목→날짜→제목으로 오갔다
     → 제목 먼저, 날짜는 제목 아래 왼쪽 회색 작은 글자 (다른 목록과 같은 읽는 순서)
   - 모바일 '선데이클럽에서 알려드립니다.' 가운데 큰 제목은 바로 위 헤더 '공지사항'과 겹치고
     다른 화면엔 없는 가운데 정렬이라 숨김 */
.notice .notice__list-button {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
}
.notice .notice__list-button > div {
  justify-content: flex-start;
}
.notice .notice__list-button .notice__date {
  font-size: 13px;
  color: var(--sc-gray);
}
/* PC 에서도 페이지 제목 '공지사항' 바로 아래 같은 크기로 겹쳐 나오고 시작선도 20px 어긋나 숨김 */
.notice .notice__title {
  display: none;
}


/* v0.5.6 — FAQ 시작선: 모바일 검색칸이 좌우 10px 라 아래 목록(20px)·다른 화면과 어긋났다 → 20px.
   PC 는 페이지 제목이 안쪽 20px 라 검색칸·목록보다 들어가 있었다 → 제목을 같은 시작선으로. */
.faq > .faq__search {
  padding-left: var(--sc-gut);
  padding-right: var(--sc-gut);
}
@media (min-width: 1001px) {
  .faq > .faq__search {
    padding-left: 0;
    padding-right: 0;
  }
  .l-content:has(> .faq) > .sc-pagehead {
    padding-left: 0;
    padding-right: 0;
  }
}

/* 공지 상세(v0.6.8): '목록 보기' 버튼이 창 좌우 끝까지 붙어 잘려 보였다 → 좌우 20px 안쪽, 회색 면 48px
   '교환과 환불 정책' 링크가 방문 후 보라색으로 바뀌던 것 → 잉크색 밑줄 */
.notice-detail ~ .go-to-list,
.notice-detail .go-to-list,
.title-modal .go-to-list,
.full-modal .go-to-list {
  width: calc(100% - 2 * var(--sc-gut));
  height: 48px;
  margin: 16px var(--sc-gut) 24px;
  border: 0;
  border-radius: var(--sc-ui-radius);
  background: var(--sc-off);
}
.sc-notice-policy-ref a,
.sc-notice-policy-ref a:visited {
  color: var(--sc-ui-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@charset 'utf-8';

/* ============================================================
   선데이클럽 — 비회원 주문조회 · 주문완료/결제실패
   ------------------------------------------------------------
   담당 라우트
     /pages/order/guest-order.html   src/pages/GuestOrder/
     /order/confirm                  src/pages/OrderConfirm/
                                     (성공 = OrderSuccess, 실패 = OrderFail)

   성격: overrides.css 와 같은 계층이다. 즉 **@shopby 패키지 클래스를
        직접 겨냥한다.** 대신 블록마다 "왜 그 클래스인지"를 남긴다.
        `sc-` 클래스(후원 히어로 카드 .sc-dona--hero 등)는 components.css
        소유이므로 여기서는 손대지 않는다 — 후원 카드는 마이페이지와
        공유하는 컴포넌트라 여기서 덮으면 남의 화면이 같이 움직인다.

   지킨 것
   - `!important` 0개. 패키지 CSS 는 선택자 56%가 단일 클래스라
     뒤에 실린 이 시트가 그냥 이긴다(docs/DESIGN.md §0).
   - 색·모서리는 전부 --sc-* 토큰.
   - 배치를 바꾸는 규칙은 @media (min-width: 1001px) 안에만 둔다.
     1000px 이하는 Aurora 기본 배치를 그대로 둔다.
   - line-height 를 전역으로 건드리지 않는다. 대신 §B-0 함정 때문에
     글자를 키운 규칙 안에서는 line-height 를 반드시 같이 준다.

   검증하지 못한 것
   - 주문완료/결제실패 화면은 실결제가 있어야 렌더된다(docs/DESIGN.md §9).
     브라우저 없이 JSX + 패키지 CSS 실측만으로 작성했다.
   ============================================================ */

/* ============================================================
   A. 비회원 주문조회 — /pages/order/guest-order.html
   ------------------------------------------------------------
   ★ 선택자 주의 — `.guest-order` 는 두 화면에 나온다.

     ① 이 전용 페이지 (GuestOrderForm.jsx)
        section.sign-in > div.guest-order        ← .sign-in 의 유일한 자식
     ② 로그인 페이지 하단 (SignIn/SignInForm.jsx:234)
        section.sign-in > div.normal-sign-in
                        + div.sign-in-link
                        + div.guest-order (+ p.guest-order__title)

     ②는 로그인 화면의 **보조 동작**이다. 여기를 강조하면 로그인 버튼과
     경쟁해 위계가 무너진다 — overrides.css 의 "페이지당 하나만 /
     비회원 주문조회처럼 보조 동작은 제외" 주석이 지목한 케이스가 이것이다.

     그래서 `:only-child` 로 ①만 고른다. ②는 형제(.normal-sign-in 등)가
     있어 절대 매칭되지 않는다. 클래스 이름이 같아도 화면은 분리된다.
   ============================================================ */

/* ------------------------------------------------------------
   A-1. 유일한 동작인 '조회하기'를 주요 버튼으로 승격

   왜: 패키지 Button 은 기본 theme 이 'default' 라 `btn btn--default`
       (흰 배경 + 테두리)로 렌더된다. 이 페이지에는 버튼이 하나뿐인데
       그게 보조 버튼 모양이라, 로그인/아이디찾기 등 다른 인증 화면
       (overrides.css 에서 이미 파랑으로 승격됨)과 인상이 어긋난다.
   ------------------------------------------------------------ */
.sign-in > .guest-order:only-child .btn {
  height: 52px; /* 패키지 `.guest-order button{height:44px}` 를 프로토타입 .btn--lg 높이로 */
  margin-top: 22px; /* 입력 필드와 붙어 있던 10px → 동작 단위로 분리 */
  background-color: var(--sc-blue);
  border-color: var(--sc-blue);
  color: var(--sc-white);
  font-size: 16px;
}

.sign-in > .guest-order:only-child .btn:hover {
  filter: brightness(1.08); /* overrides.css 의 .btn--caution:hover 와 같은 감각 */
}

/* 패키지 .btn 에는 포커스 표시가 없다. 키보드 사용자에게 필요하다. */
.sign-in > .guest-order:only-child .btn:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}

/* ------------------------------------------------------------
   A-2. 입력 필드 치수

   왜: 패키지가 `.guest-order__input-wrap{height:46px;margin-top:10px}`
       로 못박아 뒀고 `.text-field` 는 `height:inherit` 라 그 값을 따른다.
       46px + 10px 간격은 프로토타입(auth.html .field: 48px 높이, 15px 간격,
       좌우 15px 여백)보다 촘촘해 답답하다.
       모서리·배경·포커스 링은 overrides.css 가 이미 처리했으므로
       **치수만** 손댄다(중복 금지).
   ------------------------------------------------------------ */
.sign-in > .guest-order:only-child .guest-order__input-wrap {
  height: 48px;
  margin-top: 14px;
}

/* 첫 필드는 위 여백을 컨테이너가 갖는다 (이 페이지엔 .guest-order__title 이 없다) */
.sign-in > .guest-order:only-child .guest-order__input-wrap:first-child {
  margin-top: 0;
}

/* 패키지 `.text-field input{padding:5px 10px}` — 둥근 필드에는 좌우 여백이 얕다.
   전역 `.text-field input` 은 로그인·회원가입과 공유하는 영역이라 건드리지 않고
   이 페이지 안에서만 조정한다. */
.sign-in > .guest-order:only-child .text-field input {
  padding: 0 15px;
  font-size: 14.5px;
}

.sign-in > .guest-order:only-child .text-field input::placeholder {
  color: var(--sc-gray-2);
}

/* ------------------------------------------------------------
   A-3. 데스크톱에서 폼에 '면'을 준다

   왜: 이 라우트는 constants/layout.js 에서 NARROW(560px)다. 그런데
       흰 배경 위에 입력 두 칸이 테두리 없이 떠 있어 어디까지가 폼인지
       읽히지 않는다. 프로토타입 auth.html 은 420px 카드
       (1px --line 테두리 + --rl 모서리 + 30/28px 패딩)를 쓴다.
       모바일은 Aurora 기본(전폭)을 그대로 둔다.
   ------------------------------------------------------------ */
@media (min-width: 1001px) {
  .sign-in > .guest-order:only-child {
    max-width: 420px;
    margin: 8px auto 0; /* 패키지 .guest-order{margin-top:40px} 를 대체 */
    padding: 30px 28px 26px;
    border: 1px solid var(--sc-line);
    border-radius: var(--sc-rl);
  }
}

/* ============================================================
   B. 주문완료 / 결제실패 — /order/confirm
   ============================================================ */

/* ------------------------------------------------------------
   B-0. ⚠️ 이 페이지의 함정 — `.order-confirm{line-height:1.5em}`

   패키지가 페이지 루트에 **단위 있는** 1.5em 을 걸어놨다.
   em 단위 line-height 는 '계산된 px'(14 × 1.5 = 21px)이 그대로 상속된다.
   → 자식이 글자를 키워도 줄간격은 21px 로 고정돼 **글줄이 겹친다.**

   그래서 아래에서 font-size 를 올리는 규칙은 전부 line-height 를 함께 준다.
   (전역 line-height 를 고치는 방법은 금지 — 패키지 전체가 line-height:1
    기준 조판이다. docs/DESIGN.md 함정 노트)
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   B-1. 완료 아이콘을 브랜드 배지 안에 넣는다

   왜: OrderSuccess.jsx 는 `<Icon name="delivery" />` 를 쓰고, 패키지가
       `.order-confirm__hero .ico--delivery` 를 114.67×82px 스프라이트로
       키워 놨다. 큰 컬러 일러스트가 흰 바탕에 홀로 떠 있어 프로토타입
       complete.html 의 .checkwrap(88px --tint 원 + 얇은 링)과 인상이 다르다.
       스프라이트 자체는 JSX 를 고쳐야 바꿀 수 있으므로(원칙 ③),
       여기서는 **원형 tint 배지 안에 넣고 크기만 줄인다.**

   ※ 스프라이트는 <img> 가 아니라 background 라서 width/height 로 줄인다.
     ("이미지에 max-width 금지" 함정은 swiper 안의 <img> 얘기다)
     비율 유지: 패키지 값 × 0.6279 (114.67→72, 82→51.49, 608→381.77 …)
   ------------------------------------------------------------ */
.order-confirm__hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 104px;
  height: 104px;
  margin-bottom: 14px;
  border-radius: var(--sc-rpill); /* 정사각형이라 알약 토큰이 곧 원이 된다 */
  background-color: var(--sc-tint);
}

/* 프로토타입 .checkwrap::after 의 바깥 링 */
.order-confirm__hero::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: var(--sc-rpill);
  border: 1.5px solid var(--sc-tint);
}

.order-confirm__hero .ico--delivery {
  width: 72px;
  height: 51.49px;
  background-size: 381.77px 210.56px;
}

/* ------------------------------------------------------------
   B-2. 완료 메시지 — 위계를 만든다

   왜: 지금은 "주문이 정상적으로 완료되었습니다."가 본문과 같은 굵기의
       16.8px(1.2em)이라 이 페이지의 결론이 무엇인지 눈에 안 들어온다.
       프로토타입은 28px/800 제목 + 15px 보조문 + 알약 메타다.

   ★ `p:not(.order-confirm__message)` 인 이유:
     결제실패 화면(OrderFail.jsx:49)은 <p> 에도 같은 클래스를 달아
     `section.order-confirm__message > p.order-confirm__message` 구조가 된다.
     그 <p> 까지 28px 로 키우면 오류 문구가 과하게 커진다 → 제외하고
     B-3 에서 따로 다룬다.
   ------------------------------------------------------------ */
.order-confirm .order-confirm__message {
  text-align: center; /* flex 로 박스만 가운데였고 글줄은 왼쪽 정렬이었다 */
}

.order-confirm__message > p:not(.order-confirm__message):first-of-type {
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25; /* ← B-0. 안 주면 21px 로 고정돼 글줄이 겹친다 */
  color: var(--sc-black);
}

/* 보조 문구: 12px + --gray-color(#a1a1aa) 는 흰 배경에서 대비가 3:1 미만이라
   본문으로 읽히지 않는다. 프로토타입 .hero .sub(15px / --gray) 기준으로. */
.order-confirm .order-confirm__sub-message {
  max-width: 30em;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sc-gray);
}

/* 주문번호 알약 — 프로토타입 .ordmeta 의 치수로 */
.order-confirm .order-confirm__order-no {
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: var(--sc-rpill);
  background-color: var(--sc-off);
  font-size: 13px;
  color: var(--sc-gray);
}

.order-confirm .order-confirm__order-no .bold {
  color: var(--sc-black); /* 패키지는 --blue-gray-color 라 번호가 흐리다 */
  font-weight: 700;
}

/* ------------------------------------------------------------
   B-3. 결제실패 화면 정리

   왜 ①: OrderFail.jsx 가 <p> 에 section 과 **같은 클래스**를 달아서
        `.order-confirm__message{display:flex;padding:40px 20px;font-size:1.2em}`
        가 <p> 에도 걸린다. → 40px 패딩이 이중으로, 1.2em 이 1.44em 으로
        중첩된다. <p> 를 문단으로 되돌린다.
   왜 ②: `.order-confirm__sub-message--fail{padding:30px;line-height:30px}` 은
        여백만 크고 면이 없어 안내문이 허공에 뜬다. 옅은 면을 준다.
   ------------------------------------------------------------ */
p.order-confirm__message {
  display: block;
  padding: 0;
  font-size: 20px; /* 1.2em × 1.2em 중첩을 끊는다 */
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4; /* ← B-0 */
  color: var(--sc-black);
}

.order-confirm .order-confirm__sub-message--fail {
  align-self: stretch; /* 부모가 column flex + align-items:center 라 폭이 줄어든다 */
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: var(--sc-rm);
  background-color: var(--sc-off);
  font-size: 14.5px;
  line-height: 1.7; /* 패키지의 line-height:30px 은 16px 글자에 과하다 */
  color: var(--sc-ink-3);
  text-align: left;
}

/* ------------------------------------------------------------
   B-4. 패널(면) — Aurora 의 회색 그림자 띠를 걷어낸다

   왜: `.l-panel` 은 `box-shadow:0 10px 1px #f5f5f5` 로 패널 아래
       10px 회색 띠를 깔아 구획을 만든다(모바일 퍼스트 시절 장치).
       overrides.css 가 데스크톱에서 모서리를 16px 둥글리는데, 이 그림자는
       사각형 그대로라 둥근 모서리 밖으로 삐져나온다. 게다가 border-width 가
       `1px 0`(위아래만)이라 둥근 모서리에 테두리가 끊겨 보인다.
       프로토타입은 회색 띠 대신 **테두리 있는 카드**다.

   ※ `.l-panel` 은 전역 클래스라 `.order-confirm` 안으로 한정한다.
     전역 수정은 overrides.css 주인의 판단 영역이다.
   ------------------------------------------------------------ */
.order-confirm .l-panel {
  box-shadow: none;
  border-color: var(--sc-line); /* --light-gray-border-color(#eeeff1)는 그림자 없이는 너무 옅다 */
}

/* 완료 히어로는 카드가 아니라 페이지의 첫 문장이다 — 테두리를 뗀다 */
.order-confirm .order-confirm__message {
  border: 0;
  padding: 40px 20px 12px;
}

@media (min-width: 1001px) {
  /* 데스크톱에서만 사방 테두리 카드로 (모서리는 overrides.css 의
     `.l-panel{border-radius}` 가 이미 준다 — 여기서 다시 쓰지 않는다) */
  .order-confirm .l-panel {
    border-width: 1px;
    margin-bottom: 16px;
  }

  .order-confirm .order-confirm__message {
    padding-top: 48px;
    margin-bottom: 4px;
  }
}

/* ------------------------------------------------------------
   B-5. 섹션 제목 — 카드 헤더로 읽히게

   왜: `.accordion__title`(주문내역·주문자 정보·배송지)과
       `.order-detail-info__item-title`(결제정보)이 16px 보통 굵기라
       본문과 구분되지 않는다. 프로토타입 .order h2 는 15px/800 이다.
   ------------------------------------------------------------ */
.order-confirm .accordion__title,
.order-confirm .order-detail-info__item-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sc-black);
}

/* 주문내역 헤더 우측의 '3개 | 78,000원' */
.order-confirm .order-confirm__product-table-amt {
  font-size: 13px;
  color: var(--sc-gray);
}

/* ------------------------------------------------------------
   B-6. 결제 금액 상자

   왜: `.price-tag{border:1px solid var(--point-color)}` — 브랜드 파랑
       테두리 상자다. 바로 위에 파랑으로 가득 찬 후원 히어로 카드가 있어
       파랑이 두 번 나오고, 어느 쪽이 이 화면의 강조인지 흐려진다.
       프로토타입 .osum 은 옅은 회색 면이고, 강조는 총 결제금액 숫자
       하나(22px/800 검정)로 몰아준다.
   ------------------------------------------------------------ */
.order-confirm .price-tag {
  border-color: var(--sc-line);
  border-radius: var(--sc-rm);
  background-color: var(--sc-off);
}

.order-confirm .price-tag__division {
  border-top-color: var(--sc-line-2); /* --sc-line 은 --sc-off 면 위에서 안 보인다 */
}

/* 합계 항목 라벨이 --gray-color(#a1a1aa) 라 흰 면에서도 대비가 부족하다 */
.order-confirm .price-tag__details dt,
.order-confirm .price-tag__details dd {
  color: var(--sc-gray);
}

.order-confirm .price-tag__final-amount dt {
  font-size: 15px;
  color: var(--sc-black);
}

.order-confirm .price-tag__final-amount dd em {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2; /* ← B-0 */
  color: var(--sc-black); /* 파랑(--point-color)은 후원 카드에 양보한다 */
}

/* ------------------------------------------------------------
   B-7. 정보 목록 라벨 대비
   왜: `.order-detail-info dl dt{color:var(--gray-color)}` → #a1a1aa.
       '주문자 명 / 이메일 / 받는 사람' 같은 라벨이 배경에 묻힌다.
   ------------------------------------------------------------ */
.order-confirm .order-detail-info dl:not(.price-tag__final-amount) dt {
  color: var(--sc-gray);
}

/* ------------------------------------------------------------
   B-8. 영수증·계좌복사 버튼
   왜: `.order-detail__list-btn-wrap .btn`, `.order-detail-info__copy-btn`
       이 `border-radius:0` 으로 각져 있어 overrides.css 의 둥근 .btn 과
       같은 화면에서 두 가지 버튼 언어가 섞인다.
   ------------------------------------------------------------ */
.order-confirm .order-detail__list-btn-wrap .btn,
.order-confirm .order-detail-info__btn-wrap .btn,
.order-confirm .order-detail-info__copy-btn {
  border-radius: var(--sc-rs);
  border-color: var(--sc-line);
}

.order-confirm .order-detail__list-btn-wrap .btn:hover,
.order-confirm .order-detail-info__btn-wrap .btn:hover,
.order-confirm .order-detail-info__copy-btn:hover {
  background-color: var(--sc-off);
}

/* ------------------------------------------------------------
   B-9. 하단 버튼 줄

   왜: `.order-confirm__btn-group .btn{border-radius:0}` 은 특이성(0,2,0)이
       overrides.css 의 `.btn{border-radius:var(--sc-rm)}`(0,1,0)보다 높아
       **이 페이지에서만 버튼이 각진다.** 같은 특이성으로 되돌린다.
       (`!important` 불필요 — 우리 시트가 뒤에 실린다)
       gap 6px 도 두 버튼이 붙어 보여 프로토타입 .acts(12px)로 벌린다.
   ------------------------------------------------------------ */
.order-confirm__btn-group {
  gap: 12px;
  padding: 24px 20px 8px;
}

.order-confirm__btn-group .btn {
  height: 52px;
  border-radius: var(--sc-rm);
  font-size: 16px;
}

.order-confirm__btn-group .btn:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}

/* 채워진 버튼 두 종(완료: 계속 쇼핑하기 / 실패: 홈으로 가기)에 hover 반응 */
.order-confirm__continue-btn:hover {
  filter: brightness(1.08);
}

.order-confirm__go-home-btn:hover {
  filter: brightness(1.35); /* --blue-gray-color 는 어두워 1.08 로는 변화가 안 보인다 */
}

@media (min-width: 1001px) {
  /* 이 라우트는 아직 WIDE(1200px)라 버튼 하나가 590px 까지 늘어난다.
     페이지 폭 자체는 CSS 가 정하면 안 되므로(docs/DESIGN.md §3)
     여기서는 '버튼 줄'만 사람이 누르기 좋은 폭으로 묶는다.
     폭의 진짜 해법은 src/constants/layout.js 에 `'order/confirm': MEDIUM` 한 줄. */
  .order-confirm__btn-group {
    max-width: 520px;
    margin: 0 auto;
    padding: 28px 0 12px;
  }
}

@charset 'utf-8';

/* ============================================================
   마이페이지 목록 — 오버라이드
   라우트: /my-page/like · /my-page/product-review · /my-page/product-inquiry
           /my-page/personal-inquiry · /orders · /claims
   ------------------------------------------------------------
   이 파일은 overrides.css 성격이다. @shopby 패키지 클래스를 직접
   겨냥하며, 규칙마다 "왜 그 클래스인지" 주석을 남긴다.
   ============================================================ */

/* ------------------------------------------------------------
   [무엇] 목록 항목의 이중 면을 하나로 합친다.
   [왜]   `.profile-like__list-item` 이 흰 카드인데 그 안의
          `.thumb-item.product-thumb-item` 이 또 --sc-off(#f6f6f7)
          회색 면을 깔아 **카드 안에 박스가 또 있는** 구조가 된다.
          프로토타입의 목록 항목은 단일 면이다.
   [범위] 회색 면을 없애고 바깥 카드만 남긴다. 목록 계열 전반에
          같은 구조가 쓰이므로 조상 클래스로 스코프한다.
   ------------------------------------------------------------ */
.profile-like__list-item .product-thumb-item,
.profile-product-review .product-thumb-item,
.profile-product-inquiry .product-thumb-item {
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

/* ------------------------------------------------------------
   [무엇] 목록 항목 카드에 모서리와 라인을 준다.
   [왜]   패키지는 각진 흰 블록을 이어 붙인다. 우리 언어는 카드다.
   ------------------------------------------------------------ */
.profile-like__list-item,
.profile-product-review__list-item,
.profile-product-inquiry__list-item {
  border-radius: var(--sc-rl);
  border: 1px solid var(--sc-line);
  overflow: hidden;
}

/* ------------------------------------------------------------
   [무엇] 목록 썸네일에 모서리.
   [왜]   상품 카드(.thumb-item__img)는 이미 12px 인데 목록형
          (.thumb-LIST) 만 각져 있어 같은 상품이 화면마다 달라 보인다.
   [주의] <img> 가 아니라 컨테이너에 건다 — DESIGN.md 함정 노트.
   ------------------------------------------------------------ */
.thumb-LIST .thumb-item__img,
.thumb-LIST .thumb-item__media {
  border-radius: var(--sc-rm);
  overflow: hidden;
}

/* ------------------------------------------------------------
   [무엇] 항목별 보조 버튼(상품문의·삭제)의 비중을 낮춘다.
   [왜]   지금은 두 버튼이 카드 폭을 반씩 꽉 채워 주요 동작처럼 읽힌다.
          목록에서 이것들은 부수 동작이다. 프로토타입의 보조 버튼은
          작고 옅다.
   [범위] 모양·크기만 낮춘다. 색 의미(삭제=경고)는 건드리지 않는다.
   ------------------------------------------------------------ */
.profile-like__buttons {
  gap: 8px;
  padding: 0 14px 14px;
}

.profile-like__buttons .btn {
  height: 38px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--sc-rs);
  color: var(--sc-gray);
  border-color: var(--sc-line);
}

.profile-like__buttons .btn:hover {
  color: var(--sc-black);
  background-color: var(--sc-off);
}

/* ------------------------------------------------------------
   [무엇] 목록 상단의 건수 표기.
   [왜]   "좋아요 3 건" 의 숫자가 --point-color 라 이미 브랜드색이지만
          라벨과 크기가 같아 층이 없다. 제목처럼 읽히게 한다.
   ------------------------------------------------------------ */
.profile-like__total-count,
.profile-product-review__total-count,
.profile-product-inquiry__total-count {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sc-black);
  margin-bottom: 16px;
}

/* ------------------------------------------------------------
   [무엇] 목록 항목의 세로 여백을 조인다.
   [왜]   `.product-thumb-item{padding:20px 0}` 에 `align-items:normal`
          이라 84px 썸네일 옆 텍스트가 늘어나 빈 공간이 생긴다.
          카드 높이가 223px 인데 실제 내용은 절반뿐이었다.
   ------------------------------------------------------------ */
.profile-like__list-item .product-thumb-item {
  padding: 16px 14px 10px;
  align-items: center;
}

/* 항목별 후원 뱃지 — 가격 아래 */
.product-thumb-item__donation {
  margin-top: 6px;
}

/* ============================================================
   마이페이지 완성도 보정 (2026-11-10)
   샵바이 기본 스타일(어두운 회색 띠·각진 흰 상자·짙은 회색 버튼)이 남아
   다른 화면(흰 바탕·옅은 선·잉크색 주 버튼)과 따로 놀던 부분을 맞춘다.
   ============================================================ */
@media (max-width: 1000px) {
  /* 후원 카드·등급 카드: 화면 끝에 붙어 모서리가 잘려 보였다 → 좌우 16px */
  .l-content > .sc-donacard {
    margin: 16px 16px 12px;
  }
  .my-info {
    margin: 0 16px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--sc-off);
    color: var(--sc-ui-ink, #242428);
  }
  .my-info .my-info__greeting,
  .my-info .my-info__greeting p {
    color: var(--sc-ui-ink, #242428);
  }
  .my-info .my-info__member-type {
    color: var(--sc-gray);
  }
  .my-coupon-data {
    margin: 4px 16px 0;
  }
  /* 주문/배송·취소 내역: 회색 띠 위 각진 흰 상자 → 흰 바탕 위 옅은 선 버튼 */
  .my-orders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 16px 16px;
    background: transparent;
  }
  .my-orders .my-orders__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 48px;
    padding: 0 8px;
    border: 1px solid var(--sc-line);
    border-radius: var(--sc-ui-field-radius, 8px);
    background: var(--sc-white);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
  }
  .my-orders .my-orders__link::after,
  .my-orders .my-orders__link::before {
    display: none;
  }
  /* 회원 탈퇴가 로그아웃보다 진한 테두리로 더 눈에 띄었다 → 탈퇴는 작은 회색 글자 링크로 낮춘다 */
  .my-membership {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 24px 16px 8px;
  }
  .my-membership .my-membership__btn:not(a) {
    width: 100%;
    min-height: 48px;
    border-radius: var(--sc-ui-field-radius, 8px);
  }
  .my-membership a.my-membership__btn {
    align-self: center;
    width: auto;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: var(--sc-gray);
    font-size: 13px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* 마이페이지 탭(쿠폰·취소/교환/반품·상품 후기): 패키지 짙은 회색 탭 띠 → 흰 탭 + 잉크 밑줄 하나로 통일
   (v0.6.1: 쿠폰만 바뀌어 있고 나머지 둘은 짙은 띠로 남아 있었다) */
.my-page-coupon .my-page-coupon__tabs,
.claims .claims__tabs,
.profile-product-review .profile-product-review__tabs {
  background: var(--sc-white);
  border-bottom: 1px solid var(--sc-line);
}
.my-page-coupon .my-page-coupon__tabs .tabs__item button,
.claims .claims__tabs .tabs__item button,
.profile-product-review .profile-product-review__tabs .tabs__item button {
  color: var(--sc-gray);
}
.my-page-coupon .my-page-coupon__tabs .tabs__item.on button,
.claims .claims__tabs .tabs__item.on button,
.profile-product-review .profile-product-review__tabs .tabs__item.on button {
  color: var(--sc-ui-ink, #242428);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--sc-ui-ink, #242428);
}
.my-page-coupon .my-page-coupon__tabs .tabs__item + .tabs__item::before,
.claims .claims__tabs .tabs__item + .tabs__item::before,
.profile-product-review .profile-product-review__tabs .tabs__item + .tabs__item::before {
  display: none;
}
.my-page-coupon .my-page-coupon__registration-button {
  background: var(--sc-ui-primary, #242428);
  border-radius: var(--sc-ui-field-radius, 8px);
}

/* 회원정보 수정 비밀번호 확인: 파란 주 버튼·회색 면 입력창이 다른 폼과 달랐다 → 잉크색 버튼, 흰 바탕 + 옅은 선 */
.password-authentication-form .btn--caution.verification {
  background: var(--sc-ui-primary, #242428);
  border-color: var(--sc-ui-primary, #242428);
  color: var(--sc-ui-on-primary, #fff);
  border-radius: var(--sc-ui-field-radius, 8px);
}
.password-authentication-form .password-authentication-form__input-wrap .text-field {
  border: 1px solid var(--sc-ui-input-border, #e5e5ea);
  border-radius: var(--sc-ui-field-radius, 8px);
  background: var(--sc-white);
}

/* 1:1 문의 빈 상태: 경고용 느낌표 아이콘이 '아직 없음' 안내에 어울리지 않고 다른 빈 화면엔 아이콘이 없다 → 숨김 */
.inquiry-list__empty .ico--exclamation-white-bg {
  display: none;
}

/* 배송지 관리: 등록 버튼과 빈 안내 상자가 0px 로 붙어 있었다 → 12px */
.profile-shipping-address .profile-shipping-address__registration-button + .empty-list {
  margin-top: 12px;
}
.password-authentication-form .password-authentication__button-wrap .btn {
  border-radius: var(--sc-ui-field-radius, 8px);
}

/* PC 마이페이지: 모바일과 같은 기준(밝은 등급 카드, 옅은 선 버튼, 회원 탈퇴는 낮은 위계)으로 맞춘다 */
@media (min-width: 1001px) {
  .my-info {
    margin-top: 0;
    padding: 24px 28px;
    border-radius: 16px;
    background: var(--sc-off);
    color: var(--sc-ui-ink, #242428);
  }
  .my-info .my-info__greeting,
  .my-info .my-info__greeting p {
    color: var(--sc-ui-ink, #242428);
  }
  .my-info .my-info__member-type {
    color: var(--sc-gray);
  }
  .my-orders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 0 20px;
    background: transparent;
  }
  .my-orders .my-orders__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 52px;
    border: 1px solid var(--sc-line);
    border-radius: var(--sc-ui-field-radius, 8px);
    background: var(--sc-white);
    font-size: 15px;
    font-weight: 600;
  }
  .my-orders .my-orders__link::after,
  .my-orders .my-orders__link::before {
    display: none;
  }
  .my-membership {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 32px 0 8px;
  }
  .my-membership .my-membership__btn:not(a) {
    width: 280px;
    min-height: 48px;
    border-radius: var(--sc-ui-field-radius, 8px);
  }
  .my-membership a.my-membership__btn {
    width: auto;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: var(--sc-gray);
    font-size: 13px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* 쿠폰 '보유 쿠폰': 가운데 정렬 제목 + 위아래 큰 여백이 혼자 떠 보였다 → 왼쪽 정렬 소제목 */
.my-page-coupon .my-page-coupon__list-title {
  margin: 32px 0 12px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--sc-ui-ink, #242428);
}

@media (min-width: 1001px) {
  /* 회원정보 수정 비밀번호 확인: 입력창이 790px 로 늘어나고 두 버튼 사이가 160px 벌어졌다 → 440px 가운데 폼 */
  .password-authentication-form {
    max-width: 440px;
    margin: 0 auto;
  }
  .password-authentication-form .password-authentication__button-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .password-authentication-form .password-authentication__button-wrap .btn {
    width: 100%;
  }
  /* 주문/배송 목록 기간 선택이 790px 로 늘어나 있었다 → 짧은 선택 상자 */
  .orders .start-ymd-selector,
  .orders .select-box,
  .my-page-accumulation .sc-select,
  .my-page-accumulation .select-box {
    max-width: 200px;
  }
}

/* 배송지·쿠폰 등록 버튼 60px → 다른 주 버튼과 같은 48px, 모서리 8px */
.profile-shipping-address .profile-shipping-address__registration-button,
.my-page-coupon .my-page-coupon__registration-button,
.inquiry-list .btn,
.personal-inquiry .btn {
  height: 48px;
  min-height: 48px;
  border-radius: var(--sc-ui-field-radius, 8px);
}

/* 등급 문구(32px)가 좁은 폰에서 '나의 혜택' 버튼과 맞닿았다 → 모바일 22px, 버튼과 12px 띄움 */
@media (max-width: 1000px) {
  .my-info .my-info__greeting,
  .my-info .my-info__greeting p {
    font-size: 22px;
    line-height: 1.35;
  }
  .my-info .my-info__summary {
    gap: 12px;
  }
}

@charset 'utf-8';

/* ============================================================
   선데이클럽 — 상품 상세
   ------------------------------------------------------------
   담당 라우트
     /product-detail   src/pages/ProductDetail/ (상세정보 탭: Content/Detail.jsx)

   성격: overrides.css 와 같은 계층이다. 즉 **@shopby 패키지 클래스를
        직접 겨냥한다.** 대신 블록마다 "왜 그 클래스인지"를 남긴다.

   지킨 것
   - `!important` 0개.
   ============================================================ */

/* ------------------------------------------------------------
   상세 탭(상세정보·후기·Q&A)은 헤더 바로 아래에 붙인다

   패키지는 Aurora 기본 헤더(90px) 기준으로 `.product-detail .tabs{top:90px}` 이다.
   우리 헤더는 PC 114px(GNB 줄 포함)·모바일 65px 라 PC 에선 탭이 헤더 밑에 가려지고
   모바일에선 헤더와 탭 사이로 본문이 비쳤다 → 스티키 헤더 높이(--sc-hdh)를 쓴다.
   ------------------------------------------------------------ */
.product-detail .product-content {
  --sc-detail-tabs-height: 52px;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* 탭·본문·펼치기 버튼의 선을 같은 콘텐츠 좌우 여백에 맞춘다. */
.product-detail .product-content > .tabs {
  top: var(--sc-hdh);
  width: auto;
  margin: 0 var(--sc-gut);
}

/* 선은 콘텐츠 폭을 유지하되, 고정 탭 배경은 양쪽 여백까지 덮어 이미지가 비치지 않게 한다. */
.product-detail .product-content > .tabs::before {
  content: '';
  position: absolute;
  top: 0;
  right: calc(-1 * var(--sc-gut));
  bottom: 0;
  left: calc(-1 * var(--sc-gut));
  z-index: -1;
  background: var(--sc-white);
}

/* 탭을 누르면 Content.jsx 가 본문 상자를 scrollIntoView 하는데, 상자 머리가 헤더·탭 밑으로 들어가
   첫 줄이 가려졌다(한 줄짜리 배송/교환/반품 탭은 통째로 안 보였다). 헤더 + 탭 높이(52px)만큼 띄워 멈춘다 */
.product-detail .product-content__box {
  padding: 24px var(--sc-gut) 40px;
  min-height: calc(100vh - var(--sc-hdh) - var(--sc-detail-tabs-height));
  min-height: calc(100svh - var(--sc-hdh) - var(--sc-detail-tabs-height));
  scroll-margin-top: calc(var(--sc-hdh) + var(--sc-detail-tabs-height));
}

/* 짧은 탭으로 바꿔도 스크롤 범위가 줄어 탭이 헤더 밑에서 튀지 않도록 한 화면 높이를 확보한다. */
.product-detail .product-content__content {
  margin-bottom: 0;
  scroll-margin-top: calc(var(--sc-hdh) + var(--sc-detail-tabs-height) + 24px);
}

.product-detail .product-content-review {
  padding-top: 0;
}

/* 접힌 본문은 스크롤 범위에도 포함되지 않게 자른다.
   버튼은 잘림 상자 밖에 있어 포커스 이동이 본문 내부를 스크롤시키지 않는다.
   overflow:clip 미지원 브라우저는 hidden 으로 폴백한다. */
.product-detail .product-content__content.hidden .product-content__content-box {
  overflow: hidden;
  overflow: clip;
  clip-path: none;
}
.product-detail .product-content__content .product-content__more-btn {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  margin-top: 20px;
  background: none;
}
.product-detail .product-content__content .product-content__more-btn::before {
  display: none;
}

/* ------------------------------------------------------------
   모바일 상세 이미지는 화면 폭 100%

   패키지 `.product-content__box` 가 좌우 1.4285714286rem(20px) 패딩을 주고,
   `.product-content__editor-box *:not(iframe){width:auto !important}` 가 이미지 폭을
   원본 크기로 고정한다. !important 를 이길 수 없으니 폭은 건드리지 않고,
   이미지만 상자 패딩만큼 양옆으로 넓혀(음수 여백) 최대 폭을 화면 폭에 맞춘다.
   상세 이미지는 보통 860px 이라 화면 폭에 꼭 맞게 줄어든다.
   글(문단·표)은 그대로 패딩 안에 둔다.
   ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .product-content__editor-box img {
    display: block;
    max-width: calc(100% + var(--sc-gut) * 2);
    height: auto;
    margin-left: calc(-1 * var(--sc-gut));
    margin-right: calc(-1 * var(--sc-gut));
  }

  /* 잘림 상자 자체를 화면 폭으로 넓히고 글에는 공통 여백을 둔다.
     이미지의 전폭 표현과 세로 overflow 클립을 동시에 유지한다. */
  .product-detail .product-content__content-box {
    width: calc(100% + var(--sc-gut) * 2);
    margin-left: calc(-1 * var(--sc-gut));
    margin-right: calc(-1 * var(--sc-gut));
    padding-left: var(--sc-gut);
    padding-right: var(--sc-gut);
  }
}

/* ------------------------------------------------------------
   구매 영역 — 디자이너 전달본(2026-10-14) detail-fc.html
   마크업은 Purchase.jsx, sc- 쪽 모양은 components.css "상품 상세 구매 영역".
   여기는 그 안에 들어가는 패키지 클래스(.purchase*, .btn, .select-box)만 다룬다.

   - 버튼: 찜(회색 칸) · 장바구니(흰 바탕 + 선, 테마 .btn--white) · 구매하기(파랑)
     패키지는 장바구니를 검정(btn--dark)으로 그린다 → 구매 영역 안에서만 흰 버튼으로
   - 패키지 .product-detail.purchase 는 max-width 500px 고정 바라 PC 에서 왼쪽 아래로 쏠렸다
     → PC 는 Purchase.jsx 가 이 바를 그리지 않고 .sc-pbar 를 그린다
   ------------------------------------------------------------ */
.sc-like.btn {
  border: 0;
}

.sc-buy .btn--dark,
.sc-pbar .btn--dark,
.product-detail .purchase__btns .btn--dark {
  background: var(--sc-white);
  color: var(--sc-black);
  border: 1px solid var(--sc-line-2);
}
.sc-buy .btn--dark:hover,
.sc-pbar .btn--dark:hover,
.product-detail .purchase__btns .btn--dark:hover {
  filter: none;
  background: var(--sc-off);
}

/* ---- PC: 우측 구매 박스 + 하단 전폭 바 ---- */
@media (min-width: 1001px) {
  /* .purchase 는 원래 모바일 시트 — 테두리·배경·높이 제한을 걷어 우측 컬럼에 그대로 놓는다 */
  .product-detail .sc-buy.purchase {
    border-top: 0;
    background: none;
    padding: 0;
  }
  .product-detail .sc-buy .select-box {
    height: 48px;
    margin-bottom: 12px;
  }
  .product-detail .sc-buy .purchase__quantity-box {
    max-height: none;
    overflow: visible;
  }
  .product-detail .sc-buy .purchase__total {
    margin: 16px 0 0;
    padding: 0;
    border-top: 0;
    align-items: baseline;
    font-size: 14px;
    color: var(--sc-gray);
  }
  .product-detail .sc-buy .purchase__total .highlight {
    font-size: 20px;
    font-weight: 800;
    color: var(--sc-black);
    margin-right: 1px;
  }
  .product-detail .sc-buy__acts .btn:not(.sc-like) {
    flex: 1;
    height: 50px;
    font-size: 15px;
  }
  .sc-pbar__cta .btn:not(.sc-like) {
    height: 50px;
    min-width: 120px;
    padding: 0 28px;
    font-size: 15px;
    white-space: nowrap;
  }
}

/* ---- 모바일: 하단 바(상품명 · 찜 · 구매하기) + 옵션 시트 ---- */
@media (max-width: 1000px) {
  .product-detail.purchase {
    padding: 8px var(--sc-gut);
    border-top: 1px solid var(--sc-line);
  }
  .product-detail .purchase__button-wrap {
    align-items: center;
    gap: 8px;
    min-height: 44px;
  }
  .product-detail .purchase__button-wrap .sc-like,
  .product-detail .purchase__btns .sc-like {
    width: 44px;
    height: 44px;
  }
  .product-detail .purchase__buy-btn,
  .product-detail .purchase__restock-btn {
    flex: none;
    width: auto;
    height: 44px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
  }

  /* 닫힌 바에서는 반복 상품명 대신 구매 행동에 폭을 준다. */
  .product-detail.purchase.is-ready-to-buy .sc-purchase__nm {
    display: none;
  }
  .product-detail.purchase.is-ready-to-buy .purchase__buy-btn {
    flex: 1;
    min-width: 0;
  }
  .product-detail.purchase .purchase__button-wrap.is-open {
    display: none;
  }
  /* 닫기 손잡이는 시트 안에 배치해 뒤쪽 본문을 가리지 않는다. */
  .product-detail.purchase .purchase__opener {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 44px;
    min-height: 44px;
    margin: -8px auto 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  /* 옵션 시트 — 칸 48px · 수량 44px · 총액 18px · 버튼 44px (테마 600px 이하 규칙) */
  .product-detail .purchase__option .select-box {
    height: 48px;
    margin-bottom: 12px;
  }
  .product-detail .purchase__total .highlight {
    font-size: 18px;
  }
  .product-detail .purchase__btns {
    gap: 8px;
    min-height: 44px;
  }
  .product-detail .purchase__btns .btn:not(.sc-like) {
    flex: 1;
    height: 44px;
    font-size: 14px;
  }
  .product-detail .purchase__btns [type='button']:nth-child(n + 2) {
    margin-left: 0;
  }
}

/* ---- 수량·총액 (PC 구매 박스 · 모바일 시트 공통) — 테마 .qty / .stepper ----
   PC 는 .sc-buy(.purchase 이기도 하다), 모바일은 .purchase.product-detail 안의 시트.
   같은 요소에 .purchase 와 .product-detail 이 함께 붙는 모바일 때문에 두 갈래로 적는다
   (:is() 로 줄이면 iOS 13 웹뷰가 규칙 전체를 버린다) */
.sc-buy .quantity,
.product-detail.purchase .quantity {
  margin: 0 0 12px;
  padding: 0;
  background: none;
}
.sc-buy .quantity__label,
.product-detail.purchase .quantity__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sc-black);
}
.sc-buy .quantity__content,
.product-detail.purchase .quantity__content {
  margin-top: 8px;
  align-items: center;
}
.sc-buy .counter,
.product-detail.purchase .counter {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 46px;
  background: var(--sc-off);
  border-radius: var(--sc-rm);
  overflow: hidden;
}
.sc-buy .counter__btn,
.product-detail.purchase .counter__btn {
  width: 44px;
  height: 100%;
  border: 0;
  background: none;
  font-size: 18px;
  color: var(--sc-black);
  cursor: pointer;
}
.sc-buy .counter__input input,
.product-detail.purchase .counter__input input {
  width: 40px;
  height: 100%;
  border: 0;
  background: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  -moz-appearance: textfield;
}
.sc-buy .counter__input input::-webkit-outer-spin-button,
.sc-buy .counter__input input::-webkit-inner-spin-button,
.product-detail.purchase .counter__input input::-webkit-outer-spin-button,
.product-detail.purchase .counter__input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sc-buy .quantity__content em,
.product-detail.purchase .quantity__content em {
  font-size: 15px;
  font-weight: 700;
}
.sc-buy .purchase__total,
.product-detail.purchase .purchase__total {
  color: var(--sc-gray);
}
.sc-buy .purchase__total .highlight,
.product-detail.purchase .purchase__total .highlight {
  font-weight: 800;
  color: var(--sc-black);
}

/* 옵션이 하나뿐인 상품(.undeletable)은 수량 줄의 상품명·금액이 위 제목·아래 총액과 겹친다 → 감추고
   수량과 총액을 한 줄로 놓는다(테마 .qty: 수량 왼쪽 · 총 상품금액 오른쪽).
   :has 를 모르는 브라우저(iOS 15.3 이하)는 두 줄로 쌓일 뿐 깨지지 않는다.
   ⚠️ .purchase__option 은 닫힐 때 hidden 속성으로 숨는다 — display 를 주면 hidden 을 이기므로 :not([hidden]) 필수 */
.sc-buy .quantity.undeletable .quantity__label,
.sc-buy .quantity.undeletable .quantity__content em,
.product-detail.purchase .quantity.undeletable .quantity__label,
.product-detail.purchase .quantity.undeletable .quantity__content em {
  display: none;
}
.sc-buy .quantity.undeletable,
.sc-buy .quantity.undeletable .quantity__content,
.product-detail.purchase .quantity.undeletable,
.product-detail.purchase .quantity.undeletable .quantity__content {
  margin: 0;
}
.sc-buy:has(.quantity.undeletable),
.product-detail.purchase .purchase__option:not([hidden]):has(.quantity.undeletable) {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
}
.sc-buy:has(.quantity.undeletable) > :not(.purchase__quantity-box):not(.purchase__total),
.product-detail.purchase
  .purchase__option:not([hidden]):has(.quantity.undeletable)
  > :not(.purchase__quantity-box):not(.purchase__total) {
  grid-column: 1 / -1;
}
.sc-buy:has(.quantity.undeletable) .purchase__total,
.product-detail.purchase .purchase__option:not([hidden]):has(.quantity.undeletable) .purchase__total {
  margin: 0;
  padding: 0;
  border: 0;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
}

/* PC 우측 컬럼: 요약 아래 여백(패키지 52px)을 줄여 구매 박스를 붙인다 */
@media (min-width: 1001px) {
  .product-detail .sc-pd__aside .product-summary {
    padding-bottom: 20px;
  }
}

/* 모바일 시트의 수량 칸은 44px (테마 600px 이하 .stepper) — 위 공통 규칙(46px) 뒤에 둬야 이긴다 */
@media (max-width: 1000px) {
  .product-detail.purchase .counter {
    height: 44px;
  }
}

/* ------------------------------------------------------------
   수량 스테퍼 다듬기 (2026-11-10)
   - 숫자 칸 위아래에만 회색 선이 남아 칸이 끊겨 보이던 문제 → 선 제거
   - '-' 하이픈 글자는 '+' 보다 짧고 얇아 짝이 맞지 않음 → 같은 굵기 선으로 그림
   - 한 옵션 상품에서 수량 줄과 버튼 줄이 0px로 붙던 문제 → 12px 띄움
   ------------------------------------------------------------ */
.sc-buy .counter,
.product-detail.purchase .counter {
  height: var(--sc-ui-field-height, 44px);
  border-radius: var(--sc-ui-field-radius, 8px);
}
.sc-buy .counter__input,
.product-detail.purchase .counter__input {
  display: flex;
  align-items: center;
  height: 100%;
  border-top: 0;
  border-bottom: 0;
}
.sc-buy .counter__btn,
.product-detail.purchase .counter__btn {
  position: relative;
  font-size: 0;
}
.sc-buy .counter__btn::before,
.sc-buy .counter__btn:last-child::after,
.product-detail.purchase .counter__btn::before,
.product-detail.purchase .counter__btn:last-child::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.sc-buy .counter__btn:last-child::after,
.product-detail.purchase .counter__btn:last-child::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.sc-buy .counter__btn:disabled,
.product-detail.purchase .counter__btn:disabled {
  color: var(--sc-gray-2);
}
.sc-buy:has(.quantity.undeletable),
.product-detail.purchase .purchase__option:not([hidden]):has(.quantity.undeletable) {
  row-gap: 12px;
}

/* 모바일 상세 첫 화면 (2026-11-10)
   - 점 표시가 사진 속 가격·문구 위에 겹치던 문제 → 사진 바로 아래 줄로 내림
   - 사진과 상품명 사이 66px 빈 공간 → 점 줄 포함 약 40px */
@media (max-width: 1000px) {
  .sc-pd__top .product-image-slider {
    padding-bottom: 24px;
  }
  .sc-pd__top .product-image-slider .swiper-pagination {
    bottom: 4px;
  }
  .sc-pd__top .product-summary {
    padding-top: 12px;
    padding-bottom: 24px;
  }
  .sc-pd__top .product-summary__brand-name + .product-summary__title {
    margin-top: 8px;
  }
  /* 바로 위 탭이 '상품 상세정보'인데 본문 첫 줄에 같은 제목이 또 나와 중복 → 모바일에서만 숨김
     (아래 '상품정보제공고시' 제목은 유지) */
  .product-content__content-box > .product-content__title:first-child {
    display: none;
  }
}

/* 배송 줄: '(주)원소울 배송 배송비 3,000원' 처럼 '배송'이 붙어 읽혔다 → 배송사와 배송비 사이에 구분점 */
.product-summary__freight dt:has(strong) + dd::before {
  content: '·';
  margin: 0 6px 0 2px;
  color: var(--sc-gray-2);
}

/* 상세 비선택 탭: 연회색(#a1a1aa)이라 눌리지 않는 메뉴처럼 보였다 → 보조 글자색으로 한 단계 진하게 */
.product-content .tabs__item:not(.on) button {
  color: var(--sc-gray);
}

/* PC 상세 (2026-11-10)
   - 정사각 600px 틀 안에 3:4 사진이 가운데 450px 로 놓여 좌우에 흰 여백이 떠 보였다
     → 틀에 옅은 회색 면을 깔아 '사진 틀'로 읽히게 한다(사진은 자르지 않음)
   - 점 표시가 사진 속 가격 문구와 겹쳤다 → 모바일처럼 사진 아래로
   - 탭 이름과 같은 '상품상세정보' 제목 중복 → PC에서도 숨김 */
@media (min-width: 1001px) {
  .sc-pd__top .thumb-DETAIL .thumb-item__media {
    background: var(--sc-off);
    border-radius: 12px;
    overflow: hidden;
  }
  .sc-pd__top .product-image-slider {
    padding-bottom: 28px;
  }
  .sc-pd__top .product-image-slider .swiper-pagination {
    bottom: 4px;
  }
  .product-content__content-box > .product-content__title:first-child {
    display: none;
  }
}

/* 상세 요약 좌우 18px → 다른 화면과 같은 20px */
@media (max-width: 1000px) {
  .sc-pd__top .product-summary {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* 상세 탭: 320px 에서 '배송·교환·반품'이 두 줄로 쪼개졌다 → 탭 글자는 한 줄, 좁은 화면에서는 글자·여백만 조금 줄임 */
.product-content .tabs__item button {
  white-space: nowrap;
}
@media (max-width: 374px) {
  .product-content .tabs__item button {
    padding-left: 2px;
    padding-right: 2px;
    font-size: 13.5px;
    letter-spacing: -0.02em;
  }
}

/* 상세 가격 '4,500 원' → '4,500원': 패키지가 단위(span)에 준 4px 띄움을 줄인다(문구 규칙: 숫자·단위 붙여 쓰기) */
.product-summary__price > span {
  margin-left: 1px;
}

/* 상세 대표 사진: 불러오는 동안 흰 화면으로 비어 있었다 → 사진 틀에 옅은 회색 바탕 */
.product-detail .image-slider,
.product-image-slider,
.sc-pd__gallery {
  background-color: var(--sc-off);
}

/* 상품정보 제공고시 표(관리자 입력 항목): 왼쪽 항목 칸이 80px(5.71rem)라 '인증·허가'가 가운뎃점 앞에서 끊기고
   '원산지'가 혼자 떨어졌다(320~430px 실측) → 항목 칸 112px, 오른쪽 값 칸이 나머지 */
.product-content__certification--duty-info dt {
  flex: 0 0 112px;
  width: 112px;
}
.product-content__certification--duty-info dd {
  flex: 1 1 auto;
  min-width: 0;
}
/* 같은 표: 위 40px 빈 공간(패딩 30 + 첫 줄 여백 10)과 항목·값 모두 연회색(#a1a1aa)이라 읽기 어려웠다
   → 위아래 18px, 항목 회색(#71717a)·값 진한 회색, 13px */
.product-content__certification--duty-info {
  padding: 18px 16px;
}
.product-content__certification--duty-info dl {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}
.product-content__certification--duty-info dl + dl {
  margin-top: 12px;
}
.product-content__certification--duty-info dt {
  color: #71717a;
}
.product-content__certification--duty-info dd {
  color: #3f3f46;
}
/* PC는 옆 공간이 넉넉해 항목이 네 줄로 접힐 이유가 없다 → 항목 칸 240px, 바깥 여백 20px */
@media (min-width: 768px) {
  .product-content__certification--duty-info {
    padding: 20px 24px;
  }
  .product-content__certification--duty-info dt {
    flex-basis: 240px;
    width: 240px;
  }
}

/* 상세정보 펼쳐보기(2026-11-13 사용자 제보 "스트로크 깨진다")
   - 전: 상세 이미지가 800px에서 칼로 자른 듯 끊기고, 흰 틈 20px 아래 위·아래 선만 있는 버튼(양옆 선 없음)이라
     상자가 깨진 것처럼 보였다. 패키지의 흐림 효과는 예전에 꺼 둔 상태.
   - 타사(무신사·29CM 상세): 잘린 본문 아래쪽을 흰색으로 서서히 흐리게 덮고, 그 아래 '더보기' 버튼 하나.
   - 후: 잘린 본문 아래 120px 흐림 + 사이트 보조 버튼 규칙(회색 면 52px, 모서리 8px, 선 없음, 아래 꺾쇠) */
.product-detail .product-content__content.hidden .product-content__content-box::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
}
.product-detail .product-content__content .product-content__more-btn {
  margin-top: 8px;
}
:root .product-detail .product-content__more-btn button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
  background: var(--sc-off, #f5f5f6);
  border: 0;
  border-radius: 8px;
}
:root .product-detail .product-content__more-btn button .sc-chevron {
  color: var(--sc-ui-muted, #62626b);
}
/* 상세 대표 사진 회색 바탕 범위 정정(2026-11-13 사용자 질문 "정방형 맞아?")
   - 사진 틀은 600×600 정사각형인데, 회색이 아래 점 표시 자리(28px)까지 감싸 600×628 세로 직사각형으로 보였고
     바깥 회색은 각진 모서리, 안쪽 사진 틀은 12px 둥근 모서리라 모서리도 겹쳐 보였다
   → 회색은 사진 틀(.thumb-item__media, 둥근 정사각형)에만 두고 점 표시는 흰 바탕 위에 */
.product-detail .sc-pd__gallery,
.product-detail .sc-pd__gallery .swiper {
  background-color: transparent;
}
.product-detail .sc-pd__gallery .thumb-item__media {
  background-color: var(--sc-off);
}
/* 상세 대표 사진도 정사각형 꽉 채움(2026-11-13 사용자 확정: 11-09 썸네일과 같은 '정방형·가운데 기준 자르기'를 전체에 적용)
   타사 실측(1440px): 오늘의집·29CM·갓피플몰·텐바이텐 상세 대표 사진 1:1 / 무신사 5:6·컬리 약 3:4(패션·식품)
   - PC 600×600, 모바일은 3:4 틀(375×500)이었던 것을 화면 폭 정사각형으로
   - object-fit: cover — 세로 사진(3:4·4:5)은 위아래가 조금 잘린다. 원본 이미지는 그대로 */
:root .product-detail .sc-pd__top .thumb-DETAIL .thumb-item__media {
  aspect-ratio: 1 / 1;
  height: auto;
}
:root .product-detail .sc-pd__top .thumb-DETAIL .thumb-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 상세 탭(후기·문의·배송) 머리 통일 (2026-11-13 점검)
   - 전: 후기·문의는 제목·별점·설명이 가운데 정렬, 바로 아래 '상품후기 0건'·'문의 전체 0건' 은 왼쪽 정렬이라 한 화면에 정렬이 섞였고,
     제목이 '상품후기'(붙여 씀)·'상품 Q&A'(영문)·'배송안내'로 제각각. 후기 0건인데 빈 별 다섯 개와 정렬 선택칸이 떠 있었다.
   - 타사(29CM·무신사 상세 리뷰 탭): 왼쪽 정렬 제목 + 개수, 후기가 없으면 빈 화면만.
   - 후: 세 탭 모두 왼쪽 정렬 제목 18px/700('상품 후기'·'상품 문의'·'배송 안내'), 설명 14px 회색,
     개수는 '총 N건'(0건이면 줄째 숨김), 평점 0이면 별 숨김 */
.product-detail .product-review-summary,
.product-detail .product-inquiry-summary {
  display: block;
  padding: 28px 0 0;
  text-align: left;
}
.product-detail .product-review-summary__title,
.product-detail .product-inquiry-summary__title,
.product-detail .sc-pd-delivery-guide .product-content__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--sc-ui-ink, #242428);
  text-align: left;
}
.product-detail .product-review-summary__rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
.product-detail .product-review-summary__rating[hidden],
.product-detail .product-board-list__search[hidden] {
  display: none !important;
}
.product-detail .product-inquiry-summary__description {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sc-ui-muted, #62626b);
  text-align: left;
}

/* 장바구니 — 모바일 터치 영역 44px, 금액·단위 줄바꿈 보정 */

/* 금액+원은 한 덩어리, 후원 뱃지는 자기 줄 */
.cart .cart__product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
}
.cart .cart__product-price > span:first-child {
  order: 1;
  white-space: nowrap;
}
.cart .cart__product-price > .cart__delete-btn {
  order: 2;
  margin-left: auto;
}
.cart .cart__product-price > .cart__product-donation {
  order: 3;
  flex: 0 0 100%;
}

/* 모바일 수량 +/- 44x44 */
@media (max-width: 1000px) {
  .cart .cart__quantity-controller > p {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
  }
  .cart .quantity-changer {
    width: 132px;
    min-width: 132px;
    height: 46px;
    flex-shrink: 0;
  }
  .cart .quantity-changer__input {
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 44px;
  }
  .cart .quantity-changer__input input {
    width: 100%;
    height: 100%;
    padding: 0;
  }
  .cart .cart__product-price {
    display: contents;
  }
  .cart .cart__product-price > span:first-child {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .cart .cart__product-price > .cart__product-donation {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    width: fit-content;
    max-width: calc(100% - 32px);
  }
  .cart .cart__product-price > .cart__delete-btn {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    margin-left: 0;
  }
  .cart .quantity-changer__decrease-btn,
  .cart .quantity-changer__increase-btn {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }
}

/* 320px대에서는 44px 수량 버튼을 줄이지 않고 가격을 다음 줄로 옮긴다. */
@media (max-width: 359px) {
  .cart .cart__quantity-controller > p {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .cart .quantity-changer {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .cart .cart__product-price > span:first-child {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .cart .cart__product-price > .cart__product-donation {
    grid-column: 1;
    grid-row: 3;
    max-width: 100%;
  }
  .cart .cart__product-price > .cart__delete-btn {
    grid-column: 2;
    grid-row: 3;
  }
}

/* 빈 장바구니 */
.cart .cart__empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  box-sizing: border-box;
}
.cart .cart__empty-wrap .cart__empty {
  margin: 0;
  padding: 48px 16px;
}
.cart .cart__empty-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  align-self: center;
  border-radius: var(--sc-rl);
  background: var(--sc-ink-2);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.cart .sc-cart__aside[hidden] {
  display: none;
}
@media (min-width: 1001px) {
  .sc-cart.sc-cart--empty {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 빈 장바구니: 안내 상자(350px)와 버튼(320px) 좌우 끝이 어긋나 보였다 → 같은 폭 */
.cart .cart__empty-wrap .cart__empty-link {
  max-width: none;
  align-self: stretch;
}

/* PC 빈 장바구니: 제목은 왼쪽인데 안내 상자만 가운데 440px 로 떠 있었다 → 주문 목록 빈 화면처럼 본문 폭에 맞춤 */
@media (min-width: 1001px) {
  .cart.sc-cart--empty .cart__empty-wrap {
    max-width: none;
    margin: 0;
    padding: 24px 0 48px;
  }
  .cart.sc-cart--empty .cart__empty-wrap .cart__empty-link {
    align-self: center;
    width: 320px;
  }
}

/* ------------------------------------------------------------
   장바구니(상품 있음) (2026-11-10)
   - 수량: 각진 칸 3개 + '-' 하이픈 → 상세와 같은 둥근 회색 스테퍼, 같은 굵기 선으로 그린 −/+
   - 상품 옵션 회색 상자 모서리 0 → 8px
   - 모바일: 금액 요약 카드가 화면 왼쪽 끝에 붙어 모서리가 잘려 보였다 → 좌우 16px,
     카드 안 '주문하기'와 하단 고정 '주문하기'가 동시에 보였다 → 카드 안 버튼은 숨김
   ------------------------------------------------------------ */
.cart .quantity-changer {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-ui-field-radius, 8px);
  background: var(--sc-white);
  overflow: hidden;
}
.cart .quantity-changer .quantity-changer__input {
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.cart .quantity-changer .quantity-changer__input input {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}
.cart .quantity-changer__decrease-btn,
.cart .quantity-changer__increase-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 0;
  color: var(--sc-black);
}
.cart .quantity-changer__decrease-btn::before,
.cart .quantity-changer__increase-btn::before,
.cart .quantity-changer__increase-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.cart .quantity-changer__increase-btn::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.cart .quantity-changer__decrease-btn:disabled {
  color: var(--sc-gray-2);
}
.cart .cart__quantity-controller {
  border-radius: var(--sc-ui-field-radius, 8px);
}
@media (max-width: 1000px) {
  .cart .sc-cart__aside {
    padding: 0 16px;
    box-sizing: border-box;
  }
  .cart .cart__payment-info .cart__order-btn {
    display: none;
  }
}

/* 모바일 요약 카드: 안쪽 주문하기 버튼을 숨긴 자리만큼 아래 여백이 남았다 */
@media (max-width: 1000px) {
  .cart .cart__payment-info {
    padding-bottom: 20px;
  }
}
/* PC: '이 중 225원 후원' 배지가 칸 폭만큼 늘어나 있었다 → 글자만큼 */
.cart .cart__product-price > .cart__product-donation {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}
/* 배지를 글자만큼 줄이자 가격·삭제 X 사이로 끼어들었다 → 가격 줄 아래에 따로 놓는다 */
.cart .cart__product-price {
  flex-wrap: wrap;
}
.cart .cart__product-price::after {
  content: '';
  flex-basis: 100%;
  order: 2;
}
.cart .cart__product-price > .cart__product-donation {
  order: 3;
}
@media (min-width: 1001px) {
  /* PC: 가격과 배지가 서로 다른 시작선에 놓였다 → 가격 아래 배지, 같은 왼쪽 선 (삭제 X 는 오른쪽 끝) */
  .cart .cart__product-price {
    justify-content: flex-start;
    align-items: center;
  }
  .cart .cart__product-price > .cart__delete-btn {
    margin-left: auto;
  }
}

@charset 'utf-8';

/* 데이터 준비 전 자리표시(PageLoading). 색·모서리는 --sc-* 토큰만 쓴다. */
.sc-pageload {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: var(--sc-maxw);
  margin: 0 auto;
  padding: 32px var(--sc-gut);
  box-sizing: border-box;
}

.sc-pageload__msg {
  margin: 0;
  font-size: 14px;
  color: var(--sc-gray);
}

.sc-pageload--error .sc-pageload__msg {
  color: var(--sc-danger);
}

.sc-pageload__bar {
  display: block;
  height: 16px;
  width: 100%;
  border-radius: var(--sc-rs);
  background: linear-gradient(90deg, var(--sc-line) 25%, var(--sc-off) 50%, var(--sc-line) 75%);
  background-size: 200% 100%;
  animation: sc-pageload-shimmer 1.4s var(--sc-ease) infinite;
}

.sc-pageload__bar--short {
  width: 40%;
}

.sc-pageload__bar--block {
  height: 160px;
  border-radius: var(--sc-rm);
}

@keyframes sc-pageload-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-pageload__bar {
    animation: none;
  }
}

/* 이 값이 준비될 때까지 결제 버튼 비활성 — 눌러도 반응 없음을 눈으로도 알린다 */
.order-sheet__pay-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@charset 'utf-8';

/* ============================================================
   선데이클럽 — 상품 상세·장바구니 모노크롬(옵션3) 보정
   ------------------------------------------------------------
   결정(옵션3): 주요 CTA 와 가격은 잉크(--sc-ui-ink), 브랜드 보라(--sc-blue)는
   "선택됨 · 활성 · 포커스" 상태에만 쓴다. 보라 면(후원 박스)·그라디언트·배지는 줄인다.

   규칙
   - 이 파일은 product.css · cart.css · components.css · overrides.css **뒤**에 import 한다.
     (선택자 구체성을 원본과 같게 맞춰 두었으므로 순서만 지키면 이긴다.)
   - `!important` 0개. 전역 body / font-size / line-height 는 건드리지 않는다
     (아래 글자 규칙은 전부 상품 상세·장바구니 안쪽 요소에만 걸린다).
   - 지킨 것: 레이아웃·사진 · 네이버페이 영역(#naver-pay / .purchase__naver-pay-btn / .cart__naver-pay-btn)
     · 상태색(품절·오류 등) · hidden 옵션 시트 · 44px 터치 영역.
   - 공통 토큰(--sc-ui-*)은 부모 작업이 tokens 에서 내려준다. 값이 없을 때를 대비해 폴백을 함께 적었다.

   글자 역할
     페이지 제목 28/38/600 (모바일 24/34) · 섹션·가격 20/28/600
     본문·입력·주요 버튼 16/26 · 라벨 14/22/500 · 도움말 14/24
   ============================================================ */

/* ------------------------------------------------------------
   1. 상품 상세 요약 (Summary.jsx → 패키지 .product-summary*)
   ------------------------------------------------------------ */

/* 상품명 = 페이지 제목. 패키지 25px/34/500 → 28/38/600 (모바일 24/34) */
.product-summary__title {
  font-size: var(--sc-ui-page-size, 28px);
  line-height: var(--sc-ui-page-line, 38px);
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
}

/* 브랜드명·전시라벨·카테고리 = 라벨 14/22/500. 보조 정보라 muted */
.product-summary__brand-name,
.product-summary__main-category,
.product-summary__display-label {
  font-size: var(--sc-ui-label-size, 14px);
  line-height: var(--sc-ui-label-line, 22px);
  font-weight: 500;
  color: var(--sc-ui-muted, #62626b);
}

/* 가격: 할인율(패키지는 --point-color=보라)과 판매가 모두 잉크 20/28/600.
   할인율을 보라로 두면 가격이 두 색으로 갈라져 CTA 위계와 경쟁한다 */
.product-summary__discounted-price,
.product-summary__off-percent {
  font-size: var(--sc-ui-section-size, 20px);
  line-height: var(--sc-ui-section-line, 28px);
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
}
/* '원' · '%' 단위는 패키지가 따로 크기/굵기를 줘서 숫자와 어긋난다 → 숫자와 같게 */
.product-summary__discounted-price span,
.product-summary__off-percent span {
  font-size: inherit;
  font-weight: inherit;
}

/* 후원 박스(.sc-dona--box): 연보라 면 + 보라 글씨 → 흰 바탕 + 옅은 선 + 잉크 글씨.
   components.css 의 `.sc-dona--box`(0,1,0)보다 한 단계 구체적인 선택자로 덮는다 */
.product-summary .sc-dona--box,
.product-detail .sc-dona--box {
  background: var(--sc-white, #fff);
  border: 1px solid var(--sc-ui-line, #e3e3e8);
  border-radius: var(--sc-ui-radius, 6px);
  color: var(--sc-ui-ink, #242428);
  font-size: var(--sc-ui-label-size, 14px);
  line-height: var(--sc-ui-help-line, 24px); /* 도움말 14/24 */
}
.product-summary .sc-dona--box svg,
.product-detail .sc-dona--box svg,
.product-summary .sc-dona--box b,
.product-detail .sc-dona--box b {
  color: var(--sc-ui-ink, #242428);
}

.product-summary .sc-dona--box b,
.product-detail .sc-dona--box b,
.cart .sc-dona b {
  font-weight: 600;
}

@media (max-width: 1000px) {
  .product-summary__title {
    font-size: 24px;
    line-height: 34px;
  }
}

/* ------------------------------------------------------------
   2. 상세 탭 — 선택된 탭만 보라(활성 상태), 나머지는 잉크 계열
   ------------------------------------------------------------ */
.product-detail .tabs__item {
  font-size: var(--sc-ui-label-size, 14px); /* 줄 높이는 패키지 50px(탭 높이)를 그대로 둔다 */
  font-weight: 500;
}

/* ------------------------------------------------------------
   3. 구매 영역 CTA — 구매하기(btn--caution)를 보라 → 잉크
   ------------------------------------------------------------
   원본은 `.btn--caution{background:var(--point-color)}`(보라). 구매 영역·하단 바·옵션 시트 안에서만
   잉크로 바꾼다(다른 페이지의 caution 버튼은 부모 담당이라 건드리지 않는다).
   `:not(:disabled)` — 품절/비활성 버튼의 패키지 회색(상태색)은 그대로 둔다.
   ------------------------------------------------------------ */
.sc-buy .btn--caution:not(:disabled),
.sc-pbar .btn--caution:not(:disabled),
.product-detail .purchase__btns .btn--caution:not(:disabled),
.product-detail .purchase__buy-btn:not(:disabled),
.product-detail .purchase__app-card-order-btn:not(:disabled) {
  background-color: var(--sc-ui-primary, #242428);
  border-color: var(--sc-ui-primary, #242428);
  color: var(--sc-ui-on-primary, #fff);
}

/* 버튼 글자 = 주요 버튼 16/26. 높이는 product.css 가 정한 50px(PC)/44px(모바일)을 그대로 둔다.
   product.css 의 `…:not(.sc-like)` 와 같은 구체성으로 맞춰 뒤에서 이긴다 */
.product-detail .sc-buy__acts .btn:not(.sc-like),
.sc-pbar__cta .btn:not(.sc-like),
.product-detail .purchase__btns .btn:not(.sc-like),
.product-detail .purchase__buy-btn,
.product-detail .purchase__restock-btn {
  font-size: var(--sc-ui-body-size, 16px);
  line-height: var(--sc-ui-body-line, 26px);
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--sc-ui-radius, 6px);
}

/* 보조 버튼(장바구니, 흰 바탕): 선을 진하게(#898994) 해서 흰 바탕에서도 버튼 경계가 보이게 */
.sc-buy .btn--dark,
.sc-pbar .btn--dark,
.product-detail .purchase__btns .btn--dark {
  border-color: var(--sc-ui-border, #898994);
  color: var(--sc-ui-ink, #242428);
}

/* 포커스: 보라 링은 "포커스" 상태에만. 잉크 버튼 위에서도 보이도록 바깥에 2px + 오프셋 */
.sc-buy .btn:focus-visible,
.sc-pbar .btn:focus-visible,
.product-detail .purchase__btns .btn:focus-visible,
.product-detail .purchase__buy-btn:focus-visible,
.sc-like:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}

/* ------------------------------------------------------------
   4. 옵션 시트·수량·총액 (PC .sc-buy / 모바일 .purchase.product-detail 공통)
   ------------------------------------------------------------ */

/* 옵션 선택 칸: 입력 16/26. 칸 높이(48px)는 product.css 그대로.
   hidden 시트(.purchase__option[hidden])에는 display 를 주지 않는다 */
.sc-buy .select-box,
.product-detail .purchase__option .select-box {
  font-size: var(--sc-ui-body-size, 16px);
  line-height: var(--sc-ui-body-line, 26px);
  color: var(--sc-ui-ink, #242428);
  border-color: var(--sc-ui-input-border, #e5e5ea);
  border-radius: var(--sc-ui-radius, 6px);
}

/* 수량 라벨 = 라벨 14/22/500 (원래 13/600) */
.sc-buy .quantity__label,
.product-detail.purchase .quantity__label {
  font-size: var(--sc-ui-label-size, 14px);
  line-height: var(--sc-ui-label-line, 22px);
  font-weight: 500;
}

/* 수량 숫자 입력 = 입력 16/26. 칸(44~46px)은 그대로, 글자만 키운다 */
.sc-buy .counter__input input,
.product-detail.purchase .counter__input input {
  font-size: var(--sc-ui-body-size, 16px);
  line-height: var(--sc-ui-body-line, 26px);
  color: var(--sc-ui-ink, #242428);
}
/* 수량 칸 모서리를 공통 반경(6px)에 맞춤 */
.sc-buy .counter,
.product-detail.purchase .counter {
  border-radius: var(--sc-ui-radius, 6px);
}

/* '총 상품금액' 라벨은 본문 16/26, 금액(.highlight)은 가격 20/28/600 잉크.
   product.css 는 PC 20/800, 모바일 18/800 이라 모바일에서도 20 으로 통일한다 */
.sc-buy .purchase__total,
.product-detail.purchase .purchase__total {
  font-size: var(--sc-ui-body-size, 16px);
  line-height: var(--sc-ui-body-line, 26px);
  color: var(--sc-ui-ink, #242428);
}
.product-detail .sc-buy .purchase__total .highlight,
.product-detail .purchase__total .highlight,
.sc-buy .purchase__total .highlight {
  font-size: var(--sc-ui-section-size, 20px);
  line-height: var(--sc-ui-section-line, 28px);
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
}

/* ------------------------------------------------------------
   5. 하단 고정 바(.sc-pbar, PC) · 모바일 하단 바 상품명
   ------------------------------------------------------------ */
/* 상품명 = 라벨 14/22/500 (바 높이 78px 안에 이름 22 + 가격 28 이 들어간다) */
.sc-pbar__nm,
.sc-purchase__nm {
  font-size: var(--sc-ui-label-size, 14px);
  line-height: var(--sc-ui-label-line, 22px);
  font-weight: 500;
  color: var(--sc-ui-ink, #242428);
}
/* 하단 바 가격 = 가격 20/28/600 잉크 */
.sc-pbar__pr {
  margin-top: 0;
  line-height: var(--sc-ui-section-line, 28px);
  color: var(--sc-ui-ink, #242428);
}
.sc-pbar__pr b {
  font-size: var(--sc-ui-section-size, 20px);
  line-height: var(--sc-ui-section-line, 28px);
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
}

/* ------------------------------------------------------------
   6. 장바구니 (Cart.jsx · CartPriceTag.jsx · FixedOrderBtn.jsx)
   ------------------------------------------------------------ */

/* 주문하기 = 잉크 주요 CTA 16/26. 패키지는 --point-color(보라) + 높이 45px.
   높이는 44px 이상을 유지(45px 그대로). 고정 하단 바 버전(.cart__fixed-order-btn)도 같은 클래스 */
/* :not(:disabled) — 비활성 주문 버튼의 패키지 회색(상태색)은 그대로 둔다 */
.cart .cart__order-btn:not(:disabled),
.cart__fixed-order-btn .cart__order-btn:not(:disabled) {
  background-color: var(--sc-ui-primary, #242428);
  border-color: var(--sc-ui-primary, #242428);
  color: var(--sc-ui-on-primary, #fff);
  font-size: var(--sc-ui-body-size, 16px);
  line-height: var(--sc-ui-body-line, 26px);
  font-weight: 600;
  min-height: 44px;
  border-radius: var(--sc-ui-radius, 6px);
}
.cart .cart__order-btn:focus-visible,
.cart__fixed-order-btn .cart__order-btn:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}

/* 빈 장바구니 '쇼핑하러 가기' 링크: 이미 잉크 계열이지만 토큰 값(#242428)·16/26 으로 통일 */
.cart .cart__empty-link {
  background: var(--sc-ui-primary, #242428);
  color: var(--sc-ui-on-primary, #fff);
  font-size: var(--sc-ui-body-size, 16px);
  line-height: var(--sc-ui-body-line, 26px);
  border-radius: var(--sc-ui-radius, 6px);
}
.cart .cart__empty-link:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}
.cart .cart__empty {
  font-size: var(--sc-ui-body-size, 16px);
  line-height: var(--sc-ui-body-line, 26px);
  color: var(--sc-ui-muted, #62626b);
}

/* 상품 줄 금액 = 가격 20/28/600 잉크. 줄바꿈 규칙(nowrap)은 cart.css 가 이미 처리 */
.cart .cart__product-price > span:first-child {
  font-size: var(--sc-ui-section-size, 20px);
  line-height: var(--sc-ui-section-line, 28px);
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
}
/* 옵션 문구 = 라벨 14/22 */
.cart .cart__product-option {
  font-size: var(--sc-ui-label-size, 14px);
  line-height: var(--sc-ui-label-line, 22px);
  color: var(--sc-ui-muted, #62626b);
}
/* 수량 입력 숫자 16/26 (칸 44/46px 고정이라 레이아웃은 그대로) */
.cart .quantity-changer__input input {
  font-size: var(--sc-ui-body-size, 16px);
  line-height: var(--sc-ui-body-line, 26px);
  color: var(--sc-ui-ink, #242428);
}

/* 고정 하단 요약: 패키지가 선택 개수(em)와 합계 강조를 --point-color(보라)로 칠한다 → 잉크.
   합계 금액(strong)은 가격 20/28/600, 라벨은 라벨 14/22 */
.cart__fixed-summary em {
  color: var(--sc-ui-ink, #242428);
  font-style: normal;
}
.cart__fixed-summary strong {
  font-size: var(--sc-ui-section-size, 20px);
  line-height: var(--sc-ui-section-line, 28px);
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
}
.cart__fixed-summary-label {
  font-size: var(--sc-ui-label-size, 14px);
  line-height: var(--sc-ui-label-line, 22px);
}
.cart__fixed-summary-number {
  color: var(--sc-ui-muted, #62626b);
}

/* 결제 요약 합계(할인 정보 영역) 잉크. 보라 강조는 제거하되 상태색(할인/오류)은 건드리지 않는다 */
.cart .discount-price-information__total {
  color: var(--sc-ui-ink, #242428);
}

/* 장바구니 후원 안내(.sc-dona--summary / .cart__product-donation): 연보라 알약 → 흰 바탕 + 옅은 선 + 잉크.
   components.css `.sc-dona--pill` 과 같은 구조를 장바구니 안에서만 덮는다 */
.cart .sc-dona,
.cart .cart__product-donation {
  font-size: var(--sc-ui-label-size, 14px);
  line-height: var(--sc-ui-label-line, 22px);
}
.cart .sc-dona--pill,
.cart .sc-dona--box,
.cart .sc-dona--summary {
  background: var(--sc-white, #fff);
  border: 1px solid var(--sc-ui-line, #e3e3e8);
  border-radius: var(--sc-ui-radius, 6px);
  color: var(--sc-ui-ink, #242428);
}
.cart .sc-dona--pill svg,
.cart .sc-dona--pill b,
.cart .sc-dona--box svg,
.cart .sc-dona--box b,
.cart .sc-dona--summary svg,
.cart .sc-dona--summary b,
.cart .sc-dona--inline {
  color: var(--sc-ui-ink, #242428);
}

/* 모바일: 장바구니 주문 바의 글자만 맞춘다(구조·44px 터치 영역은 cart.css 그대로) */
@media (max-width: 1000px) {
  .cart__fixed-order-btn .cart__order-btn {
    min-height: 44px;
  }
}

/* 구매 시트 '총 상품 금액': 320px에서 수량 칸 옆 자리(140px)가 모자라 '총 상품 / 금액'으로 끊겼다
   → 라벨은 항상 한 줄, 374px 이하에서는 라벨(13px 회색)을 금액 위에 오른쪽 정렬로 쌓는다 */
.sc-buy .purchase__total > span:first-child,
.product-detail.purchase .purchase__total > span:first-child {
  white-space: nowrap;
}
@media (max-width: 374px) {
  .sc-buy:has(.quantity.undeletable) .purchase__total,
  .product-detail.purchase .purchase__option:not([hidden]):has(.quantity.undeletable) .purchase__total {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }
  .sc-buy .purchase__total > span:first-child,
  .product-detail.purchase .purchase__total > span:first-child {
    font-size: 13px;
    line-height: 18px;
    color: var(--sc-ui-muted, #62626b);
  }
}
/* 구매 시트 아래 52px 빈 공간: 네이버페이를 쓰지 않아 비어 있는 버튼 자리(위아래 여백 20px)가 그리드 한 줄을 차지했다
   → 안에 버튼이 없을 때만 숨긴다(네이버페이를 켜면 그대로 보임) */
.purchase__naver-pay-btn:not(:has(*)) {
  display: none;
}

@charset 'utf-8';

/* 2026-11-08 사용자 선택 3안: 구매 UI 모노톤.
   body/패키지 전역 line-height 또는 --point-color를 바꾸지 않는다.
   실제 주문서·주소검색의 역할별 요소만 교체하고 오류/파트너 로고는 보존한다. */

/* 구매 화면 공통 셸의 정적 강조도 줄인다. 로고 자체와 활성/포커스 색은 보존한다. */
body:has(.order-sheet) .sc-notice b,
body:has(.cart) .sc-notice b,
body:has(.product-detail) .sc-notice b {
  color: inherit;
}

/* 큰 섹션은 외곽선 없이 바탕과 여백으로만 구분한다. 입력 경계는 별도로 유지한다. */
.order-sheet.sc-osheet {
  color: var(--sc-ui-ink);
}
main:has(.order-sheet) h1,
main:has(.cart) h1 {
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-page-size);
  line-height: var(--sc-ui-page-line);
  font-weight: 600;
}
.order-sheet .l-panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.order-sheet .l-panel + .l-panel {
  margin-top: 24px;
}
.order-sheet .accordion__title,
.order-sheet .order-sheet__promotion-title,
.order-sheet .order-sheet__pay-method-title,
.order-sheet .order-sheet__cash-receipt-title {
  height: auto;
  min-height: 72px;
  padding: 20px 24px;
  border-color: var(--sc-ui-line);
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-section-size);
  line-height: var(--sc-ui-section-line);
  font-weight: 600;
}
.order-sheet .accordion__items,
.order-sheet .order-sheet__promotion-items,
.order-sheet .order-sheet__pay-method-btns,
.order-sheet .order-sheet__terms {
  padding: 24px;
}
.order-sheet .order-sheet__item {
  margin-bottom: 24px;
}
.order-sheet .order-sheet__item-subject {
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-label-line);
  font-weight: 500;
  margin-bottom: 8px;
}

/* TextField/SelectBox는 다른 패키지 요소다. 같은 경계/높이를 각각 명시한다. */
.order-sheet .text-field,
.order-sheet .select-box {
  height: 48px;
  min-width: 0;
  border: 1px solid var(--sc-ui-input-border);
  border-radius: var(--sc-ui-radius);
  background-color: var(--sc-white);
  box-shadow: none;
}
.order-sheet .text-field input,
.order-sheet .select-box select {
  height: 100%;
  color: var(--sc-ui-ink);
  background: transparent;
  font-family: var(--sc-font);
  font-size: var(--sc-ui-body-size);
  line-height: var(--sc-ui-body-line);
  font-weight: 400;
}
.order-sheet .select-box select {
  border: 0;
  border-radius: inherit;
  padding-top: 0;
  padding-bottom: 0;
}
.order-sheet .text-field input::placeholder {
  color: var(--sc-ui-muted);
  opacity: 1;
}
.order-sheet .text-field:focus-within,
.order-sheet .select-box:focus-within {
  border-color: var(--sc-blue);
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}
.order-sheet .text-field input:focus,
.order-sheet .select-box select:focus {
  outline: none;
}
.order-sheet .text-field:has(input[aria-invalid='true']) {
  border-color: var(--sc-danger);
}
.order-sheet .text-field:has(input:disabled) {
  background: var(--sc-off);
}
.order-sheet .check-radio__label {
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-label-line);
}

/* 이 두 안내는 정적 설명이다. 실제 검증 오류용 클래스를 회색으로 덮지 않는다. */
.order-sheet .sc-osheet__help {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.order-sheet .sc-osheet__help li {
  margin: 0;
  padding: 0;
  color: var(--sc-ui-muted);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-help-line);
  font-weight: 400;
}
.order-sheet .sc-osheet__help li::marker {
  content: '';
}
.order-sheet .order-sheet__promotion-items--guest p,
.order-sheet .order-sheet__promotion-items--guest em {
  color: var(--sc-ui-muted);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-help-line);
  font-style: normal;
}

/* 주소찾기·로그인·약관보기는 보조 행동. 최종 결제 버튼만 잉크색 면으로 강조한다. */
.order-sheet .address-form .btn,
.order-sheet .order-sheet__sign-in-btn {
  min-height: 48px;
  border: 1px solid var(--sc-ui-border);
  border-radius: var(--sc-ui-radius);
  background: var(--sc-white);
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-label-line);
  font-weight: 500;
}
.order-sheet .order-sheet__term-checker .btn {
  min-width: 44px;
  min-height: 44px;
  width: auto;
  height: auto;
  color: var(--sc-ui-muted);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-label-line);
  font-weight: 500;
  border-radius: var(--sc-ui-radius);
  background: transparent;
}
.order-sheet .order-sheet__pay-btn {
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 16px 0 0;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--sc-ui-radius);
  font-size: var(--sc-ui-body-size);
  line-height: var(--sc-ui-body-line);
  font-weight: 600;
}
.order-sheet .order-sheet__pay-btn:not(:disabled) {
  background: var(--sc-ui-primary);
  color: var(--sc-ui-on-primary);
}
.order-sheet .btn:focus-visible,
.order-sheet .pay-method-btn:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 3px;
}

/* 선택 상태는 작은 보라 경계로 표시한다. 잉크색 배경은 기존 흰 결제 아이콘도 읽히게 한다. */
.order-sheet .order-sheet__pay-method-btns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.order-sheet .order-sheet__pay-method-btns .pay-method-btn {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  height: auto;
  margin: 0;
  padding: 14px;
  border-color: var(--sc-ui-border);
  border-radius: var(--sc-ui-radius);
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-label-line);
  font-weight: 500;
}
.order-sheet .order-sheet__pay-method-btns .pay-method-btn--checked {
  /* 2026-11-10: 잉크색 면 + 파란 테두리 이중 강조 → 잉크색 면 하나로(사용자 결정) */
  background: var(--sc-ui-primary);
  border-color: var(--sc-ui-primary);
  color: var(--sc-ui-on-primary);
  box-shadow: none;
}
.order-sheet .pay-method-btn__label {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 주문 요약도 섹션 카드처럼 외곽선을 없앤다. 후원 기능/금액/문구는 유지한다. */
.order-sheet .order-sheet__payment-info {
  padding: 24px;
  border: 0;
  border-radius: 12px;
  background: var(--sc-white);
}
.order-sheet .sc-dona--box.sc-dona--filled {
  padding: 14px;
  background: var(--sc-off);
  color: var(--sc-ui-muted);
  border-radius: var(--sc-ui-radius);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-help-line);
}
.order-sheet .sc-dona--box.sc-dona--filled svg,
.order-sheet .sc-dona--box.sc-dona--filled b {
  color: var(--sc-ui-ink);
}
.order-sheet .sc-dona--box.sc-dona--filled b {
  font-weight: 600;
}
.cart .cart__payment-info {
  padding: 24px;
  border: 1px solid var(--sc-ui-line);
  border-radius: 12px;
  background: var(--sc-white);
  box-shadow: none;
}
.order-sheet .price-tag,
.cart .price-tag {
  padding: 8px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.order-sheet .price-tag__final-amount,
.cart .price-tag__final-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--sc-ui-ink);
}
.order-sheet .price-tag__final-amount dt,
.cart .price-tag__final-amount dt {
  font-size: var(--sc-ui-body-size);
  line-height: var(--sc-ui-body-line);
  font-weight: 500;
}
.order-sheet .price-tag__final-amount dd,
.cart .price-tag__final-amount dd,
.order-sheet .price-tag__final-amount em,
.cart .price-tag__final-amount em {
  font-size: var(--sc-ui-section-size);
  line-height: var(--sc-ui-section-line);
  font-weight: 600;
  color: var(--sc-ui-ink);
  white-space: nowrap;
}
.order-sheet .price-tag__details,
.cart .price-tag__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
}
.order-sheet .price-tag__details dt,
.cart .price-tag__details dt,
.order-sheet .price-tag__details dd,
.cart .price-tag__details dd {
  width: auto;
  margin: 0;
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-label-line);
}
.order-sheet .price-tag__details dt,
.cart .price-tag__details dt {
  color: var(--sc-ui-muted);
}
.order-sheet .price-tag__details dd,
.cart .price-tag__details dd,
.order-sheet .price-tag__details em,
.cart .price-tag__details em {
  color: var(--sc-ui-ink);
  font-weight: 500;
  white-space: nowrap;
  text-align: right;
}
.order-sheet .price-tag__division,
.cart .price-tag__division {
  border-color: var(--sc-ui-line);
}

/* 주소 검색은 다른 페이지에서도 쓰이는 동일 폼이므로 해당 컴포넌트 안으로 한정한다. */
.search-zip-code-form__search {
  height: auto;
  min-height: 120px;
  padding: 24px;
  gap: 12px;
  background: var(--sc-white);
  border-bottom: 1px solid var(--sc-ui-line);
}
.search-zip-code-form__search .search-field .text-field {
  height: 48px;
  background: var(--sc-white);
  border: 1px solid var(--sc-ui-input-border);
  border-radius: var(--sc-ui-radius);
}
.search-zip-code-form__search .search-field input {
  font-size: var(--sc-ui-body-size);
  line-height: var(--sc-ui-body-line);
  color: var(--sc-ui-ink);
}
.search-zip-code-form__search .search-field .text-field:focus-within {
  border-color: var(--sc-blue);
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}
.search-zip-code-form__search-tip {
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-help-line);
  color: var(--sc-ui-muted);
}
.search-zip-code-form__tip-tit {
  margin: 24px 24px 12px;
  padding: 0;
  border: 0;
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-body-size);
  line-height: var(--sc-ui-body-line);
  font-weight: 600;
}
.search-zip-code-form__tip-tit em {
  color: var(--sc-ui-ink);
}
.search-zip-code-form__tip-list {
  padding-left: 40px;
  padding-right: 24px;
}
.search-zip-code-form__tip-list li {
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-help-line);
}
.search-zip-code-form__tip-list li > span {
  color: var(--sc-ui-muted);
}
.search-zip-code-form__tip-list li + li {
  margin-top: 8px;
}
.modal.full-modal .title-modal__title {
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-section-size);
  line-height: var(--sc-ui-section-line);
  font-weight: 600;
}

@media (max-width: 1000px) {
  main:has(.order-sheet) h1,
main:has(.cart) h1 {
    font-size: 24px;
    line-height: 34px;
  }
  .order-sheet .accordion__title,
  .order-sheet .order-sheet__promotion-title,
  .order-sheet .order-sheet__pay-method-title,
  .order-sheet .order-sheet__cash-receipt-title {
    padding-left: 20px;
    padding-right: 20px;
  }
  .order-sheet .accordion__items,
  .order-sheet .order-sheet__promotion-items,
  .order-sheet .order-sheet__pay-method-btns,
  .order-sheet .order-sheet__terms {
    padding: 20px;
  }
  .order-sheet .order-sheet__payment-info {
    margin: 24px 20px 0;
    padding: 20px;
  }
  .order-sheet .order-sheet__pay-btn {
    width: calc(100% - 40px);
    margin: 16px 20px 0;
  }
}
@media (max-width: 600px) {
  .order-sheet .order-sheet__pay-method-btns {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* PC 입력 폭은 데이터 길이에 맞춘다. 좁은 화면은 기존 100% 흐름을 유지한다. */
@media (min-width: 1001px) {
  .order-sheet .sc-osheet__short-field {
    display: flex;
    width: min(100%, 320px);
  }
  .order-sheet .phone-number-input,
  .order-sheet .sc-osheet__shipping-select {
    width: 100%;
    max-width: 360px;
  }
  .order-sheet .email-input,
  .order-sheet .order-sheet__domain-select {
    width: 100%;
    max-width: 440px;
  }
}

/* 영역 구분 후속 보정: 진한 선이 아니라 바탕·흰 면·외부 간격으로 정보 덩어리를 나눈다.
   주문서에만 적용하며 상품 사진/홈 배경이나 폰트 전역값은 건드리지 않는다. */
.page__content.site:has(> main .order-sheet) {
  background-color: var(--sc-ui-canvas);
}
.sc-osheet__main > .order-sheet__item:empty {
  display: none;
}
.order-sheet .l-panel,
.order-sheet .order-sheet__terms {
  background: var(--sc-white);
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}
.order-sheet .l-panel + .l-panel,
.order-sheet .order-sheet__terms {
  margin-top: 28px;
}
.order-sheet .accordion,
.order-sheet .accordion__items,
.order-sheet .order-sheet__promotion-items,
.order-sheet .order-sheet__pay-method-btns {
  background: transparent;
}
.order-sheet .accordion__title,
.order-sheet .order-sheet__promotion-title,
.order-sheet .order-sheet__pay-method-title,
.order-sheet .order-sheet__cash-receipt-title {
  min-height: 68px;
  padding: 20px 24px;
  border-bottom: 0;
}
.order-sheet .accordion__items,
.order-sheet .order-sheet__promotion-items,
.order-sheet .order-sheet__pay-method-btns {
  padding: 8px 24px 24px;
}
.order-sheet .accordion__items > .order-sheet__item:last-child {
  margin-bottom: 0;
}
@media (max-width: 1000px) {
  .order-sheet.sc-osheet {
    padding-left: 16px;
    padding-right: 16px;
  }
  .order-sheet .accordion__title,
  .order-sheet .order-sheet__promotion-title,
  .order-sheet .order-sheet__pay-method-title,
  .order-sheet .order-sheet__cash-receipt-title {
    padding-left: 20px;
    padding-right: 20px;
  }
  .order-sheet .accordion__items,
  .order-sheet .order-sheet__promotion-items,
  .order-sheet .order-sheet__pay-method-btns {
    padding: 8px 20px 20px;
  }
  .order-sheet .order-sheet__payment-info {
    margin: 28px 0 0;
  }
  .order-sheet .order-sheet__pay-btn {
    width: 100%;
    margin: 16px 0 0;
  }
}

/* 로그인은 이 영역의 보조 행동이다. 안내 영역 전체 폭을 차지하지 않게 둔다. */
.order-sheet .order-sheet__sign-in-btn {
  width: auto;
  min-width: 128px;
  padding-left: 18px;
  padding-right: 18px;
  align-self: flex-start;
}

/* 입력 전에 필수·선택 여부를 알 수 있게, 모노톤 보조 글자로 표시한다. */
.order-sheet .sc-osheet__required,
.order-sheet .sc-osheet__optional,
.shipping-address-form .sc-osheet__required,
.shipping-address-form .sc-osheet__optional {
  display: inline-block;
  margin-left: 6px;
  color: var(--sc-ui-muted, #62626b);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  white-space: nowrap;
}

/* 결제 실패 (2026-11-10)
   - PC 에서 제목·버튼은 가운데인데 안내 상자만 왼쪽에 붙어 있었다 → 상자도 가운데 520px
   - '홈으로 가기' 회색 → 다른 주 버튼과 같은 잉크색 */
.order-confirm__message--fail {
  text-align: center;
  word-break: keep-all;
}
.order-confirm__message--fail .order-confirm__fail-reason {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sc-gray);
}
.order-confirm__message--fail .order-confirm__sub-message--fail {
  max-width: 520px;
  margin: 24px auto 0;
  text-align: center;
  line-height: 1.6;
}
.order-confirm .order-confirm__go-home-btn {
  background: var(--sc-ui-primary, #242428);
  border-color: var(--sc-ui-primary, #242428);
  color: var(--sc-ui-on-primary, #fff);
}

@charset 'utf-8';

/* 선데이클럽 선택 필드. OS 메뉴 대신 독립된 listbox를 사용한다.
   메뉴는 body 포털이므로 아래 스타일은 주문서 조상 선택자에 의존하지 않는다. */
.sc-select {
  width: 100%;
  min-width: 0;
  font-family: var(--sc-font);
}
.sc-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--sc-ui-input-border);
  border-radius: var(--sc-ui-radius);
  background: var(--sc-white);
  color: var(--sc-ui-ink);
  font-family: inherit;
  font-size: var(--sc-ui-body-size);
  font-weight: 400;
  line-height: var(--sc-ui-body-line);
  text-align: left;
  cursor: pointer;
}
.sc-select__trigger:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}
.sc-select__trigger.is-open {
  border-color: var(--sc-line-2);
}
.sc-select__trigger:disabled {
  background: var(--sc-off);
  color: var(--sc-gray-2);
  cursor: not-allowed;
}
.sc-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sc-select__arrow {
  flex: none;
  color: var(--sc-ui-muted);
  transition: transform 0.12s ease;
}
.sc-select__trigger.is-open .sc-select__arrow {
  transform: rotate(180deg);
}
.sc-select__menu {
  position: fixed;
  z-index: 300;
  box-sizing: border-box;
  padding: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--sc-ui-input-border);
  border-radius: 8px;
  background: var(--sc-white);
  color: var(--sc-ui-ink);
  box-shadow: 0 8px 24px rgba(36, 36, 40, 0.08);
  font-family: var(--sc-font);
  font-size: var(--sc-ui-body-size);
  line-height: 24px;
}
.sc-select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.sc-select__option.is-active {
  background: var(--sc-off);
}
.sc-select__option[aria-selected='true'] {
  font-weight: 500;
}
.sc-select__option[aria-disabled='true'] {
  color: var(--sc-gray-2);
  cursor: not-allowed;
}
.sc-select__check {
  flex: none;
  opacity: 0;
}
.sc-select__option[aria-selected='true'] .sc-select__check {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .sc-select__arrow { transition: none; }
}

/* ------------------------------------------------------------------
   이메일 도메인 자동완성 (v0.6.8) — 도메인 칸 안에서 바로 고르기
   목록 모양은 위 선택창(.sc-select__menu)과 같다: 흰 면 · 8px 모서리 · 옅은 선 · 44px 항목
   ------------------------------------------------------------------ */
.sc-email-field__domain {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}
.sc-email-field__domain .email-input__domain {
  width: 100%;
}
.sc-email-field__domain .email-input__domain input {
  padding-right: 40px;
}
.sc-email-field__toggle {
  position: absolute;
  top: 50%;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: var(--sc-chevron-muted, #62626b);
  transform: translateY(-50%);
  cursor: pointer;
}
.sc-email-field__toggle[aria-expanded='true'] .sc-chevron,
.sc-email-field__domain:has([aria-expanded='true']) .sc-email-field__toggle .sc-chevron {
  transform: rotate(180deg);
}
.sc-email-field__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--sc-line, #e7e7ea);
  border-radius: var(--sc-ui-radius, 8px);
  background: var(--sc-white, #fff);
  box-shadow: 0 8px 24px rgba(17, 17, 19, 0.08);
}
.sc-email-field__option {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--sc-ui-ink, #242428);
  cursor: pointer;
}
.sc-email-field__option:hover,
.sc-email-field__option.is-active {
  background: var(--sc-off, #f6f6f7);
}
.sc-email-field__option[aria-selected='true'] {
  font-weight: 600;
}

@charset 'utf-8';

/* 계정 화면 모노톤: 로그인 · 회원가입 · 아이디/비밀번호 찾기 · 비회원 주문조회 · 회원전용 게이트.
   monochrome-checkout.css 와 같은 규칙을 쓴다.
   - 주 행동(CTA)은 잉크색 면 rgb(36, 36, 40) = --sc-ui-primary, 보조는 흰 면 + 선
   - 입력은 옅은 선(--sc-ui-input-border) + 48px, 포커스/선택만 보라(--sc-blue)
   - 오류 빨강(--sc-danger / --caution-color)은 건드리지 않는다
   - 소셜 로그인(.sign-in-open-id, .sign-up-menu__link-open-id, .open-id-sign-in*)은 공식 버튼 색·로고를 유지하려고 일절 겨냥하지 않는다
   - line-height 는 전역으로 바꾸지 않고, 입력 칸 안에서만 지정한다
   index.js 에서 account.css / signup.css / guest.css / overrides.css 보다 뒤에 불러야 한다. */

/* ---------- 1. 입력 칸: 옅은 선 + 48px ---------- */
.normal-sign-in__input-wrap,
.guest-order__input-wrap,
.sign-up-form__input-wrap > .text-field,
.find-id-form__input-wrap,
.find-password-form__input-wrap,
.find-password-authentication__input-wrap {
  min-width: 0;
}
.normal-sign-in__input-wrap {
  height: 48px;
  margin-top: 12px;
}
.normal-sign-in__input-wrap:first-child {
  margin-top: 0;
}
.sign-in .text-field,
.sign-up-form .text-field,
.find-id-form__input-wrap .text-field,
.find-password-form__input-wrap .text-field,
.find-password-authentication__input-wrap .text-field,
.change-password-form__input-wrap .text-field,
.sign-in > .guest-order:only-child .text-field {
  height: 48px;
  min-width: 0;
  border: 1px solid var(--sc-ui-input-border);
  border-radius: var(--sc-ui-radius);
  background-color: var(--sc-white);
  box-shadow: none;
}
.sign-in .text-field input,
.sign-up-form .text-field input,
.find-id-form__input-wrap .text-field input,
.find-password-form__input-wrap .text-field input,
.find-password-authentication__input-wrap .text-field input,
.change-password-form__input-wrap .text-field input,
.sign-in > .guest-order:only-child .text-field input {
  height: 100%;
  padding: 0 14px;
  color: var(--sc-ui-ink);
  background: transparent;
  font-family: var(--sc-font);
  font-size: var(--sc-ui-body-size);
  line-height: var(--sc-ui-body-line);
}
.sign-in .text-field input::placeholder,
.sign-up-form .text-field input::placeholder,
.find-id-form__input-wrap .text-field input::placeholder,
.find-password-form__input-wrap .text-field input::placeholder,
.find-password-authentication__input-wrap .text-field input::placeholder,
.change-password-form__input-wrap .text-field input::placeholder,
.sign-in > .guest-order:only-child .text-field input::placeholder {
  color: var(--sc-ui-muted);
  opacity: 1;
}
.sign-in .text-field:focus-within,
.sign-up-form .text-field:focus-within,
.find-id-form__input-wrap .text-field:focus-within,
.find-password-form__input-wrap .text-field:focus-within,
.find-password-authentication__input-wrap .text-field:focus-within,
.change-password-form__input-wrap .text-field:focus-within,
.sign-in > .guest-order:only-child .text-field:focus-within {
  border-color: var(--sc-blue);
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}
.sign-in .text-field input:focus,
.sign-up-form .text-field input:focus,
.find-id-form__input-wrap .text-field input:focus,
.find-password-form__input-wrap .text-field input:focus,
.find-password-authentication__input-wrap .text-field input:focus,
.change-password-form__input-wrap .text-field input:focus {
  outline: none;
}
.sign-up-form .text-field:has(input:disabled),
.sign-in .text-field:has(input:disabled),
.find-id-form__input-wrap .text-field:has(input:disabled) {
  background-color: var(--sc-off);
}

/* 이메일/휴대폰은 로컬 입력(SundayEmailField, SundayPhoneField)이다. 선택창만 공통 SundaySelect 로 쓴다. */
.sc-email-field {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sc-email-field .text-field {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}
.sc-email-field__at {
  flex: none;
  color: var(--sc-ui-muted);
  font-size: var(--sc-ui-body-size);
  line-height: var(--sc-ui-body-line);
}
.sc-email-field + .sc-select {
  margin-top: 8px;
}
.sc-phone-field {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sc-phone-field__carrier {
  flex: 0 0 112px;
  min-width: 0;
}
.sc-phone-field .text-field {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}
.sc-phone-field .phone-number-input__bar {
  flex: none;
  width: 8px;
  height: 0;
  border-top: 1px solid var(--sc-ui-border);
}

/* 계정 폼 안의 선택창: 입력과 같은 높이, 같은 옅은 선. 패키지 button 규칙이 새지 않게 값을 명시한다. */
.sign-up-form .sc-select__trigger,
.find-id-form__input-wrap .sc-select__trigger {
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--sc-ui-input-border);
  border-radius: var(--sc-ui-radius);
  background: var(--sc-white);
  color: var(--sc-ui-ink);
  font-family: var(--sc-font);
  font-size: var(--sc-ui-body-size);
  font-weight: 400;
  line-height: var(--sc-ui-body-line);
  text-align: left;
}
.sign-up-form .sc-select__trigger:focus-visible,
.find-id-form__input-wrap .sc-select__trigger:focus-visible {
  border-color: var(--sc-blue);
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}
.sign-up-form .sc-select__trigger.is-open,
.find-id-form__input-wrap .sc-select__trigger.is-open {
  border-color: var(--sc-blue);
}
.sign-up-form .sc-select__trigger:disabled,
.find-id-form__input-wrap .sc-select__trigger:disabled {
  background: var(--sc-off);
  color: var(--sc-gray-2);
}
/* 같은 폼에 남아 있는 패키지 select(생년월일 · 주소 · 추가정보)도 같은 선과 높이로 맞춘다. */
.sign-up-form .select-box,
.sign-up-form .phone-number-input .select-box,
.sign-up-form .birthday-input .select-box {
  height: 48px;
  border: 1px solid var(--sc-ui-input-border);
  border-radius: var(--sc-ui-radius);
}
.sign-up-form .select-box:focus-within {
  border-color: var(--sc-blue);
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}
.sign-up-form .select-box select {
  height: 100%;
  font-size: var(--sc-ui-body-size);
  color: var(--sc-ui-ink);
}

/* ---------- 2. 주 행동은 잉크색 면, 보조는 흰 면 + 선 ---------- */
.normal-sign-in .btn--default,
.sign-up-form__submit-btn,
.find-id .btn--default,
.find-password .btn--default,
.find-id-form__btn-wrap .btn,
.find-password-form__btn-wrap .btn,
.sign-in > .guest-order:only-child .btn {
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid var(--sc-ui-primary);
  border-radius: var(--sc-ui-radius);
  background-color: var(--sc-ui-primary);
  color: var(--sc-ui-on-primary);
  font-size: var(--sc-ui-body-size);
  line-height: var(--sc-ui-body-line);
  font-weight: 600;
}
.find-password-form__btn-wrap .btn {
  width: auto;
  margin-top: 0;
}
.normal-sign-in .btn--default:hover,
.sign-up-form__submit-btn:hover,
.find-id .btn--default:hover,
.find-password .btn--default:hover,
.find-id-form__btn-wrap .btn:hover,
.find-password-form__btn-wrap .btn:hover,
.sign-in > .guest-order:only-child .btn:hover {
  background-color: var(--sc-ui-primary);
  filter: brightness(1.25);
}
.normal-sign-in .btn--default:disabled,
.sign-up-form__submit-btn:disabled,
.find-id .btn--default:disabled,
.find-password .btn--default:disabled {
  opacity: 0.45;
  filter: none;
}
.normal-sign-in .btn:focus-visible,
.sign-up-form__submit-btn:focus-visible,
.find-id-form__btn-wrap .btn:focus-visible,
.find-password-form__btn-wrap .btn:focus-visible,
.sign-in > .guest-order:only-child .btn:focus-visible,
.sign-up-form .btn:focus-visible,
.guest-order .btn:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 3px;
}
/* 로그인 화면 아래 비회원 주문조회 버튼과 가입 폼의 확인/인증 버튼은 보조: 흰 면 + 선 */
.sign-in > .guest-order:not(:only-child) .btn,
.sign-up-form__input-wrap .btn:not(.sign-up-form__submit-btn) {
  min-height: 48px;
  border: 1px solid var(--sc-ui-border);
  border-radius: var(--sc-ui-radius);
  background-color: var(--sc-white);
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-label-line);
  font-weight: 500;
}

/* ---------- 3. 보조 링크: 터치 영역 44px 이상 ---------- */
.sign-in-link {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
}
.sign-in-link__item,
.find-password-form__btn-wrap a,
.sign-up-menu__link-normal a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--sc-ui-muted);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-label-line);
}
.sign-in-link__item {
  width: auto;
  min-width: 0;
  padding: 0 8px;
  white-space: nowrap;
}
.sign-in-link__item::after {
  top: 50%;
  height: 12px;
  transform: translateY(-50%);
  background-color: var(--sc-ui-border);
}
.sign-in-link__item:hover,
.find-password-form__btn-wrap a:hover,
.sign-up-menu__link-normal a:hover {
  color: var(--sc-ui-ink);
}
.sign-in-link__item:focus-visible,
.find-password-form__btn-wrap a:focus-visible,
.sign-up-menu__link-normal a:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
}

/* ---------- 4. 라벨과 고정 도움말 ---------- */
.sign-up-form__tit {
  color: var(--sc-ui-ink);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-label-line);
  font-weight: 500;
}
.sc-field-help {
  margin: 8px 0 0;
  padding: 0;
  color: var(--sc-ui-muted);
  font-size: var(--sc-ui-label-size);
  line-height: var(--sc-ui-help-line);
  font-weight: 400;
}

/* PC의 공통 PageHead와 카드 내부 제목 중복만 제거. 모바일 앱바·본문 제목은 유지한다. */
@media (min-width: 1001px) {
  .find-id .find-id__tit, .find-password .find-password__tit { display: none; }
}

@charset 'utf-8';

/* ============================================================
   선데이클럽 — 상품 목록(카테고리·검색) 모노크롬 보정
   ------------------------------------------------------------
   범위: DisplayCategoryListWrap 이 GalleryListPage 에 isCatalog 를 줄 때 붙는
         `.sc-catalog` 조상 아래에서만 적용한다. 기획전(Event)·상품섹션
         (ProductSectionList)의 같은 컴포넌트와 전역 `.thumb-*` 클래스는 건드리지 않는다.

   규칙
   - search.css · layout.css · components.css · select.css **뒤**에 import 한다.
   - `!important` 0개. 전역 body / font-size / line-height 변경 없음.
   - 상품 썸네일은 정방형 중앙 크롭(cover). 원본 파일은 수정하지 않는다.
   - 후원 배지·가격은 차콜 중립. 브랜드 보라는 포커스에만 남긴다.
   ============================================================ */

/* ---- 1. 툴바 ------------------------------------------------ */
.sc-catalog .total-sort__count--pending {
  color: var(--sc-ui-muted, #62626b);
}

.sc-catalog .total-sort .sc-select {
  width: auto;
  min-width: 132px;
}

.sc-catalog .total-sort .sc-select__trigger {
  height: 40px;
  padding: 0 12px 0 14px;
  border-color: var(--sc-ui-card-line, #ebebef);
  border-radius: var(--sc-rpill);
  font-size: 14px;
  line-height: 22px;
  color: var(--sc-ui-ink, #242428);
}

/* ---- 2. 사진 · 카드 (공통) -------------------------------------- */
.sc-catalog .thumb-item__img-box,
.sc-catalog .thumb-item__img {
  background: transparent;
}

/* 빈 여백 없이 정방형을 채우며 중앙 기준으로 넘치는 부분만 가린다. */
.sc-catalog .thumb-item__img img {
  object-fit: cover;
}

.sc-catalog .thumb-item__info {
  min-width: 0;
  padding: 12px 0 16px;
}

.sc-catalog .sc-pcard__info {
  min-width: 0;
}

/* 상품명은 실제 줄 수만큼만 높이를 쓰고 가격과의 기본 6px 간격을 유지한다. */
.sc-catalog .sc-pcard__name {
  color: var(--sc-ui-ink, #242428);
  overflow-wrap: anywhere;
}

.sc-catalog .sc-pcard__price {
  color: var(--sc-ui-ink, #242428);
}

/* 후원 배지 색상은 components.css 공통 규칙을 사용한다. */

/* ---- 3. PC 그리드 — 정방형 사진 틀을 자동 열로 ------------------ */
@media (min-width: 1001px) {
  .sc-catalog .thumb-GALLERY {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 44px 20px;
    align-items: start;
  }

  .sc-catalog .thumb-GALLERY .thumb-item {
    width: auto;
    min-width: 0;
    margin: 0;
  }

  .sc-catalog .thumb-item__media,
  .sc-catalog .thumb-item__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--sc-thumb-ratio);
  }

  .sc-catalog .thumb-item__img img {
    display: block;
    width: 100%;
    height: 100%;
  }
}

/* ---- 4. 모바일: 가로 넘침 방지 ---------------------------------- */
@media (max-width: 1000px) {
  .sc-catalog .thumb-GALLERY .thumb-item {
    min-width: 0;
  }

  .sc-catalog .total-sort .sc-select {
    min-width: 0;
  }
}

/* 3열 안에서 카드가 가운데 놓이게 해, 소량 상품에서도 오른쪽만 크게 비지 않게 한다. */
@media (min-width: 1001px) {
  .sc-catalog .thumb-GALLERY { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
  .sc-catalog .thumb-GALLERY .thumb-item { width: 100%; max-width: 320px; justify-self: center; }
}

/* 목록·카테고리·검색 결과: 선은 전폭, 안쪽 콘텐츠는 기존 1320px 계약을 유지한다. */
.l-content[data-content-width='full'] > .sc-pagehead,
.l-content[data-content-width='full'] > .breadcrumb,
.l-content[data-content-width='full'] > .category-content {
  max-width: var(--sc-maxw);
  margin-left: auto;
  margin-right: auto;
}
.l-panel.sc-catalog {
  border-radius: 0;
}
.sc-catalog__toolbar {
  position: sticky;
  top: var(--sc-hdh);
  z-index: 1;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--sc-line);
  background: var(--sc-white);
}
.sc-catalog__toolbar > .total-sort {
  position: static;
  width: 100%;
  max-width: var(--sc-maxw);
  margin: 0 auto;
  border-bottom: 0;
}
.sc-catalog__content {
  width: 100%;
  max-width: var(--sc-maxw);
  margin-left: auto;
  margin-right: auto;
}

/* 목록 위 경로 줄 (2026-11-10)
   - 좌측 여백 10px 이 아래 목록(20px)과 어긋났다 → 20px 로 맞춤
   - 글자 높이 13px 짜리 링크라 누르기 어려웠다 → 줄 높이 44px */
@media (max-width: 1000px) {
  .breadcrumb .breadcrumb__section {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .breadcrumb .breadcrumb__link,
  .breadcrumb .breadcrumb__link a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* PC 상품 목록 (2026-11-10)
   - 3열 칸(410px)에 상품(320px)이 가운데 놓여 상품 사이가 110px 넘게 벌어졌다 → 4열로 칸을 꽉 채움
   - 경로 줄 왼쪽(70px)이 아래 '총 N개'(80px)와 어긋났다 → 맞춤 */
@media (min-width: 1001px) {
  .sc-catalog .thumb-GALLERY {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 20px;
    justify-content: stretch;
  }
  .sc-catalog .thumb-GALLERY > .thumb-item {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
  .breadcrumb .breadcrumb__section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* 카테고리 화면: 경로 줄(.breadcrumb, 흰 바탕)이 패키지 기본 margin-bottom:-1px 로 아래 목록 상자 윗선을 1px 덮어
   가운데 1320px 만 선이 지워지고 양끝만 남았다(1440px 실측, 사용자 제보 2026-11-13) → 겹치지 않게 0 */
.l-content .breadcrumb {
  margin-bottom: 0;
}

/* 상품 목록(전체 상품·카테고리): 상품 아래 가로선(목록 상자 아랫선)과 PC 화면 양끝 세로선 제거(사용자 요청 2026-11-13,
   "굳이 넣을 필요 없다"). 위쪽 경로 줄 아래 선과 '총 N개' 줄 아래 선은 그대로 */
:root .l-panel.sc-catalog {
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

/* 상품 상세 후속 보정 — 접근성/고정 바
   마크업: pages/ProductDetail/Purchase/Purchase.jsx
   PC 하단 고정 바(.sc-pbar)는 본문 구매 버튼이 화면 위로 지나간 뒤에만 보인다(data-visible="true").
   숨김은 display:none — 화면에서 빠질 뿐 아니라 키보드 포커스·스크린리더에서도 빠져
   본문 버튼과 같은 버튼이 중복으로 읽히지 않는다. */
.sc-pbar[data-visible='false'] {
  display: none;
}

@charset 'utf-8';
/* 검색/FAQ: 소유 UI와 지원 화면에만 적용. 글로벌 행간·이미지·소셜 색은 유지한다. */
.sc-gnb__inner a.is-current { color: var(--sc-blue); font-weight: 700; }
.sc-gnb__inner a:not(.is-current) { color: var(--sc-gray); }
/* FAQ는 흰 질문 + 독립된 옅은 답변 면. 장식 칼럼 없이 본문 폭을 확보한다. */
.faq-list .faq-list__content-wrap { cursor: default; }
.faq-list .faq-list__question.sc-faq__question {
  display: flex; align-items: center; gap: 16px; box-sizing: border-box;
  width: 100%; min-height: 72px; padding: 18px 20px; border: 0;
  background: var(--sc-white); text-align: left; color: var(--sc-ui-ink); cursor: pointer;
}
.sc-faq__question-copy { display: grid; gap: 5px; flex: 1; min-width: 0; }
.sc-faq__category { color: var(--sc-ui-muted); font: 500 12px/18px var(--sc-font); }
.sc-faq__question-text { font: 600 15px/1.5 var(--sc-font); word-break: keep-all; overflow-wrap: break-word; }
.sc-faq__chevron { width: 18px; height: 18px; flex: 0 0 18px; color: var(--sc-ui-muted); transition: transform .2s; }
.sc-faq__question[aria-expanded='true'] .sc-faq__chevron { transform: rotate(180deg); }
.faq-list .sc-faq__question:focus-visible { outline: 2px solid var(--sc-blue); outline-offset: -3px; }
.faq-list .faq-list__content.faq-list__answer {
  display: block; box-sizing: border-box; width: auto; max-width: none;
  margin: 4px 20px 20px; padding: 16px 18px; background: var(--sc-off); border-radius: var(--sc-rs);
}
.faq-list .faq-list__answer[hidden] { display: none; }
.faq-list .sc-faq__answer-content { display: block; min-width: 0; width: 100%; max-width: 100%; color: var(--sc-ink-3); font: 400 15px/1.7 var(--sc-font); text-wrap: pretty; word-break: keep-all; overflow-wrap: break-word; }
.faq-list .sc-faq__answer-content p { margin: 0; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
.faq-list .sc-faq__answer-content p + p { margin-top: 10px; }
.sc-faq__menu-name { white-space: nowrap; }
.faq__search .sc-faq__search-input { flex: 1; min-width: 0; box-sizing: border-box; height: 48px; padding: 0 14px; border: 1px solid var(--sc-ui-input-border); border-radius: var(--sc-ui-radius); background: var(--sc-white); color: var(--sc-ui-ink); font: 16px var(--sc-font); }
.faq__search .sc-faq__search-submit, .sc-list-error > button, .sc-faq__retry { box-sizing: border-box; min-height: 48px; padding: 0 22px; border: 1px solid var(--sc-ui-ink); border-radius: var(--sc-ui-radius); background: var(--sc-ui-ink); color: white; font: 600 15px/1.5 var(--sc-font); cursor: pointer; }
.faq__search .sc-faq__search-input:focus-visible { outline: 2px solid var(--sc-blue); outline-offset: 2px; }
.sc-search { min-height: 100%; color: var(--sc-ui-ink); }
.search-keyword-modal .sc-search__toolbar { box-sizing: border-box; display: flex; align-items: center; height: auto; min-height: 80px; padding: 16px 12px; gap: 8px; }
.sc-search__form { display: flex; align-items: center; flex: 1; min-width: 0; height: 48px; box-sizing: border-box; border: 1px solid var(--sc-ui-input-border); border-radius: var(--sc-ui-radius); background: var(--sc-white); }
.sc-search__form:focus-within { border-color: var(--sc-blue); box-shadow: 0 0 0 2px var(--sc-tint); }
.sc-search__input { flex: 1; min-width: 0; width: 0; height: 46px; border: 0; padding: 0 12px; outline: 0; font: 16px var(--sc-font); color: var(--sc-ui-ink); background: transparent; }
.sc-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sc-search__input::placeholder { color: var(--sc-ui-muted); }
.sc-search .sc-search__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; box-sizing: border-box; padding: 0; border: 0; background: transparent; color: var(--sc-ui-ink); border-radius: var(--sc-ui-radius); cursor: pointer; }
.sc-search__icon svg { width: 22px; height: 22px; }
.sc-search button:focus-visible, .sc-faq__retry:focus-visible, .sc-list-error > button:focus-visible { outline: 2px solid var(--sc-blue); outline-offset: 2px; }
.sc-search__recent { margin: 18px 24px 32px; }
.sc-search__recent-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sc-search__recent-head h2 { margin: 0; color: var(--sc-ui-muted); font: 600 14px/1.5 var(--sc-font); }
.sc-search__recent-head button { min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--sc-ui-muted); font: 14px var(--sc-font); cursor: pointer; }
.sc-search button:disabled { opacity: .45; cursor: default; }
.sc-search__recent ul { margin: 8px 0 0; padding: 0; }
.sc-search__recent li { display: flex; align-items: center; gap: 8px; }
.sc-search .sc-search__term { flex: 1; min-width: 0; min-height: 48px; padding: 8px 0; border: 0; text-align: left; background: transparent; color: var(--sc-ui-ink); font: 15px/1.5 var(--sc-font); overflow-wrap: anywhere; cursor: pointer; }
.sc-search__empty { padding: 48px 0; color: var(--sc-ui-muted); font-size: 14px; line-height: 1.6; text-align: center; }
@media (min-width: 1001px) { .modal.search-keyword-modal { width: 620px; } }
.sc-drawer .sc-drawer__signin { background-color: var(--sc-ui-ink); border-color: var(--sc-ui-ink); }
.sc-drawer button:focus-visible, .sc-drawer a:focus-visible { outline: 2px solid var(--sc-blue); outline-offset: 2px; }
.product-board-list .product-board-list__sort-type.sc-select { width: 156px; flex: 0 0 156px; }
.faq .faq__search { gap: 8px; margin-bottom: 24px; }
.sc-notice-policy-ref { margin: 24px 0 0; padding: 16px; background: var(--sc-off); border-radius: var(--sc-rm); font-size: 14px; line-height: 1.7; color: var(--sc-ink-3); }
.sc-notice-policy-ref a { color: var(--sc-blue); text-decoration: underline; }
.product-board-list .product-board-list__sort-type.sc-select { height: auto; padding: 0; border: 0; background: none; }

/* PC 메뉴 줄(전체 상품·카테고리·공지사항·고객센터) — 2026-11-13 사용자 제보 "호버해도 아무 반응이 없고 이상하다"
   - 원인: 위 `.sc-gnb__inner a:not(.is-current){color:gray}` 가 components.css 의 `.sc-gnb a:hover{color:black}` 보다
     뒤에 실려(같은 구체성) 마우스를 올려도 색이 그대로였다. 현재 메뉴도 글자색만 파랑이라 '선택됨'이 약했다.
   - 타사: 오늘의집 쇼핑 메뉴는 현재 메뉴에 브랜드색 글자 + 줄 아래 2px 막대, 나머지는 올리면 진해진다.
   - 후: 기본 회색 → 올리면 잉크색 + 아래 2px 회색 막대, 현재 메뉴는 파랑 + 아래 2px 파랑 막대(줄 아랫선에 붙음). 색 바뀜 150ms */
.sc-gnb__inner {
  align-items: stretch;
}
.sc-gnb__inner a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  transition: color 0.15s ease;
}
.sc-gnb__inner a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0; /* 메뉴 줄이 가로 스크롤(overflow)이라 바깥으로 내리면 잘린다 → 줄 안쪽 맨 아래 */
  height: 2px;
  background: transparent;
  transition: background-color 0.15s ease;
}
.sc-gnb__inner a:not(.is-current):hover {
  color: var(--sc-ui-ink, #242428);
}
.sc-gnb__inner a:not(.is-current):hover::after {
  background: var(--sc-line-2, #d4d4d8);
}
.sc-gnb__inner a.is-current::after {
  background: var(--sc-blue);
}
.sc-gnb__inner a:focus-visible {
  outline: 2px solid var(--sc-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

@charset 'utf-8';

/* 페이지 끝과 푸터의 경계는 한 곳에서 책임진다.
   패키지 .footer의 선/패딩과 브랜드 .sc-ft의 선/마진이 중복되던 것을 정리한다.
   본문 마지막 요소의 margin을 전역으로 초기화하지 않아 페이지별 리듬은 보존한다. */
:root {
  --sc-page-end-gap: 56px;
  --sc-support-action-gap: 20px;
}
.page__content.site > .footer {
  margin-top: var(--sc-page-end-gap);
  padding: 0;
  border-top: 0;
}
.page__content.site > .footer .sc-ft {
  margin-top: 0;
}

/* 아코디언 내부 여백과 목록 뒤의 행동 간격은 별개다.
   답변을 열거나 닫아도 마지막 질문 카드와 전체보기가 맞닿지 않는다. */
.customer-center .go-to-list {
  margin-top: var(--sc-support-action-gap);
}
.customer-center .customer-center__inquiry {
  margin-top: var(--sc-support-action-gap);
  padding-top: 0;
}

@media (max-width: 1000px) {
  :root { --sc-page-end-gap: 40px; }
}

/* 기간 선택창의 패키지 래퍼는 40px, 공통 버튼은 48px였다.
   래퍼도 실제 버튼 높이를 따라가게 해 다음 목록과의 간격이 줄지 않게 한다. */
.start-ymd-selector.sc-select {
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

/* 탭 너비에 세로 구분선까지 포함한다. 마지막 버튼이 모바일 오른쪽으로 1px 새지 않는다. */
.tabs .tabs__item {
  box-sizing: border-box;
  min-width: 0;
}
.tabs .tabs__item > button {
  box-sizing: border-box;
  max-width: 100%;
}
/* 클레임 탭의 ::before 구분선이 인라인 흐름에서 1px을 더 차지하던 원인.
   구분선은 제자리에 겹쳐 그려 버튼 너비 계산에서 제외한다. */
.claims__tabs .tabs__item {
  position: relative;
}
.claims__tabs .tabs__item + .tabs__item::before {
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
}

@charset 'utf-8';

/* 폼 외관만 보정한다. SDK 이벤트·ref·값·검증·네이티브 선택 메뉴는 유지한다. */
:root .order-sheet .text-field,
:root .order-sheet .select-box,
:root .sign-in .text-field,
:root .sign-up-form .text-field,
:root .sign-up-form .select-box,
:root .find-id-form__input-wrap .text-field,
:root .find-id-form__input-wrap .select-box,
:root .find-password-form__input-wrap .text-field,
:root .find-password-authentication__input-wrap .text-field,
:root .change-password-form__input-wrap .text-field,
:root .sign-in > .guest-order:only-child .text-field,
:root .search-zip-code-form__search .text-field,
:root .sc-buy .select-box,
:root .product-detail.purchase .select-box,
:root .sc-select__trigger {
  box-sizing: border-box;
  height: var(--sc-ui-field-height);
  min-height: var(--sc-ui-field-height);
  border-radius: var(--sc-ui-field-radius);
}
/* 상품 목록의 작은 정렬 필터는 폼 입력과 역할이 다르므로 기존 크기를 유지한다. */
:root .sc-catalog .total-sort .sc-select__trigger {
  height: 40px;
  min-height: 40px;
  border-radius: var(--sc-rpill);
}
:root .normal-sign-in__input-wrap,
:root .sign-in > .guest-order:only-child .guest-order__input-wrap,
:root .change-password-form__input-wrap {
  height: var(--sc-ui-field-height);
}
:root .sign-up-form__input-wrap .btn:not(.sign-up-form__submit-btn),
:root .order-sheet .address-form .btn {
  height: var(--sc-ui-field-height);
  min-height: var(--sc-ui-field-height);
}

/* 기존 비트맵 스프라이트만 교체. 네이티브 select의 동작은 그대로 둔다.
   content를 재정의하지 않아 원래 화살표가 없는 선택창은 계속 숨겨진다. */
:root .select-box::after {
  width: 16px;
  height: 16px;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 16 16%27 fill=%27none%27%3E%3Cpath d=%27m4 6 4 4 4-4%27 stroke=%27%2362626b%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
  border: 0;
  background-color: transparent;
  box-shadow: none;
  background-size: 16px 16px;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* 전화번호: 앞자리 고정폭 + 나머지 균등 배분. 하이픈을 빼 좁은 화면의 숫자 공간 확보. */
:root .order-sheet .phone-number-input,
:root .sc-phone-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
:root .order-sheet .phone-number-input > .select-box,
:root .sc-phone-field__carrier {
  flex: 0 0 80px;
  width: 80px;
  min-width: 80px;
}
:root .order-sheet .phone-number-input > .text-field,
:root .sc-phone-field > .text-field {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  margin: 0;
}
:root .order-sheet .phone-number-input > .phone-number-input__bar,
:root .sc-phone-field > .phone-number-input__bar {
  display: none;
}
:root .order-sheet .phone-number-input .select-box select {
  width: 100%;
  min-width: 0;
  padding: 0 32px 0 8px;
}
:root .order-sheet .phone-number-input .select-box::after {
  right: 12px;
}
:root .order-sheet .phone-number-input .text-field input,
:root .sc-phone-field .text-field input {
  padding: 0 8px;
}
:root .sc-phone-field__carrier .sc-select__trigger {
  gap: 4px;
  padding: 0 12px;
}
@media (max-width: 1000px) {
  :root .sign-up-form__item {
    margin-top: 16px;
  }
  :root .order-sheet .order-sheet__item {
    margin-bottom: 16px;
  }
  :root .order-sheet .accordion__items > .order-sheet__item:last-child {
    margin-bottom: 0;
  }
}

/* 간편로그인: 색·문구는 각 서비스 기준 그대로 두고, 모서리만 다른 버튼(8px)과 맞춘다.
   각진 버튼 3개가 둥근 입력창·로그인 버튼 아래에서 따로 노는 것처럼 보였다. */
:root .open-id-sign-in__link {
  border-radius: var(--sc-ui-field-radius);
}

/* 주문서 (2026-11-10)
   - 우편번호 칸 + 주소찾기 버튼이 130px 씩 고정이라 오른쪽에 빈칸이 남았다 → 우편번호 칸이 남은 폭을 채움
   - 약관 줄의 '보기' 가 체크 문구보다 10px 아래로 내려가 있었다 → 가운데 정렬 */
@media (max-width: 1000px) {
  :root .order-sheet .address-form__zip-code {
    gap: 8px;
  }
  :root .order-sheet .address-form__zip-code .text-field {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
  }
  :root .order-sheet .address-form__zip-code .text-field input {
    width: 100%;
  }
  :root .order-sheet .address-form__zip-code .btn {
    flex: 0 0 104px;
    width: 104px;
    margin: 0;
  }
}
:root .order-sheet .order-sheet__term-checker {
  align-items: center;
}
/* 약관 줄은 44px 높이라 줄 사이 10px 여백이 더해지면 위·사이가 과하게 벌어졌다. 문구는 단어 단위로 줄바꿈 */
:root .order-sheet .order-sheet__terms {
  padding-top: 12px;
  padding-bottom: 12px;
}
:root .order-sheet .order-sheet__term-checker {
  margin-top: 0;
}
:root .order-sheet .order-sheet__term-checker + .order-sheet__term-checker {
  margin-top: 4px;
}
:root .order-sheet .order-sheet__term-checker label {
  word-break: keep-all;
}

/* 주문 동의 (2026-11-10): 제목 없이 다섯 줄이 같은 위계로 나열돼 있던 영역에 제목과 '필수 항목 전체 동의'를 둔다.
   제목은 '결제수단 선택' 과 같은 20/28/600. 전체 동의 아래에 선을 그어 개별 항목과 구분한다. */
:root .order-sheet .order-sheet__terms-title {
  margin: 8px 0 8px;
  font-size: var(--sc-ui-section-size, 20px);
  line-height: var(--sc-ui-section-line, 28px);
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
}
:root .order-sheet .order-sheet__term-checker--all {
  min-height: 44px;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--sc-line);
}
:root .order-sheet .order-sheet__term-checker--all label {
  font-weight: 600;
  color: var(--sc-ui-ink, #242428);
}

/* 로그인: 간편 로그인을 일반 로그인 바로 아래로 옮겼으므로 위 여백 70px → 40px (비회원 주문 조회 위 40px 과 같게) */
:root .sign-in .sign-in-open-id {
  margin-top: 40px;
}

/* ------------------------------------------------------------
   회원가입 약관 (2026-11-10, 사용자 지적)
   - '보기' 가 44px 높이 테두리 상자로 늘어나 좁고 긴 버튼처럼 보였다
     (위쪽 `.sign-up-form__input-wrap .btn` 44px 규칙이 약관 버튼까지 닿음) →
     주문서와 같은 밑줄 텍스트 링크로. 누르는 영역은 44px 유지
   - 체크 동그라미 테두리가 거의 안 보였다 → 한 단계 진하게 (주문서도 같은 문제라 함께)
   - 아래 안내문이 '합/니다' 처럼 단어 중간에서 끊겼다 → 단어 단위 줄바꿈
   ------------------------------------------------------------ */
:root .sign-up-form .sign-up-form__agree-wrap .btn,
:root .sign-up-form .sign-up-form__agree-wrap button:not(.check-radio) {
  width: auto;
  height: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sc-ui-muted, #62626b);
  font-size: var(--sc-ui-label-size, 14px);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
:root .sign-up-form .sign-up-form__agree-wrap .btn:hover {
  color: var(--sc-ui-ink, #242428);
}
:root .sign-up-form .sign-up-form__checkbox--partial,
:root .sign-up-form .custom-terms__item {
  align-items: center;
}
:root .sign-up-form .check-radio__ico,
:root .order-sheet .check-radio__ico {
  border-color: var(--sc-gray-2, #a1a1aa);
}
:root .sign-up-form .notice-list__item,
:root .sign-up-form .check-radio__label {
  word-break: keep-all;
}

/* '쇼핑몰 회원가입': 파란 면 위에 회색 글자가 덮여(monochrome 규칙) 거의 안 읽혔고 폭도 아래 버튼과 달랐다 →
   로그인 버튼과 같은 잉크색 주 버튼, 전체 폭, 48px */
:root .sign-up-menu__link-normal a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--sc-ui-field-radius, 8px);
  background: var(--sc-ui-primary, #242428);
  color: var(--sc-ui-on-primary, #fff);
  font-size: var(--sc-ui-body-size, 16px);
  font-weight: 600;
  filter: none;
}
:root .sign-up-menu__link-normal a:hover {
  color: var(--sc-ui-on-primary, #fff);
  filter: brightness(1.15);
}
/* 가입 제출 버튼만 파란 면이라 로그인·결제 등 다른 주 버튼(잉크색)과 달랐다 */
:root .sign-up-form .sign-up-form__submit-btn,
:root .sign-up-form .sign-up-form__confirm button {
  background: var(--sc-ui-primary, #242428);
  border-color: var(--sc-ui-primary, #242428);
  color: var(--sc-ui-on-primary, #fff);
  border-radius: var(--sc-ui-field-radius, 8px);
}

/* ------------------------------------------------------------
   회원 주문서 쿠폰·적립금 (2026-11-10)
   네모난 바깥 상자(.input-with-unit, 테두리·모서리 0) 안에 둥근 입력창이 또 들어가 이중 테두리로 보였고,
   '쿠폰 사용'·'모두 사용' 버튼만 각져 46px 이었다
   → 바깥 상자가 입력창 역할(옅은 선·8px·44px), 안쪽 테두리 제거, 버튼도 44px·8px
   ------------------------------------------------------------ */
:root .order-sheet .order-sheet__promotion-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
:root .order-sheet .input-with-unit {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  height: var(--sc-ui-field-height);
  padding: 0 14px 0 0;
  border: 1px solid var(--sc-ui-input-border, #e5e5ea);
  border-radius: var(--sc-ui-field-radius);
  background: var(--sc-white);
  box-sizing: border-box;
}
:root .order-sheet .input-with-unit:focus-within {
  border-color: var(--sc-blue);
}
:root .order-sheet .input-with-unit .input-with-unit__input {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
:root .order-sheet .input-with-unit .input-with-unit__input input {
  text-align: right;
}
:root .order-sheet .input-with-unit:has(input[readonly]),
:root .order-sheet .input-with-unit:has(input:disabled) {
  background: var(--sc-off);
}
:root .order-sheet .input-with-unit .input-with-unit__unit {
  margin-left: 4px;
  color: var(--sc-gray);
}
:root .order-sheet .order-sheet__promotion-input > .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 88px;
  height: var(--sc-ui-field-height);
  min-height: var(--sc-ui-field-height);
  padding: 0 14px;
  border-radius: var(--sc-ui-field-radius);
}
/* 결제수단 버튼: 아이콘 크기 때문에 52/55/52px 로 높이가 들쭉날쭉했다 → 56px 고정 */
:root .order-sheet .pay-method-btn {
  height: 56px;
  min-height: 56px;
  box-sizing: border-box;
}
/* 회원 주문서 맨 위 '회원 정보에 반영' 안내: '정보/에' 처럼 단어 중간에서 끊겼다 */
:root .order-sheet .order-sheet__notice-checkbox .check-radio__label {
  word-break: keep-all;
}

/* ------------------------------------------------------------
   전체 화면 창(쿠폰 선택 등) (2026-11-10)
   - 창 머리 아래 검정 1px 선 → 다른 구분선과 같은 옅은 선
   - 쿠폰 선택 상자: 각진 회색 100px 덩어리 → 둥근 8px, 내용만큼 높이
   - '쿠폰 적용'만 파란 버튼 → 다른 주 버튼과 같은 잉크색 48px
   - 안내 목록이 '중/복사용이' 처럼 끊기고 줄 간격이 좁았다 → 단어 단위, 1.6
   ------------------------------------------------------------ */
:root .title-modal--full .title-modal__header {
  border-bottom-color: var(--sc-line);
}
:root .coupon-modal .coupon-modal__controller {
  min-height: 0;
  padding: 14px 16px;
  border-radius: var(--sc-ui-field-radius);
}
:root .coupon-modal .coupon-modal__coupon-section + .coupon-modal__coupon-section {
  margin-top: 24px;
}
:root .coupon-modal .coupon-modal__apply-btn {
  height: 48px;
  min-height: 48px;
  border: 0;
  border-radius: var(--sc-ui-field-radius);
  background: var(--sc-ui-primary, #242428);
  color: var(--sc-ui-on-primary, #fff);
}
:root .info-list .info-list__items li {
  line-height: 1.6;
  word-break: keep-all;
}
/* 선택 상자가 내용(한 줄)과 상관없이 100px 로 고정돼 아래가 비어 보였다 → 내용 높이 */
:root .coupon-modal .coupon-modal__controller {
  height: auto;
}
:root .coupon-modal .coupon-modal__coupon-section .info-list + *,
:root .coupon-modal .coupon-modal__product-name {
  margin-top: 12px;
}

/* ------------------------------------------------------------
   간편 로그인·가입 버튼 브랜드 로고 (2026-11-10, 사용자 요청 / 무신사·29CM 통합 로그인 참고)
   - 버튼은 전체 폭, 로고와 글자를 한 묶음으로 가운데
   - 색은 각 서비스 공식 가이드: 네이버 #03C75A·흰 글자, 카카오 #FEE500·검정 85%, 구글 흰 면·옅은 선
   ------------------------------------------------------------ */
:root .open-id-sign-in__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 600;
}
:root .open-id-sign-in__logo {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}
:root .open-id-sign-in__item.type-naver .open-id-sign-in__link {
  background: #03c75a;
  border-color: #03c75a;
  color: #fff;
}
:root .open-id-sign-in__item.type-kakao .open-id-sign-in__link {
  background: #fee500;
  border-color: #fee500;
  color: rgba(0, 0, 0, 0.85);
}
:root .open-id-sign-in__item.type-google .open-id-sign-in__link {
  background: #fff;
  border: 1px solid #dadce0;
  color: #1f1f1f;
}

/* ------------------------------------------------------------
   입력창 활성화(포커스) 통일 — C안 (2026-11-10, 사용자 선택)
   - 이전: 화면마다 제각각(로그인·주문서 = 파란 테두리 + 2px 띄운 파란 바깥선 두 겹,
     적립금 = 파란 테두리, 검색창 = 파란 테두리 + 연보라 번짐, FAQ 검색 = 파란 바깥선)
   - 이후: 모든 입력창·선택 상자는 테두리 색만 #71717a 로. 그림자·바깥선 없음. 크기 변화 없음.
   - 화면별 규칙(.sign-in .text-field:focus-within 등)보다 확실히 이기도록 :root 를 세 번 겹쳐 우선순위를 올린다.
   ------------------------------------------------------------ */
:root:root:root :is(.text-field, .select-box, .input-with-unit, .sc-search__form):focus-within,
:root:root:root :is(.select-field > select, textarea, .sc-faq__search-input):focus,
:root:root:root .sc-select__trigger:focus-visible {
  border-color: var(--sc-focus-line);
  outline: none;
  box-shadow: none;
}
:root:root:root :is(.text-field, .select-box, .input-with-unit, .sc-search__form) :is(input, select, textarea):focus {
  outline: none;
  box-shadow: none;
}
/* 오류 칸은 눌러도 빨간 테두리 유지 */
:root:root:root .text-field:has(input[aria-invalid='true']):focus-within {
  border-color: var(--sc-danger);
}

/* ------------------------------------------------------------
   취소·교환·반품 신청 화면(.claim) 미리 맞춤 (2026-11-10)
   - 실제 주문이 없어 화면은 아직 못 봤다(PG 막힘). 스킨 규칙이 하나도 없어 패키지 기본
     (회색 면 입력칸, 모서리 0 버튼)으로 나올 것이 확실해, 다른 화면과 같은 규칙을 먼저 건다.
   - PG 가 풀리면 실제 화면으로 다시 확인한다.
   ------------------------------------------------------------ */
:root .claim .text-field,
:root .claim .select-box {
  box-sizing: border-box;
  height: var(--sc-ui-field-height);
  min-height: var(--sc-ui-field-height);
  border: 1px solid var(--sc-ui-input-border, #e5e5ea);
  border-radius: var(--sc-ui-field-radius);
  background: var(--sc-white);
}
:root .claim .text-field input,
:root .claim .select-box select {
  height: 100%;
  font-size: 16px;
}
:root .claim textarea {
  border: 1px solid var(--sc-ui-input-border, #e5e5ea);
  border-radius: var(--sc-ui-field-radius);
  background: var(--sc-white);
  font-size: 16px;
}
:root .claim .phone-number-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
:root .claim .phone-number-input > .select-box {
  flex: 0 0 80px;
  width: 80px;
  min-width: 80px;
}
:root .claim .phone-number-input > .text-field {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  margin: 0;
}
:root .claim .phone-number-input > .phone-number-input__bar {
  display: none;
}
/* 아래 버튼: 취소하기 = 흰 면+선, ○○ 신청 = 잉크색 (모서리 0 → 8px) */
:root .claim .claim__btn {
  flex: 1 1 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--sc-line-2);
  border-radius: var(--sc-ui-field-radius);
  background: var(--sc-white);
  color: var(--sc-ui-ink, #242428);
  font-size: 16px;
  font-weight: 600;
}
:root .claim .claim__btn--claim {
  border-color: var(--sc-ui-ink, #242428);
  background: var(--sc-ui-ink, #242428);
  color: var(--sc-white);
}
:root .claim .board-form__upload-btn {
  height: 48px;
  border: 1px solid var(--sc-line-2);
  border-radius: var(--sc-ui-field-radius);
  background: var(--sc-white);
  color: var(--sc-ui-ink, #242428);
}

/* ------------------------------------------------------------
   GPT 2차 검수 반영 (2026-11-10)
   ------------------------------------------------------------ */
/* 네이버 버튼: 네이버 로그인 버튼 가이드 지정 녹색이 #03C75A → #03A94D 로 바뀌었다(로고·글자 흰색 유지). 흰 글자 대비 2.2:1 → 약 3.1:1 */
:root .open-id-sign-in__item.type-naver .open-id-sign-in__link {
  background: #03a94d;
  border-color: #03a94d;
}
/* 회원가입 화면 소셜 버튼만 12px 모서리였다 → 로그인 화면과 같은 8px */
:root .sign-up-menu .open-id-sign-in__item button {
  border-radius: var(--sc-ui-field-radius);
}
/* 장바구니 '선택 삭제'·개별 삭제 X 가 비활성처럼 옅었다 → 보조 글자색으로 한 단계 진하게 */
:root .cart .cart__delete-selected-btn label,
:root .cart .cart__delete-selected-btn {
  color: var(--sc-gray);
}
:root .cart .cart__delete-btn::before,
:root .cart .cart__delete-btn::after {
  background-color: var(--sc-gray);
}
/* 긴 데이터: 띄어쓰기 없는 긴 영문 상품명이 상세 화면을 가로로 452px 넘쳤다 → 아무 곳에서나 줄바꿈 */
:root .product-summary__title,
:root .cart__product-name,
:root .cart__product-title,
:root .product-thumb-item__title,
:root .thumb-item__title,
:root .order-product-name,
:root .sc-rank__name {
  overflow-wrap: anywhere;
  word-break: keep-all;
}
/* 모바일 헤더 제목: 긴 상품명이 두 줄로 늘어 헤더 높이가 커졌다 → 한 줄 말줄임(전체 이름은 본문에 나온다) */
:root .sc-hd__title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ==================================================================
   꺾쇠(Chevron) 규칙 — 사이트 전체 화살표 하나로 통일 (v0.5.2)
   부품: src/components/Chevron/Chevron.jsx  (방향 right·left·down·up)

   1. 모양   Lucide 계열 둥근 끝 꺾쇠 하나. 글자(›, >), 회전 테두리, 패키지 스프라이트는 쓰지 않는다.
   2. 굵기   화면에서 1.5px 고정 (아이콘 크기와 상관없이 같은 굵기)
   3. 크기   16  글자 옆(전체 보기·바로가기·경로)과 선택 상자
             20  목록 줄 끝(메뉴·마이페이지)과 펼치기(FAQ·후기·구매창)
             18  원형 버튼 안(배너 이전·다음, 맨 위로)
   4. 색     이동(줄 끝)        연한 회색  --sc-chevron-quiet
             펼치기·선택 상자   보조 회색  --sc-chevron-muted
             글자 옆            글자색 그대로(currentColor)
   5. 방향   right=다른 화면으로 이동, down=그 자리에서 펼침(열리면 위로 뒤집힘), left=이전, up=맨 위로
   ================================================================== */
:root {
  --sc-chevron-stroke: 1.5px;
  --sc-chevron-quiet: #a1a1aa;
  --sc-chevron-muted: #62626b;
}

.sc-chevron {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
  overflow: visible;
}

.sc-chevron path {
  stroke-width: var(--sc-chevron-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* --- 이동: 목록 줄 끝 → 연한 회색 --- */
.my-link__ico,
.category-nav-links__arrow,
.sc-cnav .sc-chevron,
.my-info__member-benefit-icon,
.go-to-list__angle-r {
  color: var(--sc-chevron-quiet);
}

/* 패키지가 스프라이트용으로 돌려 두던 각도 되돌리기 */
.my-link__ico {
  display: inline-flex;
  transform: translateY(-50%);
}

.go-to-list__angle-r,
.my-info__member-benefit-icon,
.category-nav-links__arrow {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
}

/* --- 펼치기·선택 상자 → 보조 회색 --- */
.sc-faq__chevron,
.sc-select__arrow,
.product-review-item .arrow,
.purchase__opener {
  color: var(--sc-chevron-muted);
}

.sc-faq__chevron {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.product-review-item .arrow.sc-review-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -12px -12px 0 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* --- 원형 버튼 안 --- */
.fab-btn__top {
  transform: none;
}

/* 공지 이전·다음 글 작은 원 안: 원 22px 안에 꺾쇠 14px */
.notice-detail__index-angle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--sc-chevron-muted);
}

.notice-detail__index-angle .sc-chevron {
  width: 14px;
  height: 14px;
}

/* --- 글자 옆: 경로(›) 구분 --- */
.sc-chevron--sep {
  margin: 0 2px;
  color: var(--sc-chevron-quiet);
}

.category-callout__link .sc-chevron,
.sc-shead__more .sc-chevron,
.sc-thead__more .sc-chevron {
  margin-left: 2px;
}

/* --- CSS로 그리던 화살표도 같은 꺾쇠 모양으로 (회전 테두리 → 마스크) --- */
.total-sort .select-box::after,
.breadcrumb__link::after {
  width: 16px;
  height: 16px;
  border: 0;
  background: var(--sc-chevron-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m4 6 4 4 4-4%27/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m4 6 4 4 4-4%27/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

.total-sort .select-box::after {
  right: 12px;
  transform: translateY(-50%);
}

.breadcrumb__link::after {
  background: var(--sc-chevron-quiet);
  transform: rotate(-90deg);
}

/* 홈 섹션 '전체 보기'는 components.css 가 svg 를 18px 로 고정해 두었다 → 글자 옆 규칙 16px */
.sc-thead__more .sc-chevron,
.sc-shead__more .sc-chevron {
  width: 16px;
  height: 16px;
}

/* 사진·짙은 면 위 원형 버튼(배너 이전·다음)은 흰색 — 예외는 이것 하나 */

/* ==================================================================
   빈 화면 — components/EmptyState (v0.6.0, 시안 2안)
   아이콘 56px(안내 화면 아이콘과 같은 면 2톤) → 제목 17px → 설명 14.5px → 버튼 48px
   상자·배경 없이 가운데 정렬. 위아래 여백은 화면 안 쓰임(목록 자리)에 맞게 48px.
   ================================================================== */
.sc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0;
  text-align: center;
  word-break: keep-all;
}

.sc-empty__icon {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.sc-empty__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sc-empty__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--sc-black);
  text-wrap: balance;
}

.sc-empty__desc {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--sc-gray);
  text-wrap: balance;
}

.sc-empty__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: 48px;
  margin-top: 20px;
  border-radius: var(--sc-ui-radius);
  background: var(--sc-ui-primary);
  color: var(--sc-ui-on-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.sc-empty__btn:hover {
  background: var(--sc-ink-2);
}

/* PC: 버튼이 화면 폭만큼 길어지지 않게 */
@media (min-width: 1001px) {
  .sc-empty {
    padding: 64px 0;
  }
  .sc-empty__btn {
    align-self: center;
    width: 320px;
  }
}

/* 바깥 틀에 좌우 여백이 없는 곳(장바구니·상품 목록/검색): 화면 좌우 여백(--sc-gut)을 빈 화면이 직접 갖는다 */
.sc-cart__main > .sc-empty,
.sc-catalog__content > .sc-empty,
.faq > .sc-empty,
.faq .sc-empty {
  padding-left: var(--sc-gut);
  padding-right: var(--sc-gut);
}

/* 앱 로그인 안내는 바깥 레이아웃에 좌우 여백이 없어 직접 적용한다. */
.sc-myapp-login {
  padding-left: var(--sc-gut);
  padding-right: var(--sc-gut);
}

/* ==================================================================
   마이페이지 단순화 (v0.6.2, 2026-11-11)
   사용자 요청: "박스 컬러 다 회색, 심플하게, 텍스트 정렬 맞추기"
   참고: 29CM·무신사·오늘의집 마이페이지 — 이름/등급은 작게 한 줄 + 오른쪽 혜택 버튼,
         숫자 요약은 상자 하나, 나머지는 목록. 큰 색 상자 없음.
   규칙: 상자는 전부 회색 면(--sc-off, 16px 모서리, 테두리·그림자 없음)
         모든 덩어리의 왼쪽 시작선 = 화면 좌우 여백(모바일 20px) / PC 는 본문 시작선
   ================================================================== */
.sc-my {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px var(--sc-gut) 0;
}

/* --- 이름·등급 --- */
.sc-my-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 8px;
}
.sc-my-profile__text {
  min-width: 0;
}
.sc-my-profile__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--sc-black);
}
.sc-my-profile__grade-img {
  width: 20px;
  height: 20px;
  flex: none;
}
.sc-my-profile__type {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sc-gray);
}
.sc-my-profile__benefit {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: none;
  height: 36px;
  padding: 0 10px 0 14px;
  border: 0;
  border-radius: var(--sc-rpill);
  background: var(--sc-off);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-ui-ink);
  cursor: pointer;
}
.sc-my-profile__benefit .sc-chevron {
  color: var(--sc-chevron-quiet);
}

/* --- 쿠폰·적립금·찜: 회색 상자 하나에 3칸 --- */
.sc-my-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px 0;
  border-radius: var(--sc-rl);
  background: var(--sc-off);
}
.sc-my-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.sc-my-stats__item + .sc-my-stats__item {
  border-left: 1px solid var(--sc-line);
}
.sc-my-stats__label {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--sc-gray);
}
.sc-my-stats__num {
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sc-black);
  font-variant-numeric: tabular-nums;
}

/* --- 후원: 파란 카드 → 같은 회색 상자 --- */
.sc-my .sc-donacard {
  margin: 0;
  padding: 20px;
  border-radius: var(--sc-rl);
  background: var(--sc-off);
  color: var(--sc-black);
}
.sc-my .sc-donacard__kick {
  gap: 6px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
  color: var(--sc-ui-ink);
}
.sc-my .sc-donacard__kick svg {
  width: 18px;
  height: 18px;
  color: var(--sc-blue);
}
/* '0 원'에서 '원'이 위로 붙어 보였다 → 같은 기준선에 나란히 */
.sc-my .sc-donacard__amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--sc-black);
}
.sc-my .sc-donacard__amount span {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.sc-my .sc-donacard__sub {
  max-width: none;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 1;
  color: var(--sc-gray);
}
.sc-my .sc-donacard__stats {
  gap: 28px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--sc-line);
}
.sc-my .sc-donacard__stat-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--sc-black);
}
.sc-my .sc-donacard__stat-label {
  font-size: 13px;
  opacity: 1;
  color: var(--sc-gray);
}

/* --- 목록 --- */
.sc-my-menu {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
.sc-my-menu + .sc-my-menu {
  margin-top: 12px;
}
.sc-my-menu__title {
  padding-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sc-gray);
}
.sc-my-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--sc-line);
  font-size: 16px;
  line-height: 1.4;
  color: var(--sc-ui-ink);
  text-decoration: none;
}
.sc-my-menu__title + .sc-my-menu__link {
  border-top: 1px solid var(--sc-line);
}
.sc-my-menu__ico {
  display: inline-flex;
  color: var(--sc-chevron-quiet);
}

/* 로그아웃·회원 탈퇴: 목록 시작선과 맞춤 */
.sc-my .my-membership {
  margin: 16px 0 0;
  padding: 0;
}

/* PC: 페이지 제목(sc-pagehead, 안쪽 20px)과 본문 시작선을 하나로 */
@media (min-width: 1001px) {
  /* 하위 화면(주문 내역·쿠폰 등)과 같은 시작선: 페이지 제목 안쪽 20px 에 맞춘다 */
  .sc-my {
    padding: 8px 20px 0;
    gap: 16px;
  }
  .sc-my-profile__name {
    font-size: 22px;
  }
  .sc-my-stats {
    padding: 22px 0;
  }
  .sc-my .sc-donacard {
    padding: 24px 28px;
  }
  .sc-my-menu {
    margin-top: 24px;
  }
  .sc-my-menu__link:hover {
    color: var(--sc-black);
  }
}

/* 로그아웃: 흰 바탕 + 테두리 → 다른 상자와 같은 회색 면 */
.sc-my .my-membership .my-membership__btn:not(a) {
  border: 0;
  background: var(--sc-off);
  color: var(--sc-ui-ink);
}

/* ==================================================================
   마이페이지 하위 화면 통일 (v0.6.5)
   전: 화면마다 탭 글자 14·16px, '찜한 상품 0건' 18px 제목 + 14px 파란 숫자, 적립금 가운데 '적립금 0 원',
       등록 버튼 잉크색(쿠폰)·흰 테두리(1:1 문의·배송지), 배송지 빈 화면만 예전 회색 상자,
       회원정보 확인은 안내문 가운데·라벨 얇은 검정·버튼 사이 넓은 틈
   후: 아래 다섯 규칙 하나씩
   ================================================================== */
/* 1) 탭: 15px · 48px (쿠폰·취소/교환/반품·상품 후기) */
.my-page-coupon .my-page-coupon__tabs .tabs__item button,
.claims .claims__tabs .tabs__item button,
.profile-product-review .profile-product-review__tabs .tabs__item button {
  height: 48px;
  font-size: 15px;
}

/* 2) 개수 줄: 상품 목록 '총 N개'와 같은 작은 한 줄 */
.my-page__total-count {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--sc-gray);
}
.my-page__total-count .my-page__count {
  font-style: normal;
  font-weight: 700;
  color: var(--sc-black);
}

/* 3) 요약 상자(적립금): 회색 면, 라벨 왼쪽 · 금액 오른쪽 */
.sc-my-sumbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 12px;
  padding: 18px 20px;
  border-radius: var(--sc-rl);
  background: var(--sc-off);
}
.sc-my-sumbox__label {
  font-size: 15px;
  color: var(--sc-ui-ink);
}
.sc-my-sumbox__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--sc-black);
  font-variant-numeric: tabular-nums;
}

/* 4) 화면 안 '등록' 버튼: 48px 회색 면 하나로 (쿠폰 번호 등록·1:1 문의 등록하기·배송지 등록하기) */
:root .my-page-coupon .my-page-coupon__registration-button,
:root .personal-inquiry .personal-inquiry__registration-button,
:root .profile-shipping-address .profile-shipping-address__registration-button {
  height: 48px;
  min-height: 48px;
  border: 0;
  border-radius: var(--sc-ui-radius);
  background: var(--sc-off);
  color: var(--sc-ui-ink);
  font-size: 15px;
  font-weight: 600;
}

/* 쿠폰 '보유 쿠폰' 소제목: 마이페이지 목록 묶음 제목과 같은 작은 회색 */
.my-page-coupon .my-page-coupon__list-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sc-gray);
}

/* 5) 비밀번호 다시 확인(회원정보 수정·회원 탈퇴): 안내문 왼쪽 정렬, 라벨 14px 굵게, 버튼 반반 48px */
.password-authentication .password-authentication__info-text {
  margin-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.6;
  text-align: left;
  color: var(--sc-gray);
}
.password-authentication .password-authentication__info-text br {
  display: none;
}
.password-authentication .password-authentication-form__tit {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-ui-ink);
}
.password-authentication .password-authentication__button-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.password-authentication .password-authentication__button-wrap .btn {
  width: 100%;
  height: 48px;
  min-height: 48px;
  font-size: 15px;
}
@media (min-width: 1001px) {
  /* PC: 폼(440px)만 가운데로 가 있어 제목·안내문(왼쪽)과 시작선이 달랐다 → 왼쪽 정렬 */
  .password-authentication .password-authentication-form,
  .password-authentication .password-authentication__button-wrap {
    margin-left: 0;
    margin-right: auto;
    max-width: 380px;
  }
}

/* ==================================================================
   v0.7.2 — 기록이 남는 테스트(찜·1:1 문의·상품 문의·배송지 창)로 본 채워진 화면 정리
   ================================================================== */
/* 상태 배지(답변 대기·답변 완료): 파란 테두리 네모 → 작은 둥근 면 배지 */
.badge,
.inquiry-item__status-label {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 0 !important;
  border-radius: 6px;
  background: var(--sc-off);
  color: var(--sc-gray);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
}
.badge:not(.badge--line-point),
.inquiry-item__status-label--answered {
  background: var(--sc-tint, #f1f0ff);
  color: var(--sc-blue);
}

/* 1:1 문의 항목: 유형은 작은 회색, 제목은 15px */
.inquiry-item__inquiry-type {
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--sc-gray);
}
.inquiry-item__inquiry-info-title,
.inquiry-item__title {
  font-size: 15px;
  line-height: 1.5;
  color: var(--sc-ui-ink);
}

/* 찜 카드: 이름 15px · 가격 16px 굵게, 버튼은 회색 면 44px(잉크 글자) */
.profile-like__list-item .product-thumb-item__name,
.profile-like__list-item .thumb-item__title,
.profile-like__list-item .product-thumb-item p:first-child {
  font-size: 15px;
  font-weight: 500;
  color: var(--sc-ui-ink);
}
.profile-like__amount-item > span {
  font-size: 16px;
  font-weight: 700;
  color: var(--sc-black);
}
.profile-like__buttons {
  gap: 8px;
  padding: 0 16px 16px;
}
.profile-like__buttons .btn {
  height: 44px;
  border: 0;
  border-radius: var(--sc-ui-radius);
  background: var(--sc-off);
  color: var(--sc-ui-ink);
  font-size: 14px;
  font-weight: 600;
}

/* 상품 상세 Q&A: '상품 문의하기' 짙은 회색 → 화면 안 등록 버튼 규칙(회색 면 48px) */
:root .product-inquiry-summary__write-btn {
  height: 48px;
  min-height: 48px;
  border: 0;
  border-radius: var(--sc-ui-radius);
  background: var(--sc-off);
  color: var(--sc-ui-ink);
  font-size: 15px;
  font-weight: 600;
}
/* 글별 '삭제·수정': 26px 테두리 버튼 → 회색 글자 버튼(누르는 영역 36px) */
.inquiry-item__btns .btn,
.product-review-item__btns .btn,
.inquiry-item .btn--small {
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: var(--sc-gray);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 상품 상세 탭: 파란 글자·밑줄 → 다른 탭과 같은 잉크색 */
.product-content .tabs__item.on {
  border-bottom-color: var(--sc-ui-ink) !important;
}
.product-content .tabs__item.on button {
  color: var(--sc-ui-ink) !important;
  font-weight: 700;
}

/* 배송지 등록 창: 맨 아래 버튼이 창 끝에 걸려 잘려 보였다 → 버튼 줄을 창 아래에 붙이고 흰 바탕,
   '취소'는 회색 면 · '주소 찾기'는 회색 면 (확인창·화면 안 보조 버튼 규칙) */
.shipping-address-form .shipping-address-form__buttons {
  position: sticky;
  bottom: 0;
  z-index: 1;
  margin: 8px -20px -20px;
  padding: 12px 20px 20px;
  background: var(--sc-white);
}
.shipping-address-form .shipping-address-form__buttons .btn:not(.btn--caution) {
  border: 0;
  background: var(--sc-off);
  color: var(--sc-ui-ink);
}
:root .shipping-address-form .address-form__zip-code .btn {
  border: 0;
  background: var(--sc-off);
  color: var(--sc-ui-ink);
  font-weight: 600;
}
:root:root .shipping-address-form .shipping-address-form__buttons .btn.btn--dark,
:root:root .address-form .address-form__zip-code .btn {
  border: 0;
  background: var(--sc-off);
  color: var(--sc-ui-ink);
  font-weight: 600;
}
/* 문의·후기 작성 창의 '취소'(btn--default 등)도 같은 회색 면 */
:root .portal .title-modal .board-form__button-group .btn:not(.inquiry-form__btn--register):not(.review-form__btn--register),
:root .portal .title-modal .inquiry-form__btn--cancel {
  border: 0;
  background: var(--sc-off);
  color: var(--sc-ui-ink);
}
/* 상품 상세 후기·문의 '문의 전체 0건': 16px 검정 + 파란 숫자 → 마이페이지 개수 줄과 같은 작은 회색 + 굵은 잉크 숫자 */
.product-board-list__search > p {
  font-size: 14px;
  color: var(--sc-gray);
}
.product-board-list__search > p span,
.product-board-list__search > p em,
.product-board-list__search > p strong {
  color: var(--sc-black) !important;
  font-weight: 700;
}
/* 문의 작성 창: 고른 문의 유형이 자리표시처럼 회색이었다 → 잉크색. '파일 첨부하기' 흰 테두리 → 회색 면 */
:root .portal .title-modal select,
:root .portal .title-modal .select-box select {
  color: var(--sc-ui-ink);
}
:root .portal .title-modal .board-form__upload-btn,
:root .portal .title-modal .board-form__file-btn,
:root .portal .title-modal [class*='file-upload'] .btn,
:root .portal .title-modal .file-upload__btn {
  border: 0;
  background: var(--sc-off);
  color: var(--sc-ui-ink);
  font-weight: 600;
}

/* 배송지 등록 창(v0.7.3): PC 창(높이 760px)에서 내용이 41px 넘쳐, 아래 고정 버튼 줄 뒤로
   '기본 배송지로 저장' 체크가 가려져 잘린 것처럼 보였다.
   → 항목 사이 간격을 줄여 한 화면에 들어가게 하고, 그래도 넘치는 낮은 화면에서는
     버튼 줄 위에 가는 선을 그어 '아래로 더 있음'이 아니라 고정된 버튼 줄로 읽히게 한다. */
:root .portal .shipping-address-form__item + .shipping-address-form__item {
  margin-top: 16px;
}
/* PC 창 최대 높이 760 → 840px(화면이 낮으면 위아래 40px 남김): 배송지 창 내용(741px)이 한 번에 들어간다 */
@media (min-width: 1001px) {
  :root .portal .modal.full-modal {
    max-height: min(840px, calc(100vh - 80px));
    max-height: min(840px, calc(100dvh - 80px));
  }
  :root .portal .modal.full-modal .title-modal__content {
    max-height: min(780px, calc(100vh - 140px));
    max-height: min(780px, calc(100dvh - 140px));
  }
}
.shipping-address-form .shipping-address-form__buttons {
  margin-top: 16px;
  border-top: 1px solid var(--sc-line);
}

/* ==================================================================
   배송지 목록 카드 (v0.7.4) — 실제 등록 후 확인
   전: 모서리 없는 회색 테두리 상자, 모든 줄이 같은 크기, '기본 배송지'가 평문, 수정·삭제가 네모 테두리 버튼
   후: 16px 모서리 카드 · 받는 사람 16px 굵게 + '기본 배송지' 작은 배지 · 주소 14.5px · 휴대폰 회색 · 수정·삭제 회색 글자 버튼
   ================================================================== */
.profile-shipping-address__list-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  padding: 20px !important;
  border: 1px solid var(--sc-line) !important;
  border-radius: var(--sc-rl);
  background: var(--sc-white);
}
.profile-shipping-address__list-item + .profile-shipping-address__list-item {
  margin-top: 12px;
}
.profile-shipping-address__list-item > p {
  grid-column: 1;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--sc-ui-ink);
}
.profile-shipping-address__name:empty {
  display: none;
}
.profile-shipping-address__name {
  font-size: 13px !important;
  color: var(--sc-gray) !important;
}
.profile-shipping-address__receiver {
  margin-bottom: 6px !important;
  font-size: 16px !important;
  font-weight: 700;
  color: var(--sc-black) !important;
}
.profile-shipping-address__zip-code {
  color: var(--sc-gray) !important;
}
.profile-shipping-address__mobile {
  margin-top: 6px !important;
  color: var(--sc-gray) !important;
}
.profile-shipping-address__default-address {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex !important;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--sc-tint, #f1f0ff);
  color: var(--sc-blue) !important;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1 !important;
  transform: translateX(calc(var(--sc-recv-w, 0px)));
}
/* 배지를 이름 오른쪽에 두기 위해: 기본 배송지인 카드는 이름 앞에 배지 폭만큼 자리를 비우는 대신
   배지를 이름 줄 오른쪽 끝(버튼 왼쪽)으로 보낸다 */
.profile-shipping-address__list-item:has(.profile-shipping-address__default-address) .profile-shipping-address__default-address {
  position: static;
  grid-column: 1;
  grid-row: auto;
  justify-self: start;
  order: -1;
  margin: 0 0 8px;
  transform: none;
}
.profile-shipping-address__buttons--sm {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  align-self: start;
  gap: 2px;
}
.profile-shipping-address__buttons--sm .btn {
  min-width: 0;
  height: 36px;
  padding: 0 8px;
  border: 0 !important;
  background: none !important;
  color: var(--sc-gray) !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 창 안 휴대폰 앞자리 선택칸: 글자가 위로 붙어 옆 칸 글자와 줄이 안 맞았다 → 세로 가운데 */
:root .portal .phone-number-input .select-box,
:root .portal .phone-number-input select {
  display: flex;
  align-items: center;
  height: var(--sc-ui-field-height, 44px);
  line-height: normal;
}
:root .portal .phone-number-input select {
  padding-top: 0;
  padding-bottom: 0;
}
.profile-shipping-address__buttons--sm {
  grid-row: 1;
  margin: -8px -8px 0 0;
}
.profile-shipping-address__list-item > p:not(.profile-shipping-address__receiver):not(.profile-shipping-address__mobile):not(.profile-shipping-address__default-address) {
  margin: 0 !important;
  padding: 0 !important;
}
.profile-shipping-address__list-item:has(.profile-shipping-address__default-address) .profile-shipping-address__buttons--sm {
  grid-row: 2;
  align-self: center;
  margin-top: -6px;
}
/* 최종: 그리드 대신 카드 오른쪽 위에 고정(첫 줄과 같은 높이) */
.profile-shipping-address__list-item {
  display: flex !important;
  flex-direction: column;
  padding-right: 120px !important;
}
.profile-shipping-address__list-item .profile-shipping-address__buttons--sm,
.profile-shipping-address__list-item:has(.profile-shipping-address__default-address) .profile-shipping-address__buttons--sm {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}
.profile-shipping-address__list-item {
  padding-right: 20px !important;
}
.profile-shipping-address__list-item .profile-shipping-address__default-address {
  align-self: flex-start;
}
/* 버튼과 겹칠 수 있는 첫 줄(배지 또는 받는 사람)만 오른쪽을 비운다 */
.profile-shipping-address__list-item > .profile-shipping-address__receiver,
.profile-shipping-address__list-item > .profile-shipping-address__name {
  padding-right: 100px !important;
}
.profile-shipping-address__list-item:has(.profile-shipping-address__default-address) > .profile-shipping-address__receiver {
  padding-right: 0 !important;
}

/* ==================================================================
   체크박스 통일 (v0.6.4, 2026-11-11)
   전: 파란 원(--rounded) + 패키지 그림 체크, 크기가 글자 크기(1.14em)를 따라 16·18px 로 제각각
   후: 20px 고정 · 6px 모서리 네모 · 끄면 흰 바탕 + 회색 선 · 켜면 잉크색 면 + 흰 체크(선 2px)
       잉크색은 주 버튼(로그인·주문하기)과 같은 색. 장바구니·주문서·가입 약관·문의 비밀글 모두 같은 모양.
   ================================================================== */
:root .check-radio .check-radio__ico {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border: 1.5px solid var(--sc-line-2, #d4d4d8);
  border-radius: 6px;
  background-color: var(--sc-white);
  box-sizing: border-box;
  transition: background-color 0.12s, border-color 0.12s;
}

:root .check-radio input:checked ~ .check-radio__ico {
  border-color: var(--sc-ui-ink, #242428);
  background-color: var(--sc-ui-ink, #242428);
}

/* 패키지 그림 체크(스프라이트) 대신 선 체크 */
:root .check-radio .check-radio__ico .ico {
  display: none;
}
:root .check-radio input:checked ~ .check-radio__ico::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sc-white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m5.5 10.2 3 3 6-6.4%27/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m5.5 10.2 3 3 6-6.4%27/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

:root .check-radio input:disabled ~ .check-radio__ico {
  border-color: var(--sc-line, #e7e7ea);
  background-color: var(--sc-off, #f6f6f7);
}

/* 키보드로 옮겨 왔을 때만 파란 테두리(전역 포커스 규칙과 같은 색) */
:root .check-radio input:focus-visible ~ .check-radio__ico {
  outline: 2px solid var(--sc-blue, #3a2ee8);
  outline-offset: 2px;
}

/* 라디오도 같은 색 계열: 켜면 잉크색 */
:root .check-radio [type='radio'] {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--sc-line-2, #d4d4d8);
}
:root .check-radio [type='radio']:checked {
  border-color: var(--sc-ui-ink, #242428);
}
:root .check-radio [type='radio']:checked::before {
  width: 10px;
  height: 10px;
  background-color: var(--sc-ui-ink, #242428);
}

/* 장바구니: 패키지가 숨은 input 에 18px 를 줘 체크 옆이 밀렸다 */
.cart .check-radio > input {
  width: 1px;
  height: 1px;
  margin: 0;
}

/* ------------------------------------------------------------------
   PC 패널(.l-panel) 테두리: 패키지는 위·아래 선만 있는데(1px 0) 스킨이 PC 에서 모서리를 둥글려
   양옆이 잘린 것처럼 보였다(장바구니 상품 카드·전체 선택 줄 등) → PC 에서는 네 변 모두 선
   ------------------------------------------------------------------ */
@media (min-width: 1001px) {
  .l-panel {
    border: 1px solid var(--sc-line, #e7e7ea);
  }
}

/* ==================================================================
   입력칸 글자 크기 (v0.7.0, 2026-11-11 사용자 결정: 타사와 같은 방식)
   실측(390px): 쿠팡·오늘의집·컬리 입력·자리표시 14px, 네이버 17px.
   무신사·29CM·쿠팡·오늘의집·컬리·네이버·SSG 모두 viewport 에 maximum-scale=1 을 둔다.
   → 우리도 public/index.html viewport 에 maximum-scale=1.0 을 넣고 입력 글자·자리표시를 14px 로 통일.
   - 아이폰(iOS 10+): maximum-scale=1 이면 16px 미만 입력칸을 눌러도 자동 확대가 없고, 손가락 확대는 그대로 된다.
   - 안드로이드 크롬: 이 설정을 따라 손가락 확대가 막힌다(사용자가 알고 고른 절충).
   선택자 앞 :root 를 세 번 쓴 것은 화면별 규칙(:root .claim .text-field input 등)보다 앞서게 하려는 것.
   ================================================================== */
:root:root:root input:not([type='checkbox']):not([type='radio']):not([type='button']):not([type='submit']):not([type='range']),
:root:root:root textarea,
:root:root:root .sc-select__value {
  font-size: 14px;
}

:root:root:root input:not([type='checkbox']):not([type='radio']):not([type='button']):not([type='submit'])::placeholder,
:root:root:root textarea::placeholder {
  font-size: 14px;
}

