/* ==========================================================================
   부산어디? — 헤더·메뉴 2026 (2026-09-27)
   includes/_shared_header.php 전용. 모바일 우선, 데스크탑은 min-width:1024px.
   라벨이 긴 언어는 헤더 파일이 인라인으로 "1024~N px 은 모바일 배치" 덮어쓰기를 추가한다.
   - 일반 페이지: 흰 배경 sticky, 레이아웃 공간 차지 (높이 = --bw-hdr-h)
   - 오버레이(.bw-header--overlay): fixed 투명 → 스크롤/메뉴 열림 시 .is-solid(흰 배경)
   옛 규칙(components/responsive.min.css)의 !important 는 높은 명시도(html body / #id)로 이긴다.
   ========================================================================== */

:root {
  --bw-hdr-h: 60px;
  --bw-header-h: 60px;          /* 목록 필터바·지도·상세 사이드가 이 값으로 헤더 아래에 붙는다 */
  --bw-header-h-mobile: 60px;
}
@media (min-width: 1024px) {
  :root { --bw-hdr-h: 72px; --bw-header-h: 72px; }
}

/* ---------- 헤더 틀 ---------- */
html body .bw-header.bw-hdr {
  --bw-hdr-ink: #0B0E14;
  --bw-hdr-ink-2: #2B313B;
  --bw-hdr-muted: #5B6470;
  --bw-hdr-hover: rgba(11, 14, 20, .05);
  --bw-hdr-sep: rgba(11, 14, 20, .16);
  --bw-hdr-accent: #C2410C;
  position: sticky;
  top: 0;
  z-index: var(--bw-z-header, 200);
  height: auto !important;               /* 옛 ≤720 height:56px !important */
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(11, 14, 20, .07);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--bw-hdr-ink);
  font-family: var(--bw-font-sans, "Pretendard Variable", Pretendard, system-ui, sans-serif);
  transition: background-color .2s ease, box-shadow .2s ease, color .2s ease, transform .35s ease !important;
}
.bw-hdr .bw-hdr__inner {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--bw-hdr-h);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 6px 0 16px;
  box-sizing: border-box;
}
.bw-hdr a { -webkit-tap-highlight-color: transparent; }

/* 로고 */
.bw-hdr .bw-hdr__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  flex-shrink: 0;
  color: var(--bw-hdr-ink);
  text-decoration: none;
  border-radius: 10px;
}
.bw-hdr__mark.bw-hdr__mark--img,html body .bw-hdr .bw-hdr__mark.bw-hdr__mark--img{background:none;box-shadow:0 2px 8px rgba(255,90,31,.28);overflow:hidden;padding:0}
.bw-hdr__mark--img img{display:block;width:100%;height:100%}
.bw-hdr__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, #FF7A3D 0%, #FF5A1F 52%, #EC4A12 100%);
  box-shadow: 0 2px 8px rgba(255, 90, 31, .30), inset 0 1px 0 rgba(255, 255, 255, .28);
  color: #fff;
  font: 800 18px/1 var(--bw-font-sans, "Pretendard Variable", Pretendard, system-ui, sans-serif);
  letter-spacing: -.02em;
  font-style: normal;
}
.bw-hdr .bw-hdr__word {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
}
.bw-hdr .bw-hdr__sep,
.bw-hdr .bw-hdr__tag,
.bw-hdr .bw-hdr__nav { display: none; }

/* 오른쪽 도구 */
.bw-hdr .bw-hdr__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-shrink: 0;
}
.bw-hdr .bw-hdr__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--bw-hdr-ink);
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.bw-hdr .bw-hdr__btn svg { width: 22px; height: 22px; }
.bw-hdr .bw-hdr__btn:hover { background: var(--bw-hdr-hover); color: var(--bw-hdr-ink); }
.bw-hdr .bw-hdr__dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5A1F;
  box-shadow: 0 0 0 2px #fff;
}

/* 햄버거 */
.bw-hdr .bw-hdr__burger { flex-direction: column; gap: 5px; }
.bw-hdr .bw-hdr__burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .15s ease;
}
.bw-hdr .bw-hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bw-hdr .bw-hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bw-hdr .bw-hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 데스크탑 전용(.bw-hdr__d) / 모바일 전용(.bw-hdr__m) — 버튼 규칙보다 명시도를 높여 둔다 */
html .bw-hdr .bw-hdr__d { display: none; }

/* 포커스 링 */
.bw-hdr a:focus-visible,
.bw-hdr button:focus-visible {
  outline: 2px solid var(--bw-hdr-accent);
  outline-offset: 2px;
}
.bw-hdr .bw-hdr__link:focus-visible { outline: none; }
.bw-hdr .bw-hdr__link:focus-visible .bw-hdr__txt {
  outline: 2px solid var(--bw-hdr-accent);
  outline-offset: 5px;
  border-radius: 6px;
}

/* ---------- 데스크탑 ---------- */
@media (min-width: 1024px) {
  .bw-hdr .bw-hdr__inner { padding: 0 24px; }
  html .bw-hdr .bw-hdr__m { display: none; }
  html .bw-hdr .bw-hdr__d { display: inline-flex; }
  .bw-hdr .bw-hdr__mark { width: 34px; height: 34px; border-radius: 10px; font-size: 19px; }
  .bw-hdr .bw-hdr__word { font-size: 19px; }
  .bw-hdr .bw-hdr__logo { gap: 10px; }

  .bw-hdr .bw-hdr__nav { display: flex; flex: 0 1 auto; align-self: stretch; margin-left: 20px; min-width: 0; }
  .bw-hdr .bw-hdr__menu {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .bw-hdr .bw-hdr__item { position: relative; display: flex; align-items: stretch; }
  .bw-hdr .bw-hdr__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0 2px;
    color: var(--bw-hdr-ink-2);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.012em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    background: transparent;
    border-radius: 0;
    transition: color .15s ease;
  }
  .bw-hdr .bw-hdr__link:hover,
  .bw-hdr .bw-hdr__item.is-open > .bw-hdr__link { color: var(--bw-hdr-ink); background: transparent; }
  .bw-hdr .bw-hdr__item.is-active > .bw-hdr__link { color: var(--bw-hdr-ink); font-weight: 700; }
  .bw-hdr .bw-hdr__item.is-active > .bw-hdr__link::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 17px;
    height: 2px;
    border-radius: 2px;
    background: #FF5A1F;
  }
  .bw-hdr .bw-hdr__caret {
    width: 12px;
    height: 12px;
    margin-left: 1px;
    opacity: .5;
    transition: transform .2s ease, opacity .2s ease;
  }
  .bw-hdr .bw-hdr__item.is-open > .bw-hdr__link .bw-hdr__caret { transform: rotate(180deg); opacity: .9; }

  /* 드롭다운 패널 */
  .bw-hdr .bw-hdr__panel {
    --bw-hdr-ink: #0B0E14;
    --bw-hdr-ink-2: #2B313B;
    --bw-hdr-muted: #5B6470;
    --bw-hdr-accent: #C2410C;
    position: absolute;
    top: calc(100% - 6px);
    left: 50%;
    z-index: 3;
    width: max-content;
    min-width: 290px;
    max-width: 380px;
    padding: 8px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(11, 14, 20, .06);
    border-radius: 16px;
    box-shadow: 0 20px 48px -14px rgba(11, 14, 20, .24), 0 4px 12px rgba(11, 14, 20, .06);
    color: #0B0E14;
    text-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity .16s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .bw-hdr .bw-hdr__panel::before {        /* 메뉴 → 패널로 마우스를 옮길 때 끊기지 않게 */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
  }
  .bw-hdr .bw-hdr__item.is-open > .bw-hdr__panel,
  .bw-hdr:not(.js) .bw-hdr__item:hover > .bw-hdr__panel,
  .bw-hdr:not(.js) .bw-hdr__item:focus-within > .bw-hdr__panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }
  .bw-hdr .bw-hdr__plist { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
  .bw-hdr .bw-hdr__plink {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 14px 8px 8px;
    border-radius: 12px;
    color: #0B0E14;
    text-decoration: none;
    transition: background-color .12s ease;
  }
  .bw-hdr .bw-hdr__plink:hover,
  .bw-hdr .bw-hdr__plink:focus-visible { background: #F5F4EF; }
  .bw-hdr .bw-hdr__plink:focus-visible { outline-offset: -2px; }
  .bw-hdr .bw-hdr__pic {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #FFF1EA;
    color: #C2410C;
  }
  .bw-hdr .bw-hdr__pic svg { width: 20px; height: 20px; }
  .bw-hdr .bw-hdr__ptl {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: #0B0E14;
  }
  .bw-hdr .bw-hdr__pds {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: #5B6470;
  }
  .bw-hdr .bw-hdr__plink[aria-current] .bw-hdr__ptl { color: #C2410C; }

  /* 오른쪽 도구(데스크탑) */
  .bw-hdr .bw-hdr__actions { gap: 2px; margin-left: auto; padding-left: 12px; }
  .bw-hdr .bw-hdr__btn { width: 44px; height: 44px; }
  .bw-hdr .bw-hdr__btn svg { width: 21px; height: 21px; }
  .bw-hdr .bw-hdr__rel { position: relative; align-items: center; }
  .bw-hdr .bw-hdr__lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--bw-hdr-ink-2);
    font: 600 14px/1 var(--bw-font-sans, "Pretendard Variable", Pretendard, system-ui, sans-serif);
    letter-spacing: .02em;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
  }
  .bw-hdr .bw-hdr__lang svg { width: 18px; height: 18px; }
  .bw-hdr .bw-hdr__lang:hover,
  .bw-hdr .bw-hdr__lang[aria-expanded="true"] { background: var(--bw-hdr-hover); color: var(--bw-hdr-ink); }
  .bw-hdr .bw-hdr__login {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--bw-hdr-ink-2);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
  }
  .bw-hdr .bw-hdr__login:hover { background: var(--bw-hdr-hover); color: var(--bw-hdr-ink); }
  .bw-hdr .bw-hdr__user {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    color: var(--bw-hdr-ink-2);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
  }
  .bw-hdr .bw-hdr__user:hover { background: var(--bw-hdr-hover); color: var(--bw-hdr-ink); }
  .bw-hdr .bw-hdr__avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFF1EA;
    color: #C2410C;
    font-size: 14px;
    font-weight: 800;
  }
  .bw-hdr .bw-hdr__uname { display: none; }
  .bw-hdr .bw-hdr__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    margin-left: 6px;
    padding: 0 16px 0 14px;
    border-radius: 999px;
    background: #C2410C;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    white-space: nowrap;
    text-decoration: none;
    text-shadow: none;
    box-shadow: 0 8px 18px -8px rgba(194, 65, 12, .6);
    transition: background-color .15s ease, box-shadow .15s ease;
  }
  .bw-hdr .bw-hdr__cta svg { width: 16px; height: 16px; flex-shrink: 0; }
  .bw-hdr .bw-hdr__cta:hover { background: #9A3412; color: #fff; }

  /* 언어·알림 드롭다운 위치(헤더 아래) */
  .bw-hdr #bw-lang-menu { top: calc(100% + 14px); }
  .bw-hdr #bw-notif-dropdown { top: calc(100% + 14px) !important; }
  .bw-hdr #bw-notif-bell-count { top: 4px !important; right: 2px !important; }
}
/* 넓은 화면: 메뉴 16px·간격 넓게 + (짧은 언어·비로그인일 때만) 로고 옆 소개 문구.
   라벨이 긴 언어(.bw-hdr--lx: 영·스·베·태·힌디)는 넓은 화면에서도 촘촘한 배치를 유지한다. */
@media (min-width: 1280px) {
  .bw-hdr:not(.bw-hdr--lx) .bw-hdr__link { font-size: 16px; }
  .bw-hdr:not(.bw-hdr--lx) .bw-hdr__caret { width: 13px; height: 13px; }
  .bw-hdr:not(.bw-hdr--lx) .bw-hdr__actions { gap: 4px; padding-left: 16px; }
  .bw-hdr:not(.bw-hdr--lx) .bw-hdr__lang,
  .bw-hdr:not(.bw-hdr--lx) .bw-hdr__login { padding: 0 12px; }
  .bw-hdr:not(.bw-hdr--lx) .bw-hdr__nav { margin-left: 32px; }
  .bw-hdr:not(.bw-hdr--lx) .bw-hdr__menu { gap: 26px; }
  .bw-hdr.bw-hdr--tag .bw-hdr__sep {
    display: block;
    flex-shrink: 0;
    width: 1px;
    height: 14px;
    margin: 0 12px 0 14px;
    background: var(--bw-hdr-sep);
  }
  .bw-hdr.bw-hdr--tag .bw-hdr__tag {
    display: block;
    flex-shrink: 0;
    color: var(--bw-hdr-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.005em;
    white-space: nowrap;
  }
}

/* 안전망: 글꼴 차이 등으로 메뉴가 넘치면 JS 가 .is-tight 를 붙여 간격을 줄인다 */
@media (min-width: 1024px) {
  .bw-hdr.is-tight .bw-hdr__nav { margin-left: 16px; }
  .bw-hdr.is-tight .bw-hdr__menu { gap: 12px; }
  .bw-hdr.is-tight .bw-hdr__sep,
  .bw-hdr.is-tight .bw-hdr__tag { display: none; }
  .bw-hdr.is-tight .bw-hdr__lang > span { display: none; }
}

/* ---------- 투명 오버레이 (홈 히어로 사진 위) ---------- */
html body .bw-header.bw-hdr.bw-header--overlay {
  position: fixed !important;             /* 옛 .bw-header{position:sticky !important} */
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0);
  box-shadow: none;
}
html body .bw-header.bw-hdr.bw-header--overlay::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: -1;
  height: calc(100% + 56px);
  background: linear-gradient(180deg, rgba(6, 9, 15, .56) 0%, rgba(6, 9, 15, .30) 52%, rgba(6, 9, 15, 0) 100%);
  pointer-events: none;
  transition: opacity .2s ease;
}
html body .bw-header.bw-hdr.bw-header--overlay:not(.is-solid) {
  --bw-hdr-ink: #fff;
  --bw-hdr-ink-2: #fff;
  --bw-hdr-muted: rgba(255, 255, 255, .86);
  --bw-hdr-hover: rgba(255, 255, 255, .16);
  --bw-hdr-sep: rgba(255, 255, 255, .42);
  --bw-hdr-accent: #fff;
  color: #fff;
}
html body .bw-header.bw-hdr.bw-header--overlay:not(.is-solid) .bw-hdr__word,
html body .bw-header.bw-hdr.bw-header--overlay:not(.is-solid) .bw-hdr__tag,
html body .bw-header.bw-hdr.bw-header--overlay:not(.is-solid) .bw-hdr__link,
html body .bw-header.bw-hdr.bw-header--overlay:not(.is-solid) .bw-hdr__lang,
html body .bw-header.bw-hdr.bw-header--overlay:not(.is-solid) .bw-hdr__login,
html body .bw-header.bw-hdr.bw-header--overlay:not(.is-solid) .bw-hdr__user {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
}
html body .bw-header.bw-hdr.bw-header--overlay:not(.is-solid) .bw-hdr__btn svg,
html body .bw-header.bw-hdr.bw-header--overlay:not(.is-solid) .bw-hdr__lang svg {
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .3));
}
html body .bw-header.bw-hdr.bw-header--overlay:not(.is-solid) .bw-hdr__dot { box-shadow: 0 0 0 2px rgba(6, 9, 15, .5); }
html body .bw-header.bw-hdr.bw-header--overlay.is-solid,
html body.bw-drawer-open .bw-header.bw-hdr.bw-header--overlay {
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 14, 20, .07), 0 8px 24px -16px rgba(11, 14, 20, .25);
}
html body .bw-header.bw-hdr.bw-header--overlay.is-solid::before { opacity: 0; }

/* ---------- 모바일 드로어 (#bw-drawer) ---------- */
html body #bw-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(11, 14, 20, .45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
html body #bw-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
html body #bw-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0 !important;
  left: auto !important;
  z-index: 999;
  display: flex;
  flex-direction: column;
  width: 420px !important;
  max-width: 100vw;
  height: 100%;
  height: 100dvh;
  padding-bottom: 0;
  background: #fff;
  box-shadow: -16px 0 48px rgba(11, 14, 20, .18) !important;
  color: #0B0E14;
  font-family: var(--bw-font-sans, "Pretendard Variable", Pretendard, system-ui, sans-serif);
  overflow: hidden;
  transform: translateX(100%) !important;
  visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s;
}
html body #bw-drawer.is-open {
  transform: translateX(0) !important;
  visibility: visible;
  pointer-events: auto;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}
@media (max-width: 560px) {
  html body #bw-drawer { width: 100vw !important; box-shadow: none !important; }
}
#bw-drawer .bw-drawer__head {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 8px 0 16px;
  background: #fff;
  border-bottom: 1px solid #EFEEE8;
  color: #0B0E14;
}
#bw-drawer .bw-dr-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #0B0E14;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}
#bw-drawer .bw-drawer__title {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
#bw-drawer .bw-drawer__close {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0B0E14;
  cursor: pointer;
}
#bw-drawer .bw-drawer__close:hover,
#bw-drawer .bw-drawer__close:active { background: #F2F1EC; }
#bw-drawer .bw-drawer__close svg { width: 24px; height: 24px; }
#bw-drawer .bw-dr-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 calc(24px + env(safe-area-inset-bottom, 0px));
}
#bw-drawer a:focus-visible,
#bw-drawer button:focus-visible,
#bw-drawer summary:focus-visible { outline: 2px solid #C2410C; outline-offset: -2px; border-radius: 12px; }

/* 사용자 / 로그인 */
#bw-drawer .bw-dr-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 16px 4px;
  padding: 14px 14px;
  border-radius: 16px;
  background: #F7F6F2;
  color: #0B0E14;
  text-decoration: none;
}
#bw-drawer .bw-dr-user__av {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #C2410C;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
#bw-drawer .bw-dr-user__name { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
#bw-drawer .bw-dr-user__sub { display: block; margin-top: 2px; color: #5B6470; font-size: 13px; }
#bw-drawer .bw-dr-guest { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px 4px; }
#bw-drawer .bw-dr-guest a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
#bw-drawer .bw-dr-guest__login { background: #0B0E14; color: #fff; }
#bw-drawer .bw-dr-guest__join { background: #fff; color: #0B0E14; box-shadow: inset 0 0 0 1px #DAD8D0; }
#bw-drawer .bw-dr-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 16px 6px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  background: #C2410C;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
#bw-drawer .bw-dr-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
#bw-drawer .bw-dr-cta__arrow { margin-left: auto; }

/* 메뉴 목록 */
#bw-drawer .bw-dr-nav { padding: 6px 8px 4px; }
#bw-drawer .bw-dr-list,
#bw-drawer .bw-dr-sub { margin: 0; padding: 0; list-style: none; }
#bw-drawer .bw-dr-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 14px 0 12px;
  border-radius: 14px;
  color: #0B0E14;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.015em;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  transition: background-color .12s ease;
}
#bw-drawer .bw-dr-link::-webkit-details-marker { display: none; }
#bw-drawer .bw-dr-link::marker { content: ""; }
#bw-drawer .bw-dr-link:active,
#bw-drawer .bw-dr-link:hover { background: #F5F4EF; }
#bw-drawer .bw-dr-ic { width: 22px; height: 22px; flex-shrink: 0; color: #5B6470; }
#bw-drawer .bw-dr-caret {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex-shrink: 0;
  color: #8A919C;
  transition: transform .2s ease;
}
#bw-drawer .bw-dr-group[open] > .bw-dr-link .bw-dr-caret { transform: rotate(180deg); }
#bw-drawer .bw-dr-link.is-active,
#bw-drawer .bw-dr-group.is-active > .bw-dr-link { color: #C2410C; }
#bw-drawer .bw-dr-link.is-active .bw-dr-ic,
#bw-drawer .bw-dr-group.is-active > .bw-dr-link .bw-dr-ic { color: #C2410C; }
#bw-drawer .bw-dr-sub { padding: 0 0 8px; }
#bw-drawer .bw-dr-slink {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-left: 36px;
  padding: 0 12px 0 12px;
  border-radius: 12px;
  color: #2B313B;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
#bw-drawer .bw-dr-slink svg { width: 18px; height: 18px; flex-shrink: 0; color: #8A919C; }
#bw-drawer .bw-dr-slink:hover,
#bw-drawer .bw-dr-slink:active { background: #F5F4EF; }
#bw-drawer .bw-dr-slink[aria-current] { color: #C2410C; font-weight: 700; background: #FFF4EE; }
#bw-drawer .bw-dr-slink[aria-current] svg { color: #C2410C; }

/* 바로가기 / 언어 / 하단 */
#bw-drawer .bw-dr-section { margin-top: 8px; padding: 16px 16px 4px; border-top: 1px solid #EFEEE8; }
#bw-drawer .bw-dr-label {
  margin: 0 4px 10px;
  color: #5B6470;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
#bw-drawer .bw-dr-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#bw-drawer .bw-dr-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  background: #F7F6F2;
  color: #0B0E14;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
#bw-drawer .bw-dr-tile svg { width: 20px; height: 20px; flex-shrink: 0; color: #5B6470; }
#bw-drawer .bw-dr-tile:active,
#bw-drawer .bw-dr-tile:hover { background: #EFEEE8; }
#bw-drawer .bw-dr-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #C2410C;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
#bw-drawer .bw-drawer__langs { padding-bottom: 4px; }
#bw-drawer .bw-drawer__lang {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #E3E1D9;
  color: #2B313B;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
#bw-drawer .bw-drawer__lang.active { background: #0B0E14; box-shadow: none; color: #fff; }
#bw-drawer .bw-dr-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; padding: 16px 16px 0; border-top: 1px solid #EFEEE8; }
#bw-drawer .bw-dr-foot a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  border-radius: 12px;
  background: #F4F4F1;
  color: #2B313B;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
#bw-drawer .bw-dr-foot a svg { width: 18px; height: 18px; }
#bw-drawer .bw-dr-foot .bw-dr-foot__out { background: #FFF4EE; color: #C2410C; }

/* 움직임 줄이기 */
@media (prefers-reduced-motion: reduce) {
  html body .bw-header.bw-hdr,
  .bw-hdr .bw-hdr__panel,
  .bw-hdr .bw-hdr__caret,
  .bw-hdr .bw-hdr__burger span,
  html body #bw-drawer,
  html body #bw-drawer.is-open,
  html body #bw-drawer-backdrop,
  #bw-drawer .bw-dr-caret { transition: none !important; }
  .bw-hdr .bw-hdr__panel,
  .bw-hdr .bw-hdr__item.is-open > .bw-hdr__panel { transform: translate(-50%, 0); }
}

@media print {
  html body .bw-header.bw-hdr.bw-header--overlay { position: static !important; }
}
