@charset "utf-8";

/*
 * 전역 타이포그래피
 * - 본문/UI: Pretendard + Noto Sans KR
 * - 제목/강조: Gmarket Sans
 */

/* Pretendard */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* Noto Sans KR */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap");

/* Gmarket Sans */
@font-face {
  font-family: "GmarketSans";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff") format("woff");
}
@font-face {
  font-family: "GmarketSans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff") format("woff");
}
@font-face {
  font-family: "GmarketSans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff") format("woff");
}

:root {
  --font-display: "GmarketSans", "Pretendard", "Noto Sans KR", sans-serif;
  --font-body: "Pretendard", "Noto Sans KR", sans-serif;
  --font-ui: "Pretendard", "Noto Sans KR", sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body) !important;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
#logo,
#hd_h1,
#container_title,
.bo_v_tit,
.bo_tit,
.gall_li_tit,
.lt_title,
.avr-title,
.fo_dispatch_title,
.fo_proof_title,
.gc_head h1,
.fo_write_title {
  font-family: var(--font-display) !important;
  letter-spacing: -0.03em;
  font-weight: 500;
}

input, button, select, textarea,
.btn, .btn_submit, .btn_b01, .btn_b02, .btn_b03,
.btn_frmline, .frm_input,
#gnb, #tnb, #hd_nb, #ft {
  font-family: var(--font-ui) !important;
}

strong, b, .fo_fare, .fo_no, .fo_badge,
.fo_author, .hd_mb_nick {
  font-family: var(--font-body);
  letter-spacing: -0.02em;
}

/* 숫자·금액 가독 */
.fo_fare, .fo_km, .gc_price, .fo_weight,
.visit-num, .pg_current {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
