/* drawer 메뉴 국가/지역 리스트 스크롤 */
/* drawer-country-area-wrap: 배너 높이만큼만 빼고, 배너는 항상 하단에 보이도록 */
/*
  drawer-nav(국가/지역)와 drawer-banner(배너)는 drawer-wrap의 flex column 구조로 쌓임.
  drawer-nav(ul) 높이를 배너 높이만큼 빼서, 배너가 항상 하단에 보이도록 한다.
  drawer-banner는 position:sticky로 하단에 고정, bottom-navigation 위에 항상 노출.
*/
/* drawer-country-area-wrap: 배너 높이만큼만 빼고, 배너는 항상 하단에 보이도록 */
.drawer-country-area-wrap {
  overflow-y: auto;
  padding: 0 12px 232px 12px;
  margin-bottom: 0;
  max-height: calc(100dvh - 115px - 180px); /* 전체 - drawer 상단 - 배너 */
}
/* @media (max-width: 1024px) {
  .drawer-country-area-wrap {
    max-height: calc(100dvh - 65px - 180px);
  }
} */
.drawer-banner {
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
  z-index: 2;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 200px; /* .bottom-navigation 높이만큼 위 */
}
.drawer-wrap {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}
.drawer-nav {
  flex: 1 1 auto;
  overflow: visible;
}
.drawer-banner {
  flex-shrink: 0;
  margin-bottom: 0;
}
/* drawer-banner는 drawer-nav(국가/지역) 아래, .bottom-navigation 위에 고정 */
.drawer-wrap {
  display: flex;
  flex-direction: column;
}
.drawer-nav {
  flex: 1 1 auto;
  overflow: visible;
}
.drawer-banner {
  flex-shrink: 0;
  margin-bottom: 0;
}
/* 전체메뉴 팝업 스타일 */
.menu-popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2000;
  display: none;
}
.menu-popup {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 0 0 16px 16px;
  z-index: 2100;
  min-width: 320px;
  max-width: 440px;
  width: 90vw;
  display: none;
  overflow: hidden;
}
.menu-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px 10px 28px;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.menu-popup-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
}
.menu-popup-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #888;
}
.menu-popup-body {
  padding: 28px;
  overflow-y: auto;
}
.menu-popup-section {
  margin-top: 24px;
}
.menu-popup-section:first-child {
  margin-top: 0;
}
.menu-country {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.menu-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.menu-area-item {
  font-size: 1.3rem;
  color: #555;
  background: #f7f7f7;
  border-radius: 6px;
  padding: 4px 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.menu-area-item:hover {
  background: #e0e0e0;
  color: #111;
}
/* @media (max-width: 1024px) {
  .menu-popup {
    max-width: 98vw;
    width: 98vw;
    left: 1vw;
    right: 1vw;
  }
}
@media (max-width: 768px) {
  .menu-popup, .menu-popup-overlay {
    display: none !important;
  }
} */
