/* EmptyState — 마이페이지 리스트류 데이터 없음 공통 상태 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 80px 16px;
  background: #ffffff;
}

.empty-state__icon-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-state__message {
  font-family: Pretendard, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.0014em;
  color: #9b9b9b;
  text-align: center;
  margin: 0;
}

.empty-state__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 20px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

.empty-state__button--dark {
  background: #202020;
}

.empty-state__button--dark .empty-state__button-label {
  color: #ffffff;
}

/* accent(1:1문의 Empty 등) — Figma CS-003: 빈 안내는 하단 80px 패딩으로 끝나고,
   그 아래 별도 ButtonArea(pad 16/16/20)에 328×52 전폭 버튼이 놓임.
   컨테이너 gap 96 = 빈 안내 하단 80 + ButtonArea 상단 16 */
.empty-state--accent {
  gap: 96px;
  padding: 80px 16px 20px;
}

.empty-state__button--accent {
  width: 100%;
  height: 52px;
  border-radius: 8px;
  background: #f0f4fe;
}

/* Figma Button/Buttons 라벨 16px/500 (dark variant 14px/500과 구분) */
.empty-state__button--accent .empty-state__button-label {
  font-size: 16px;
  line-height: 24px;
  color: #3c56d6;
}

.empty-state__button-label {
  font-family: Pretendard, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.0014em;
  white-space: nowrap;
}

/* 자주 묻는 질문(FAQ) 화면 — Figma CS-002(5295:27222).
   베이스 스킨은 검색창(.faq__search) + 아이콘 스프라이트(Q/A 그림)로 구성된 FAQ 화면을
   기본 제공하지만, Figma는 검색 없이 카테고리 탭 + 텍스트형 "Q" 라벨 리스트라 이 페이지
   스코프로 리셋한다. */

/* 카테고리 탭 — 배경/높이/구분선/아이템 밑줄 리셋/폰트크기·굵기·비활성색은 다른
   화면들(취소반품교환/상품후기 등)과 공유하는 _layout.css의 .tabs 공용 오버라이드로
   전부 이전됨 — 이 파일엔 이 화면 전용 레이아웃(가로 스크롤형 탭 바)과, 밑줄을
   li가 아니라 button 쪽에 그리는 이 화면만의 구조 때문에 필요한 활성 상태 스타일만
   남긴다. */
.faq__tabs {
  display: flex;
  justify-content: flex-start;
  /* Figma CategoryRow gap=8 + 각 TabItem 좌우 pad 8 → 라벨 간 실효 간격 24px.
     버튼 좌우 패딩이 0인 우리 구조에선 gap 24px가 같은 실효 간격 */
  gap: 24px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.faq__tabs::-webkit-scrollbar {
  display: none;
}

.faq__tabs .tabs__item {
  flex: none;
  list-style: none;
}

.faq__tabs .tabs__item button {
  height: auto;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  line-height: 24px;
}

.faq__tabs .tabs__item.on button {
  font-weight: 600;
  color: #1a1a1a;
  border-bottom-color: #202020;
}

/* FAQ 리스트 — 베이스 스킨(margin-top:30px + 상단 구분선 + 아이콘 스프라이트)을 리셋 */
.faq .faq-list {
  margin-top: 0;
  border-top: none;
  padding: 0 16px 20px;
}

.faq .faq-list__content-wrap {
  padding: 20px 0;
  border-bottom: 1px solid #e6e6e6;
}

.faq .faq-list__content {
  padding: 0;
}

.faq .faq-list__question {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* "Q" 아이콘 스프라이트 대신 Figma가 요구하는 텍스트 라벨로 대체 —
   굵기는 두 프레임(CS-002/_Empty) 모두 16px/400으로 일관 */
.faq .faq-list__question .ico--q {
  flex-shrink: 0;
  width: auto;
  height: auto;
  background-image: none;
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3c56d6;
}

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

.faq .faq-list__question p {
  font-family: Pretendard, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #404040;
}

/* Figma 디자인엔 펼침/접힘 화살표가 없어 숨긴다 */
.faq .faq-list__question .arrow {
  display: none;
}

.faq .faq-list__answer {
  margin-top: 12px;
  padding: 0 0 0 16px;
  background-color: transparent;
}

.faq .faq-list__answer .ico--a {
  display: none;
}

.faq .faq-list__answer .sanitize-wrap {
  font-family: Pretendard, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: #9b9b9b;
}