/* English Menu Fixes - Final */

#header_wrap #header .lnb_area .ul_1st > li {
  margin: 0 12px !important;
}

#header_wrap #header .lnb_area .ul_1st > li a span {
  font-size: 19px !important;
  white-space: nowrap !important;
}

/* 모바일 1000px 이하 */
@media screen and (max-width: 1000px) {
  #mobile_header {
    display: block !important;
  }

  #mobile_header .inner {
    position: relative;
  }

  .eng-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    width: 75px; /* 고정 너비로 겹침 방지 */
    gap: 10px !important;
  }

  .eng-menu li,
  .category,
  .home {
    display: inline-block !important;
  }

  .eng-menu .qbt i,
  .eng-menu .fa-edit {
    font-size: 20px;
    color: #000;
  }
}

/* 모바일 768px 이하 */
@media screen and (max-width: 768px) {
  .eng-menu {
    justify-content: space-between !important;
    width: 100% !important;
    right: 0 !important;
  }

  .eng-menu li {
    margin: 0 10px !important;
  }

  .fa-outdent,
  .fa-edit {
    font-size: 20px !important;
    color: #333 !important;
  }

  #sideMenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
  }

  #sideMenu.on {
    display: block;
  }

  #back_cover {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    z-index: 9998;
  }

  #back_cover.on {
    display: block;
  }
}
