/* 리앤양 사이트 공통 헤더 (partials/la-nav.php) — 디자인 기준 Nav: 어두운 반투명 + blur */
:root {
  --la-nav-h: 60px;
  --la-nav-fg: #f5f5f7;
  --la-nav-muted: rgba(245, 245, 247, 0.68);
  --la-nav-line: rgba(255, 255, 255, 0.12);
  --la-nav-accent: #e31b23;
  --la-nav-accent-hov: #b5121b;
  --la-nav-focus: #ff453a;
}

.la-nav--site {
  position: fixed; top: var(--la-admin-h, 0px); left: 0; right: 0; z-index: 1000;
  height: var(--la-nav-h);
  border-bottom: 1px solid var(--la-nav-line);
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
.la-nav--site *, .la-nav--site *::before, .la-nav--site *::after { box-sizing: border-box; }
/* blur는 가상 요소에 둔다 — 헤더 자체에 backdrop-filter를 주면 안쪽 고정 펼침 메뉴의 위치 기준이 헤더로 바뀌어 잘린다 */
.la-nav--site::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.la-nav--site .la-nav__inner {
  max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px;
}
.la-nav--site .la-nav__logo {
  flex-shrink: 0;
  font-size: 15px; font-weight: 700; letter-spacing: 0.12em; line-height: 1;
  color: var(--la-nav-fg); text-decoration: none;
}
.la-nav--site .la-nav__menu { display: flex; align-items: center; gap: 22px; flex: 1; min-width: 0; }
.la-nav--site .la-nav__link {
  position: relative; padding: 8px 0;
  font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  color: var(--la-nav-muted); text-decoration: none;
  transition: color 160ms ease;
}
.la-nav--site .la-nav__link:hover,
.la-nav--site .la-nav__link.is-active { color: var(--la-nav-fg); }
.la-nav--site .la-nav__link.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 1px; background: var(--la-nav-accent);
}
.la-nav--site .la-nav__actions {
  display: flex; align-items: center; gap: 16px; margin-left: auto; flex-shrink: 0;
}
.la-nav--site .la-nav__text {
  font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  color: var(--la-nav-muted); text-decoration: none;
}
.la-nav--site .la-nav__text:hover,
.la-nav--site .la-nav__text.is-active { color: var(--la-nav-fg); }
.la-nav--site .la-nav__cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; color: var(--la-nav-fg); font-size: 16px; text-decoration: none;
}
.la-nav--site .la-nav__badge {
  position: absolute; top: 0; right: -4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--la-nav-accent); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
}
.la-nav--site .la-nav__cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 18px; border-radius: 30px;
  background: var(--la-nav-accent); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background 160ms ease;
}
.la-nav--site .la-nav__cta:hover { background: var(--la-nav-accent-hov); color: #fff; }
.la-nav--site a:focus-visible,
.la-nav--site button:focus-visible {
  outline: 2px solid var(--la-nav-focus); outline-offset: 3px; border-radius: 4px;
}
/* 터치·마우스로 연 경우 전역 a:focus 테두리(impeccable.css, !important)를 끈다 */
.la-nav--site a:focus:not(:focus-visible),
.la-nav--site button:focus:not(:focus-visible) { outline: none !important; }
.la-nav--site .la-nav__toggle {
  display: block; width: 44px; height: 44px; margin-right: -10px; padding: 12px 10px;
  border: 0; background: transparent; cursor: pointer;
}
.la-nav--site .la-nav__toggle span {
  display: block; height: 2px; margin: 0 0 6px; border-radius: 1px;
  background: var(--la-nav-fg); transition: transform 200ms ease, opacity 200ms ease;
}
.la-nav--site .la-nav__toggle span:last-child { margin-bottom: 0; }
.la-nav--site .la-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.la-nav--site .la-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.la-nav--site .la-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 펼침 메뉴 */
.la-nav--site .la-nav__drawer {
  display: block;
  position: fixed; top: calc(var(--la-admin-h, 0px) + var(--la-nav-h)); left: 0; right: 0; bottom: 0; z-index: 999;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background: #000;
}
.la-nav--site .la-nav__drawer[hidden] { display: none !important; }
.la-nav--site .la-nav__drawer ul { list-style: none; margin: 0; padding: 0; }
.la-nav--site .la-nav__drawer-main {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.la-nav--site .la-nav__drawer-main a {
  display: flex; align-items: center; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--la-nav-line); border-radius: 12px;
  color: var(--la-nav-fg); font-size: 15px; font-weight: 600; text-decoration: none;
}
.la-nav--site .la-nav__drawer-main .is-primary a {
  background: var(--la-nav-accent); border-color: var(--la-nav-accent); color: #fff;
}
.la-nav--site .la-nav__drawer-more { margin-top: 20px !important; border-top: 1px solid var(--la-nav-line); }
.la-nav--site .la-nav__drawer-more + .la-nav__drawer-more { margin-top: 0 !important; border-top: 0; }
.la-nav--site .la-nav__drawer-more a {
  display: flex; align-items: center; min-height: 48px;
  border-bottom: 1px solid var(--la-nav-line);
  color: var(--la-nav-fg); font-size: 16px; font-weight: 500; text-decoration: none;
}
.la-nav--site .la-nav__drawer-tel {
  display: block; margin-top: 20px; color: var(--la-nav-muted);
  font-size: 15px; text-decoration: none;
}
html.la-nav-open, html.la-nav-open body { overflow: hidden; }

/* 펼침 메뉴 묶음 */
.la-nav--site .la-nav__drawer-group { margin-top: 24px; }
.la-nav--site .la-nav__drawer-title {
  margin: 0 0 8px; color: var(--la-nav-muted);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.la-nav--site .la-nav__drawer-group .la-nav__drawer-more { margin-top: 0 !important; }
.la-nav--site .la-nav__drawer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.la-nav--site .la-nav__drawer-grid a {
  display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 6px;
  border-radius: 10px; background: rgba(255, 255, 255, 0.08);
  color: var(--la-nav-fg); font-size: 14px; font-weight: 500; text-align: center; text-decoration: none;
}
.la-nav--site .la-nav__drawer-grid a:hover,
.la-nav--site .la-nav__drawer-more a:hover { color: #fff; background-color: rgba(255, 255, 255, 0.14); }

/* 그누보드 화면(shop.head.php)은 본문 위에 헤더 높이만큼 자리를 둔다 */
.la-nav-spacer { height: var(--la-nav-h); }

@media (max-width: 1024px) {
  .la-nav--site .la-nav__menu { display: none; }
}
/* PC: 전체 메뉴는 헤더 아래 패널(높이는 내용만큼), 빠른 메뉴 6칸은 한 줄, 묶음은 4열 */
@media (min-width: 1025px) {
  .la-nav--site .la-nav__drawer {
    bottom: auto; max-height: calc(100vh - var(--la-admin-h, 0px) - var(--la-nav-h));
    padding: 28px max(24px, calc((100vw - 1152px) / 2)) 32px;
    background: #0b0b0b; border-bottom: 1px solid var(--la-nav-line); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    display: grid !important; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 0 40px;
  }
  .la-nav--site .la-nav__drawer[hidden] { display: none !important; }
  .la-nav--site .la-nav__drawer-main { grid-column: 1 / -1; grid-template-columns: repeat(6, 1fr); margin-bottom: 8px !important; }
  .la-nav--site .la-nav__drawer-tel { grid-column: 1 / -1; }
  html.la-nav-open, html.la-nav-open body { overflow: visible; }
}
@media (max-width: 768px) {
  :root { --la-nav-h: 56px; }
  .la-nav--site .la-nav__inner { padding: 0 16px; gap: 12px; }
  .la-nav--site .la-nav__actions { gap: 12px; }
  .la-nav--site .la-nav__text { display: none; }
  .la-nav--site .la-nav__cta { min-height: 34px; padding: 0 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .la-nav--site .la-nav__link, .la-nav--site .la-nav__cta, .la-nav--site .la-nav__toggle span { transition: none; }
}
