/* 한국애너하임 ai_theme 공통 타이포그래피 2026-10-29
 * 제목은 공통 head.php의 .ai-subhead h1 을 단일 기준으로 사용.
 * 고정 px 폭, 네비게이션, 쇼핑 주문/폼 행동을 변경하지 않습니다.
 */
:root {
  --ai-font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
}
body, body .ai-page, body .ai-header, body .ai-footer,
body .ai-page .ai-container,
body .ai-page input, body .ai-page select, body .ai-page textarea,
body .ai-page button {
  font-family: var(--ai-font-family) !important;
}
/* 페이지 공통 상단 타이틀: 상품리스트/상세/장바구니/게시판 동일 기준 */
html body .ai-page:not(.ai-home) .ai-subhead,
html body .ai-page:not(.ai-home) .ai-subhead h1 {
  font-family: var(--ai-font-family) !important;
}
html body .ai-page:not(.ai-home) .ai-subhead h1 {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: -.045em !important;
  color: #122d40 !important;
  word-break: keep-all;
}
/* 본문 제목과 일반 텍스트는 공통 계열 상속, 기존 디자인의 크기·색상은 보존 */
html body .ai-page h1, html body .ai-page h2, html body .ai-page h3,
html body .ai-page h4, html body .ai-page h5, html body .ai-page h6,
html body .ai-page p, html body .ai-page a, html body .ai-page li,
html body .ai-page th, html body .ai-page td, html body .ai-page label,
html body .ai-page strong, html body .ai-page span:not(.fa):not([class^="fa-"]):not([class*=" fa-"]) {
  font-family: var(--ai-font-family) !important;
}
/* FontAwesome 아이콘은 텍스트 서체 적용 대상이 아님 */
body .ai-page .fa, body .ai-header .fa, body .ai-footer .fa,
body .ai-page [class^="fa-"], body .ai-page [class*=" fa-"] {
  font-family: FontAwesome !important;
}
/* 코드형 본문은 원래의 고정폭 서체를 유지 */
body .ai-page code, body .ai-page pre, body .ai-page kbd,
body .ai-page samp, body .ai-page pre * {
  font-family: Consolas, "Courier New", monospace !important;
}
@media(max-width:767px) {
  html body .ai-page:not(.ai-home) .ai-subhead h1 {
    font-size: 24px !important;
    line-height: 1.45 !important;
  }
}
