/* /sample/sample1~3 공통: 리셋, 아이콘, 토스트 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: transparent; cursor: pointer; text-align: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
fieldset { min-width: 0; }
i { font-style: normal; }
ul, ol { list-style: none; }

:root {
  --inter: "Inter", "Noto Sans KR", sans-serif;
  --kr: "Noto Sans KR", sans-serif;
  --serif: "Noto Serif KR", serif;
}

/* 아이콘: Figma에서 내려받은 SVG를 mask로 사용해 currentColor 로 색을 입힌다 */
.ic {
  --s: 18px;
  display: inline-block; flex: none; width: var(--s); height: var(--s);
  background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.ic-arrow-up-right { --i: url("../icons/arrow-up-right.svg"); }
.ic-message-circle { --i: url("../icons/message-circle.svg"); }
.ic-check { --i: url("../icons/check.svg"); }
.ic-card-sim { --i: url("../icons/card-sim.svg"); }
.ic-scan-line { --i: url("../icons/scan-line.svg"); }
.ic-router { --i: url("../icons/router.svg"); }
.ic-info { --i: url("../icons/info.svg"); }
.ic-package { --i: url("../icons/package.svg"); }
.ic-clipboard-list { --i: url("../icons/clipboard-list.svg"); }
.ic-credit-card { --i: url("../icons/credit-card.svg"); }
.ic-messages-square { --i: url("../icons/messages-square.svg"); }
.ic-book-open { --i: url("../icons/book-open.svg"); }
.ic-shopping-bag { --i: url("../icons/shopping-bag.svg"); }
.ic-arrow-left-right { --i: url("../icons/arrow-left-right.svg"); }
.ic-user { --i: url("../icons/user.svg"); }

.toast {
  position: fixed; z-index: 100; top: 20px; left: 50%; transform: translateX(-50%);
  max-width: calc(100vw - 32px); color: #fff; background: #142344; padding: 13px 20px; border-radius: 12px;
  box-shadow: 0 12px 35px #14234440; font: 500 13px/1.5 var(--kr);
}

/* 모바일 헤더 햄버거 */
.hamburger { display: none; width: 28px; height: 28px; position: relative; }
.hamburger i, .hamburger::before, .hamburger::after {
  content: ""; position: absolute; left: 4px; right: 4px; height: 2px; background: currentColor;
}
.hamburger::before { top: 7px; } .hamburger i { top: 13px; } .hamburger::after { top: 19px; }
