:root {
  --mall-ink: #1f1f1f;
  --mall-subtle: #707070;
  --mall-line: #eaeaea;
  --mall-paper: #fff;
  --mall-wash: #f7f7f7;
  --mall-frame: 720px;
  --mall-gutter: 16px;
  --mall-bar-height: 52px;
  --mall-nav-height: 58px;
  --mall-font: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
.mall-header, .mall-tabs {
  font-family: var(--mall-font); color: var(--mall-ink);
  background: var(--mall-paper); box-sizing: border-box; letter-spacing: -.02em;
}
.mall-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--mall-line); }
.mall-bar {
  position: relative; display: flex; align-items: center; gap: 4px;
  height: var(--mall-bar-height); padding: 0 12px 0 8px; box-sizing: border-box;
}
.mall-header a, .mall-tabs a { color: inherit; text-decoration: none; }
.mall-brand { margin: 0 auto 0 10px; font: 850 24px/1 var(--mall-font); letter-spacing: -.075em; }
.mall-brand a { font: inherit; letter-spacing: inherit; }
.mall-heading {
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  margin: 0 auto 0 0; font: 650 18px/1.35 var(--mall-font); letter-spacing: -.045em;
}
.mall-action {
  display: inline-grid; place-items: center; flex: 0 0 40px; width: 40px; min-height: 44px;
  padding: 0; border: 0; color: inherit; background: none; cursor: pointer; box-sizing: border-box;
}
.mall-header svg, .mall-tabs svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; display: block; }
.mall-home-menu { display: flex; align-items: stretch; overflow-x: auto; gap: 22px; padding: 0 16px; scrollbar-width: none; }
.mall-home-menu::-webkit-scrollbar { display: none; }
.mall-home-menu a { display: inline-flex; align-items: center; flex: none; min-height: 42px; font: 550 15px/1.3 var(--mall-font); border-bottom: 2px solid transparent; }
.mall-home-menu a[aria-current] { font-weight: 700; border-color: currentColor; }
.mall-tabs {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 99;
  width: min(100%, var(--mall-frame)); display: grid; grid-template-columns: repeat(6, minmax(0,1fr));
  border-top: 1px solid var(--mall-line); padding: 0 1px env(safe-area-inset-bottom);
}
.mall-tabs a {
  min-width: 0; height: var(--mall-nav-height); display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 4px; color: #565656; font: 500 10px/1.2 var(--mall-font);
}
.mall-tabs a[aria-current] { color: #111; font-weight: 700; }
.mall-tabs a[aria-current] svg { stroke-width: 2.3; }
.mall-action:focus-visible, .mall-tabs a:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
