/* ============================================================
 * components.css — 새로 추가되는 화면들이 공유하는 컴포넌트
 * 디자인 토큰은 style.css 의 :root 정의를 그대로 사용
 * ============================================================ */

/* ── Buttons ──────────────────────────────────────────────── */
/* width/margin 리셋 — style.css의 기존 .btn-primary(width:100%, margin-top:4px)와 공존 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; margin: 0;
  gap: 6px; border: none; border-radius: var(--radius-sm);
  font-family: inherit; font-weight: 600; cursor: pointer;
  transition: background var(--transition), opacity var(--transition), border-color var(--transition);
  white-space: nowrap; text-decoration: none;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm  { font-size: var(--text-xs);  padding: 5px 12px; }
.btn-md  { font-size: var(--text-md);  padding: 9px 18px; }
.btn-lg  { font-size: var(--text-base); padding: 13px 28px; }

.btn-primary   { background: var(--color-dark-2); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--color-dark-hover); }
.btn-cta       { background: var(--color-primary); color: #fff; }
.btn-cta:hover:not(:disabled) { background: var(--color-primary-dark); }
.btn-secondary { background: #fff; color: var(--color-text); border: 1px solid var(--color-border); }
.btn-secondary:hover:not(:disabled) { background: #f5f5f5; }
.btn-ghost     { background: transparent; color: var(--color-text-secondary); border: 1px solid var(--color-border); }
.btn-ghost:hover:not(:disabled) { background: #f5f5f5; }
.btn-danger    { background: var(--color-primary); color: #fff; }
.btn-danger:hover:not(:disabled) { background: var(--color-primary-dark); }
.btn-block     { display: flex !important; width: 100% !important; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--sp-4); }
.form-label { display: block; font-size: var(--text-md); font-weight: 500; margin-bottom: var(--sp-1); color: var(--color-text); }
.form-label .required { color: var(--color-primary); }

.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-base); font-family: inherit;
  outline: none; background: #fff; color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-dark-2); box-shadow: 0 0 0 2px rgba(34,34,34,.08);
}
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-input:disabled, .form-select:disabled, .form-textarea:disabled {
  background: #f5f5f5; color: var(--color-text-muted); cursor: not-allowed;
}
.form-input.is-error { border-color: var(--color-primary); }
.form-input.is-error:focus { box-shadow: 0 0 0 2px rgba(231,76,60,.1); }

.input-with-btn { display: flex; gap: var(--sp-2); }
.input-with-btn .form-input { flex: 1; }

.input-timer-wrap { position: relative; flex: 1; }
.input-timer-wrap .form-input { padding-right: 56px; }
.input-timer {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: var(--text-md); color: var(--color-primary); font-weight: 600;
  pointer-events: none;
}

.field-hint  { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--sp-1); }
.field-error { font-size: var(--text-sm); color: var(--color-primary); margin-top: var(--sp-1); }
.field-success { font-size: var(--text-sm); color: var(--color-success); margin-top: var(--sp-1); }

/* ── Tabs ─────────────────────────────────────────────────── */
.tab-nav {
  display: flex; border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--sp-5); overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0; background: none; border: none;
  padding: 10px 20px; font-size: var(--text-md);
  color: var(--color-text-muted); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap; text-decoration: none;
}
.tab-btn:hover  { color: var(--color-text); }
.tab-btn.active { color: var(--color-dark-2); font-weight: 700; border-bottom-color: var(--color-dark-2); }
.tab-content { display: none; }
.tab-content.active { display: block; }
@media (max-width: 480px) {
  .tab-btn { padding: 10px 14px; font-size: var(--text-sm); }
}

/* ── Empty State ──────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 60px 20px;
  background: #fafafa; border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
}
.empty-icon  { font-size: 40px; margin-bottom: var(--sp-4); opacity: .55; }
.empty-title { font-size: var(--text-lg); font-weight: 700; color: var(--color-text); margin-bottom: var(--sp-2); }
.empty-desc  { font-size: var(--text-md); color: var(--color-text-muted); }

/* ── Alerts ───────────────────────────────────────────────── */
.alert { padding: 10px 14px; border-radius: var(--radius-sm); font-size: var(--text-md); margin-bottom: var(--sp-4); }
.alert-success { background: var(--color-success-bg); border: 1px solid #c3e6cb; color: #155724; }
.alert-error   { background: var(--color-danger-bg);  border: 1px solid #f5c6cb; color: #721c24; }
.alert-warning { background: var(--color-warning-bg); border: 1px solid #fcd34d; color: #92400e; }
.alert-info    { background: var(--color-info-bg);    border: 1px solid #bee3f8; color: #1e40af; }

/* ── Toast (JS 토글 .is-show) ──────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--radius-md);
  background: #fff; box-shadow: var(--shadow-lg);
  font-size: var(--text-md); font-weight: 500;
  opacity: 0; transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast-success .toast-icon { color: var(--color-success); }
.toast-error   .toast-icon { color: var(--color-primary); }
@media (max-width: 480px) { .toast { bottom: 16px; right: 12px; left: 12px; } }

/* ── Cards / Panels ───────────────────────────────────────── */
.panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  margin-bottom: var(--sp-5);
}
.panel-title {
  font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--sp-4);
  color: var(--color-text); padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--color-border-light);
}

/* ── Status Badges ───────────────────────────────────────── */
.status-badge {
  display: inline-block; padding: 3px 10px;
  border-radius: var(--radius-pill); font-size: var(--text-xs);
  font-weight: 600; line-height: 1.5;
}
.status-badge.s-입금전      { background: var(--color-danger-bg);  color: var(--color-danger); }
.status-badge.s-배송준비중  { background: var(--color-warning-bg); color: var(--color-warning); }
.status-badge.s-배송대기    { background: var(--color-warning-bg); color: var(--color-warning); }
.status-badge.s-배송중      { background: var(--color-info-bg);    color: var(--color-info); }
.status-badge.s-배송완료    { background: var(--color-success-bg); color: var(--color-success); }
.status-badge.s-취소        { background: #eee; color: #999; }
.status-badge.s-대기        { background: var(--color-warning-bg); color: var(--color-warning); }
.status-badge.s-답변완료    { background: var(--color-success-bg); color: var(--color-success); }
.status-badge.s-처리완료    { background: var(--color-success-bg); color: var(--color-success); }
.status-badge.s-환불요청    { background: var(--color-danger-bg);  color: var(--color-danger); }

/* ── Stepper (회원가입 단계) ──────────────────────────────── */
.stepper { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.stepper-item {
  flex: 1; display: flex; align-items: center; gap: 8px;
  font-size: var(--text-sm); color: var(--color-text-muted);
}
.stepper-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: #e0e0e0; color: #fff; font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.stepper-item.active .stepper-num { background: var(--color-dark-2); }
.stepper-item.active { color: var(--color-text); font-weight: 700; }
.stepper-item.done .stepper-num { background: var(--color-success); }

/* ── Modal (간단) ─────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
}
.modal-backdrop[hidden] { display: none !important; }
.modal {
  background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto;
}
.modal-header {
  padding: var(--sp-5); border-bottom: 1px solid var(--color-border-light);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-size: var(--text-lg); font-weight: 700; }
.modal-close {
  background: none; border: none; font-size: 22px; line-height: 1;
  color: var(--color-text-muted); cursor: pointer; padding: 0;
}
.modal-body { padding: var(--sp-5); }
.modal-footer {
  padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--color-border-light);
  display: flex; justify-content: flex-end; gap: var(--sp-2);
}

/* ── 소셜 로그인 (네이버·카카오·구글 공식 가이드 톤) ─────── */
.social-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0 14px;
  font-size: 12px; color: var(--color-text-muted);
}
.social-divider::before, .social-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--color-border-light);
}
.social-buttons { display: flex; flex-direction: column; gap: 8px; }

.social-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 16px;
  border-radius: 6px; font-size: 15px; font-weight: 500;
  font-family: inherit; text-decoration: none;
  transition: filter .15s, transform .15s, box-shadow .15s;
}
.social-btn:hover { filter: brightness(.95); transform: translateY(-1px); }
.social-btn:active { transform: translateY(0); }
.social-btn .social-icon {
  position: absolute; left: 18px;
  width: 20px; height: 20px;
}

.social-btn--naver  { background: #03c75a; color: #fff; }
.social-btn--kakao  { background: #fee500; color: rgba(0,0,0,.85); }
.social-btn--google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; box-shadow: 0 1px 1px rgba(0,0,0,.04); }
.social-btn--google:hover { background: #f8f9fa; }

/* ── 성인인증 영역 (회원가입) ─────────────────────────────── */
.adult-verify {
  padding: 14px 16px; background: #fff8f6;
  border: 1.5px solid rgba(231,76,60,.2); border-radius: var(--radius-sm);
}
.adult-checkbox {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; line-height: 1.6; cursor: pointer;
  margin-top: 4px;
}
.adult-checkbox input { margin-top: 4px; flex-shrink: 0; }
.adult-checkbox strong { color: var(--color-primary); font-weight: 700; }

/* ── 선택한 옵션 리스트 (상품 상세) ───────────────────────── */
.selected-options {
  margin: 16px 0 12px;
  padding: 14px;
  background: #fafafa;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.selected-options-title {
  font-size: 12px; font-weight: 700; color: var(--color-text-secondary);
  margin-bottom: 10px;
}
.selected-list {
  list-style: none; padding: 0; margin: 0;
}
.selected-list li {
  display: grid; grid-template-columns: 1fr auto auto auto;
  gap: 10px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid #eee;
  font-size: 13px;
}
.selected-list li:last-child { border-bottom: none; }
.opt-name { color: var(--color-text); font-weight: 500; }
.opt-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  overflow: hidden; height: 28px;
}
.opt-qty button {
  width: 26px; height: 28px; background: #fff; border: none;
  font-size: 14px; cursor: pointer;
}
.opt-qty button:hover { background: #f0f0f0; }
.opt-qty-input {
  width: 36px; height: 28px; text-align: center; border: none;
  border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
  font-size: 12px; outline: none;
}
.opt-line { font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.opt-remove {
  width: 24px; height: 24px; border: none; background: transparent;
  color: #aaa; font-size: 14px; cursor: pointer; border-radius: 4px;
}
.opt-remove:hover { background: #fee; color: var(--color-primary); }

.selected-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
}
.selected-total strong { font-size: 18px; color: var(--color-primary); font-weight: 900; }

/* ── Quantity Stepper (-/+ 버튼) ──────────────────────────── */
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  overflow: hidden; height: 34px;
}
.qty-btn {
  width: 34px; height: 34px; background: #fff; border: none;
  font-size: 16px; color: var(--color-text); cursor: pointer;
}
.qty-btn:hover { background: #f5f5f5; }
.qty-btn:disabled { color: var(--color-text-disabled); cursor: not-allowed; }
.qty-input {
  width: 50px; height: 34px; border: none; text-align: center;
  border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
  font-size: var(--text-md); outline: none;
}
.qty-input:focus { background: #fafafa; }
.line-total { font-weight: 600; }

/* ── 마이페이지 적립금 요약 위젯 ──────────────────────────── */
.mileage-quick {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-md);
  background: var(--color-primary-light); color: var(--color-primary-dark);
  font-size: var(--text-md);
}
.mileage-quick strong { font-size: var(--text-xl); font-weight: 700; }
.mileage-summary { display: flex; gap: 24px; align-items: center; padding: 16px; background: #fafafa; border-radius: var(--radius-md); }
.mileage-summary-item { display: flex; flex-direction: column; }
.mileage-summary-item .label { font-size: var(--text-xs); color: var(--color-text-muted); }
.mileage-summary-item strong { font-size: var(--text-2xl); color: var(--color-primary); font-weight: 700; }
.m-plus  { color: var(--color-primary); font-weight: 600; }
.m-minus { color: var(--color-text-muted); }

/* ── Home Card Layout (proposal-4 적용) ──────────────────── */
:root {
  --radius-card: 14px;
  --shadow-card: 0 2px 8px rgba(26,31,46,.07), 0 8px 24px rgba(26,31,46,.05);
  --shadow-hover: 0 8px 32px rgba(26,31,46,.14);
}
.home-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px 64px; }

/* 홈 섹션 (일관된 간격) */
.home-section { margin-top: 56px; }
/* 슬라이더 섹션은 페이지 최상단 첫 콘텐츠 — 상단 여백 최소화 */
.home-section--slider { margin-top: 24px; }

.home-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 20px;
}
.home-section-head--center {
  flex-direction: column; align-items: center; text-align: center;
  margin-bottom: 24px;
}
.home-section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--color-primary);
  margin-bottom: 6px;
}
.home-section-title {
  font-size: 22px; font-weight: 800; color: var(--color-dark);
  letter-spacing: -.02em; line-height: 1.3;
}
.sec-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--color-text-muted);
  padding: 7px 14px; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--color-border);
  transition: border-color .18s, color .18s;
}
.sec-more:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* 상품 카드 그리드 (카드 톤) */
.prod-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.prod-card {
  background: #fff; border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); overflow: hidden;
  border: 1.5px solid transparent;
  transition: box-shadow .18s, transform .18s, border-color .18s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.prod-card:hover {
  box-shadow: var(--shadow-hover); transform: translateY(-3px);
  border-color: #d0d5e0;
}
.prod-thumb {
  position: relative; aspect-ratio: 4 / 3;
  background: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.prod-thumb img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform .3s;
}
.prod-card:hover .prod-thumb img { transform: scale(1.05); }
.prod-flag {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 100px;
  background: var(--color-dark); color: #fff;
}
.prod-flag.flag-soldout { background: rgba(0,0,0,.55); }
.prod-info {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.prod-name {
  font-size: 14px; font-weight: 500; color: var(--color-text);
  line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 41px;
}
.prod-price {
  font-size: 19px; font-weight: 900; color: var(--color-primary);
  letter-spacing: -.02em; margin-top: auto;
}
.prod-price-sub { font-size: 11px; color: var(--color-text-muted); }
.prod-price-locked {
  font-size: 13px; color: var(--color-text-muted);
  margin-top: auto; padding-top: 4px;
}
.prod-price-locked a { color: var(--color-primary); font-weight: 600; }

/* BEST 탭 (카테고리별) */
.best-tab-nav {
  display: flex; justify-content: center; gap: 4px; flex-wrap: wrap;
  margin: 0 0 24px;
}
.best-tab-btn {
  padding: 8px 18px; font-size: 14px; font-weight: 500;
  color: var(--color-text-muted); background: transparent;
  border: none; cursor: pointer; border-radius: 100px;
  transition: color .18s, background .18s;
}
.best-tab-btn:hover { color: var(--color-dark); }
.best-tab-btn.active {
  color: #fff; background: var(--color-dark); font-weight: 700;
}
/* display:none → display:grid 전환 시 prod-grid의 columns·gap이 이미 적용됨.
   active 상태에서 grid-template-columns를 명시해 브라우저 재계산 오류 방지 */
.best-tab-content { display: none; }
.best-tab-content.active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* 모바일 반응형 */
@media (max-width: 1024px) {
  .prod-grid,
  .best-tab-content.active { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .home-wrap { padding: 0 16px 40px; }
  .prod-grid,
  .best-tab-content.active { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .home-section { margin-top: 40px; }
  .home-section--slider { margin-top: 16px; }
  .home-section-title { font-size: 18px; }
  .best-tab-btn { padding: 7px 14px; font-size: 13px; }
  .prod-name { font-size: 13px; min-height: 38px; }
  .prod-price { font-size: 17px; }
  .prod-info { padding: 12px 14px 14px; }
}
@media (max-width: 480px) {
  .home-wrap { padding: 0 12px 32px; }
  .prod-grid,
  .best-tab-content.active { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-name { font-size: 12.5px; min-height: 36px; line-height: 1.4; }
  .prod-price { font-size: 16px; }
  .prod-price-locked { font-size: 12px; }
  .prod-info { padding: 11px 12px 13px; gap: 4px; }
  .home-section-title { font-size: 17px; }
  .home-section-eyebrow { font-size: 10px; }
}

/* ── 페이지 헤더 ──────────────────────────────────────────── */
.page-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: var(--sp-5); padding-bottom: var(--sp-4);
  border-bottom: 2px solid var(--color-border-light);
  gap: var(--sp-3); flex-wrap: wrap;
}
.page-title { font-size: var(--text-2xl); font-weight: 700; color: var(--color-text); }
.page-subtitle { font-size: var(--text-md); color: var(--color-text-muted); }


/* ── 가입 인센티브 (상품 카드/상세) ─────────────────────── */
.prod-incentive {
  font-size: 12px; color: #d35400; margin-top: 4px;
  background: #fff3e0; padding: 4px 8px; border-radius: 4px;
  display: inline-block; line-height: 1.4;
}
.prod-incentive strong { color: #c0392b; }

.signup-incentive-box {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #fff8e1, #ffecb3);
  border: 1px solid #ffd54f; border-radius: 8px;
  padding: 14px 18px; margin: 16px 0;
}
.incentive-icon { font-size: 32px; flex-shrink: 0; }
.incentive-text { flex: 1; }
.incentive-text strong { display: block; font-size: 15px; color: #5d4037; margin-bottom: 2px; }
.incentive-text p { font-size: 12px; color: #6d4c41; margin: 0; }
.btn-incentive-join {
  display: inline-block; background: #d35400; color: #fff;
  padding: 9px 18px; border-radius: 4px; font-size: 13px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}
.btn-incentive-join:hover { background: #b34800; color: #fff; }

/* ── 입금 카운트다운 ────────────────────────────────────── */
.bank-deadline {
  background: #fff3e0; border: 1px solid #ffb74d; border-radius: 4px;
  padding: 10px 14px; margin: 12px 0;
  font-size: 14px; color: #5d4037;
}
.bank-deadline strong { color: #d84315; font-size: 15px; }
.deadline-countdown { color: #6d4c41; font-weight: 600; }

/* ── 다음 우편번호 검색 ────────────────────────────────── */
.addr-zip-row { display: flex; gap: 8px; }
.addr-zip { flex: 0 0 140px; background: #fafafa; }
.btn-zip-search {
  background: #1a1f2e; color: #fff; border: none;
  padding: 0 18px; border-radius: 4px; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.btn-zip-search:hover { background: #2c3142; }

/* ── 법적 페이지 (privacy/terms/refund) ────────────────── */
.legal-page { max-width: 860px; margin: 0 auto; padding: 32px 20px; line-height: 1.8; color: #333; }
.legal-page .page-title { margin-bottom: 6px; }
.legal-effective { font-size: 12px; color: #888; margin-bottom: 30px; }
.legal-intro { font-size: 14px; background: #fafafa; padding: 16px 18px; border-radius: 6px; margin-bottom: 30px; line-height: 1.9; }
.legal-page h2 { font-size: 17px; font-weight: 700; margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #1a1f2e; color: #1a1f2e; }
.legal-page h3 { font-size: 15px; font-weight: 600; margin: 20px 0 8px; color: #333; }
.legal-page p { margin: 8px 0; font-size: 14px; }
.legal-page ol, .legal-page ul { margin: 8px 0 8px 24px; font-size: 14px; }
.legal-page ol li, .legal-page ul li { margin-bottom: 6px; }
.legal-page strong { color: #1a1f2e; }
.legal-page a { color: #1976d2; text-decoration: underline; }
.legal-officer { background: #fafafa; border: 1px solid #e0e0e0; border-radius: 6px; padding: 18px 22px; margin: 30px 0; }
.legal-officer p { font-weight: 700; margin-bottom: 8px; }
.legal-warning {
  background: #fff8e1; border-left: 4px solid #ff9800;
  padding: 14px 18px; margin: 20px 0; font-size: 14px; line-height: 1.7;
}

/* ── 푸터: 청소년 보호 경고 ────────────────────────────── */
.footer-warning {
  margin-top: 14px; padding: 10px 14px; background: rgba(255,255,255,.06);
  border-left: 3px solid #f5b342; border-radius: 4px;
  font-size: 12px; color: #f5b342;
}

