.marquee {
    width: 100%;
    overflow: hidden;
    background: #000; /* 배경 필요 시 추가 */
    padding: 10px 0;
  }
  
  .marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 15s linear infinite;
  }
  
  .marquee-content a {
    margin-right: 50px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
  }
  
  /* 애니메이션 정의 */
  @keyframes scroll-left {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }

 /* 사이드바 기본 상태 */
 .sidebar {
    position: fixed;
    top: 100px;
    left: -250px; /* ← 기존 -240px에서 수정 */
    width: 250px;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 10000;
    padding: 15px 10px;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}


/* 열린 상태 */
.sidebar.open {
    left: 0;
}

/* X 버튼 */
.sidebar-close {
    position: absolute;
    top: -7px; /* 헤더 위로 살짝 올라오게 */
        right: 10px;
    font-size: 20px;
    color: #000000;
    cursor: pointer;
}

.sidebar-header {
    font-weight: bold;
    font-size: 16px;
    background: #f64f8c;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 10px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: block;
    padding: 10px;
    background: #5b5b5b;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.sidebar-menu a:hover {
    background: #777;
}


.sidebar-expire-info {
    background: #fff3f3;
    border: 1px solid #f5c2c2;
    padding: 8px;
    margin: 5px 15px 15px 15px;
    font-size: 13px;
    border-radius: 6px;
    text-align: center;
}



 .navbar-header {
    text-align: center;
    width: 100%;
}

.navbar-header h4 {
    display: block; /* 블록 요소로 만들어 전체 너비 차지 */
    text-align: center;
    margin: 0 auto; /* 자동 가운데 정렬 */
}




.navbar-left-menu {
    float: left; /* 왼쪽 정렬 */
    margin-left: 15px;
}

.navbar-left-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

/* 모바일에서 세로 정렬 */
@media (max-width: 768px) {
    .navbar-left-menu ul {
        flex-direction: row; /* 가로 정렬 */
    }

    .navbar-left-menu li {
        text-align: left; /* 텍스트 왼쪽 정렬 */
    }
}

.navbar-left-menu li {
    padding: 10px 15px;
}

.navbar-left-menu a {
    color: white !important; /* 네비게이션 바의 기본 텍스트 색상 */
    text-decoration: white;
    font-weight: bold;
}

.navbar-left-menu a:hover {
    color: #ffcc00; /* 마우스 오버 시 색상 변경 */
}

.profile-menu {
    background: #000;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 40px !important;
    overflow: hidden;
    min-height: unset; /* 기존 min-height 제거 */
    overflow: hidden; /* 혹시 넘치는 콘텐츠 잘라냄 */
}


.profile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-menu li {
    margin: 5px 0;
}

.profile-menu a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    outline: none;
}
.profile-menu a:focus {
    outline: none;
}

.profile-menu a:hover {
    text-decoration: underline;
}

/* PC 화면에서도 동일한 스타일 적용 */
@media (min-width: 768px) {
    .profile-menu {
        width: 100%;
        margin: 0 auto 15px;
        height: 40px; /* 고정 높이 */
        min-height: unset;
    }

   
}

.notice-banner-wrap {
    width: 100%;
    padding: 16px;
}

.notice-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f1f3f5;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #222;
    font-size: 14px;
    transition: background 0.2s;
}

.notice-banner:hover {
    background-color: #e9ecef;
}

.notice-label {
    background: #e60073;
    color: #fff;
    padding: 2px 10px;
    font-size: 13px;
    border-radius: 999px;
    font-weight: bold;
    flex-shrink: 0;
}

.notice-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 메인 메뉴 스타일 - 가운데 정렬 + 반응형 아이콘 크기 포함 */
.category-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  max-width: 1000px;
  gap: 12px;
  text-align: center;
  padding: 10px 5px;
  background-color: #ffffff;
  box-sizing: border-box;
}

.category-wrap a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

.category-wrap img {
  width: 72px;
  height: 72px;
  margin-bottom: 5px;
  transition: all 0.3s;
}

/* ✅ 모바일 전용: 화면 너비 768px 이하일 때 아이콘 작게 */
@media (max-width: 768px) {
  .category-wrap img {
    width: 48px;
    height: 48px;
  }
}


/* 배너 전체 영역 */
.main-banner-area {
  width: 100%;
  max-width: 1000px; /* PC용 최대 너비 제한 */
  margin: 0 auto;
  padding: 10px 0;
}

/* 배너 컨테이너 */
.main-banner-swiper {
  border-radius: 16px;
  overflow: hidden;
  height: auto;
}

/* 배너 이미지 */
.main-banner-swiper img {
  width: 100%;
  height: auto;
  max-height: 320px; /* ✅ 높이 제한 */
  object-fit: cover;
  border-radius: 16px;
}


@media (min-width: 1024px) {
  .main-banner-area img {
    max-width: 632px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .main-banner-area img {
    max-width: 380px;
  }
}
