@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css");
:root {
  --od-yellow: #F5C400;
  --od-dark: #1A1A1A;
  --od-max-w: 1200px;
  --od-font: "Pretendard Variable", "Pretendard", "Noto Sans KR", sans-serif;
}
:root {
  --od-ink: #111318;
  --od-mist: #F5F7FB;
  --od-line: #E5E9F2;
  --od-blue: #45b3fc;
  --od-blue-tint: #EFF4FF;
  --od-shadow-md: 0 12px 32px rgba(17,19,24,.10);
}

.od-family-bar {
  background: #111318;
  color: #AEB7C7;
  font-family: var(--od-font);
  font-size: 12px;
  line-height: 1;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.od-family-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}
.od-family-links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.od-family-links::-webkit-scrollbar { display: none; }
.od-family-links a {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  white-space: nowrap;
  color: #AEB7C7;
  text-decoration: none;
  transition: color .15s, background .15s;
  border-left: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.od-family-links a:first-child { border-left: 0; }
.od-family-links a:hover,
.od-family-links a.is-active {
  color: #fff;
  background: rgba(255,255,255,.07);
}
.od-family-links a.is-active { font-weight: 700; }
.od-family-links a.od-family-util {
  gap: 5px;
  margin-left: 4px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.od-family-links a.od-family-util::before {
  content: '';
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23AEB7C7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='12' y1='18' x2='12' y2='12'/%3E%3Cpolyline points='9 15 12 18 15 15'/%3E%3C/svg%3E") no-repeat center / contain;
}
.od-family-links a.od-family-util:hover::before,
.od-family-links a.od-family-util.is-active::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='12' y1='18' x2='12' y2='12'/%3E%3Cpolyline points='9 15 12 18 15 15'/%3E%3C/svg%3E");
}
.od-family-label {
  color: #6F7889;
  white-space: nowrap;
  letter-spacing: .04em;
  font-size: 11px;
}
@media (max-width: 900px) {
  .od-family-inner { padding: 0 24px; }
  .od-family-label { display: none; }
}
@media (max-width: 480px) {
  .od-family-inner { padding: 0 10px; }
  .od-family-links a { padding: 0 10px; font-size: 11px; }
}

#header {
  position: sticky !important;
  top: 0;
  z-index: 3000;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--od-line);
  box-shadow: none;
  min-width: 0 !important;
  transition: box-shadow .2s;
}
#header.scrolled { box-shadow: 0 2px 16px rgba(17,19,24,.08); }
#header #siteHeader {
  background: transparent;
  display: flex;
  flex-direction: column;
}

.h-top { width: 100% !important; }
.h-top-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  font-family: var(--od-font);
}
@media (max-width: 900px) {
  .h-top-inner { padding: 0 24px; height: 60px; }
}
@media (max-width: 480px) {
  .h-top-inner { height: 56px; padding: 0 16px; gap: 12px; }
}

/* 햄버거 — 랜딩 hb-btn 톤 */
.h-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  flex-shrink: 0;
}
.h-hamburger:hover { background: var(--od-mist); }
.h-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--od-ink);
  border-radius: 2px;
}
@media (max-width: 1024px) {
  .h-hamburger { display: flex; }
}

.h-top .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.h-top .logo img {
  height: 24px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .h-top .logo img { height: 20px; }
}

.h-search {
  position: relative;
  flex: 0 1 180px;
  min-width: 120px;
  max-width: 200px;
  display: flex;
  align-items: center;
  background: var(--od-mist);
  border: 1px solid var(--od-line);
  border-radius: 10px;
  /* suggest 패널이 잘리지 않도록 overflow 는 visible 유지, 입력행만 클립 */
  overflow: visible;
  transition: border-color .15s;
}
.h-search:focus-within { border-color: var(--od-blue); }
.h-search input[type="search"],
.h-search input[type="text"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 12px;
  height: 38px;
  font-size: 14px;
  font-family: var(--od-font);
  color: var(--od-ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
}
.h-search input::placeholder { color: #9AA3B2; }
.h-search input::-webkit-search-cancel-button { display: none; }
.h-search button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #9AA3B2;
  flex-shrink: 0;
}
.h-search button[type="submit"]:hover { color: var(--od-ink); }
.h-search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  width: min(360px, 86vw);
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--od-line);
  border-radius: 12px;
  box-shadow: var(--od-shadow-md);
  z-index: 3200;
  padding: 6px;
  box-sizing: border-box;
}
.h-search-suggest[hidden] { display: none !important; }
.h-search-suggest__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--od-ink);
  font-family: var(--od-font);
  transition: background .12s;
}
.h-search-suggest__item:hover,
.h-search-suggest__item.is-active {
  background: var(--od-blue-tint);
}
.h-search-suggest__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  word-break: keep-all;
}
.h-search-suggest__meta {
  font-size: 12px;
  color: #6B7385;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .h-search { display: none; }
}

/* 우측 버튼 */
.h-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: var(--od-font);
}
.h-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--od-ink);
  text-decoration: none;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.h-icon-btn:hover {
  background: var(--od-mist);
  color: var(--od-blue);
}
.h-cart-cnt {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #FFD93D;
  color: var(--od-ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  padding: 0 3px;
  pointer-events: none;
}
.h-btn-ghost {
  font-family: var(--od-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--od-ink);
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}
.h-btn-ghost:hover { background: var(--od-mist); }
.h-btn-primary {
  font-family: var(--od-font);
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  background: var(--od-ink);
  padding: 9px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.h-btn-primary:hover {
  background: #2563EB;
  transform: translateY(-1px);
}
@media (max-width: 560px) {
  .h-btn-primary { display: none !important; }
  .h-btn-ghost { padding: 8px 10px; font-size: 14px; }
}

/* GNB — 랜딩 nav-item 톤 */
.h-gnb {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  min-width: 0;
}
@media (max-width: 1024px) {
  .h-gnb { display: none !important; }
}
.h-gnb__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.h-gnb__list > li {
  position: relative;
  display: flex;
  align-items: center;
}
.h-gnb__list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--od-font);
  color: var(--od-ink);
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.h-gnb__list > li > a:hover {
  background: var(--od-mist);
  color: var(--od-blue);
}
.h-nav-caret {
  font-size: 10px;
  opacity: .45;
  display: inline-block;
  transition: transform .2s;
}
.h-nav-item:hover .h-nav-caret { transform: rotate(180deg); }
/* 트리거~패널 사이 빈 틈이 hover를 끊지 않도록, 간격은 padding으로 히트영역에 포함 */
.h-nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  padding: 10px 0 0;
  min-width: 180px;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 500;
}
.h-nav-drop::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border: 1px solid var(--od-line);
  border-radius: 14px;
  box-shadow: var(--od-shadow-md);
  pointer-events: none;
  z-index: 0;
}
.h-nav-item:hover .h-nav-drop,
.h-nav-item:focus-within .h-nav-drop {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.h-nav-drop a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  margin: 0 6px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--od-font);
  color: var(--od-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background .12s, color .12s;
}
.h-nav-drop a:first-child { margin-top: 6px; }
.h-nav-drop a:last-child { margin-bottom: 6px; }
.h-nav-drop a:hover {
  background: var(--od-blue-tint);
  color: #2563EB;
}

/* 모바일 전체메뉴 */
.h-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 5000;
  visibility: hidden;
  pointer-events: none;
}
.h-mobile-nav.open {
  visibility: visible;
  pointer-events: auto;
}
.h-mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,19,24,.45);
  opacity: 0;
  transition: opacity .3s;
}
.h-mobile-nav.open .h-mobile-nav__backdrop { opacity: 1; }
.h-mobile-nav__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 86vw;
  background: #fff;
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(17,19,24,.12);
}
.h-mobile-nav.open .h-mobile-nav__panel { transform: none; }
.h-mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--od-line);
}
.h-mobile-nav__top button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--od-ink);
  border-radius: 10px;
}
.h-mobile-nav__top button:hover { background: var(--od-mist); }
.h-mobile-nav__auth {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--od-line);
}
.h-mobile-nav__auth a {
  font-family: var(--od-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--od-ink);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--od-mist);
  transition: background .15s, color .15s;
}
.h-mobile-nav__auth a.is-primary {
  background: var(--od-ink);
  color: #fff;
}
.h-mobile-nav__auth a:hover { color: var(--od-blue); }
.h-mobile-nav__auth a.is-primary:hover {
  background: #2563EB;
  color: #fff;
}
.h-mobile-nav__menu {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex: 1;
}
.h-mobile-nav__cat {
  display: block;
  padding: 14px 24px 6px;
  font-family: var(--od-font);
  font-size: 12px;
  font-weight: 700;
  color: #9AA3B2;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.h-mobile-nav__menu a {
  display: block;
  padding: 11px 24px;
  font-family: var(--od-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--od-ink);
  text-decoration: none;
  border-radius: 0;
  transition: background .15s, color .15s;
}
.h-mobile-nav__menu a.is-sub {
  padding-left: 36px;
  font-weight: 500;
  color: #4B5563;
  font-size: 14px;
}
.h-mobile-nav__menu a:hover {
  background: var(--od-mist);
  color: var(--od-blue);
}
.h-mobile-nav__links {
  border-top: 1px solid var(--od-line);
  padding: 12px 0;
}
.h-mobile-nav__links a {
  display: block;
  padding: 10px 24px;
  font-family: var(--od-font);
  font-size: 14px;
  font-weight: 500;
  color: #9AA3B2;
  text-decoration: none;
}
.h-mobile-nav__links a:hover { color: var(--od-ink); }

