/* ==========================================================
   스마트79 — Reset
   전역 font-size px 고정 금지 (html { font-size: 16px } 제외)
   ========================================================== */
@font-face {
  font-family: 'GmarketSans';
  src: url('../assets/fonts/GmarketSansOTF Light.otf') format('opentype');
  font-weight: 300;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('../assets/fonts/GmarketSansOTF Medium.otf') format('opentype');
  font-weight: 500;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('../assets/fonts/GmarketSansOTF Bold.otf') format('opentype');
  font-weight: 700;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 기본 rem 기준값 — 이 값은 절대 변경 금지 */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'GmarketSans', 'Nanum Gothic', sans-serif;
  background: var(--gray-bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

button, input, textarea, select {
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
}

/* 체크박스는 브라우저 기본 UI 유지 */
input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

button { cursor: pointer; border: none; background: none; }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

a { color: inherit; text-decoration: none; }
