/*
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 599px to 788px
##Device = 저해상도 태블릿, 모바일(가로)
##Screen = 599px에서 788px 사이
*/


@media (max-width: 788px) {
  #header .logo-area {
    display: none;
  }

  #header .search-bar {
    width: 39vw;
  }

  #header .search-bar > input {
    width: 34vw;
  }

  .search-cate-menu-layer {
    width: 80%;
  }

  .search-cate-menu-layer .search-cate-list ul {
    width: 100%;
  }

  .best-seller .swiper-button-prev {
    top: 33%;
    left: -6px;
  }

  .best-seller .swiper-button-next  {
    top: 33%;
    right: -6px;
  }

  /* 훔쳐온 메뉴 CSS */

  #menu {
    position: fixed;
    left: 0px;
    top: -100%;
    z-index: 150;
    width: 100%;
    height: 100%;
    transition: top 0.05s ease-out 0.25s;
  }

  #menu.open {
    top: 0;
    transition: top 0.05s ease-out 0s;
  }

  #menu .bg {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.3s ease-out;
  }

  #menu.open .bg {
    opacity: 0.85;
    transition: opacity 0.4s ease-out;
  }

  #menu .inner_box {
    position: absolute;
    right: -100%;
    top: 0;
    width: 85%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #fff;
    transition: all 0.2s ease-out;
  }

  #menu.open .inner_box {
    right: 0;
    transition: all 0.3s ease-out;
  }

  #menu .inner_scroll {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 21px 24px 0 24px;
  }

  /* 훔쳐온 메뉴 CSS 끝 */

  .user_info {}

  .user_info .userProfile {
    width: 56px;
    height: 56px;
  }

  .user_info .userProfile > img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }

  .menu_box {
    padding : 16px 0;
  }

  .menu_box svg {
    width: 20px;
    height : 20px;
  }

}

@media (max-width: 699px) {
  .best-seller .swiper-button-prev,
  .best-seller .swiper-button-next  {
    top: 38%;
  }
}

@media (max-width: 599px)  {

  #header .logo-area {
    display: block !important;
  }
  #header .logo-bk,
  .mo-dn {
    display: none !important;
  }

  #header .logo-wh,
  #header .search-bar-mo .mo-dn-w600,
  #header .cart-btn>:nth-child(2),
  #header .login-btn>:nth-child(2),
  .mo-rotate-img {
    display:inline-block !important;
  }

  #header .search-bar-mo .mo-dn-w360 {
    display: none !important;
  }

  #header .member-bar .mo-login-btn {
    display: flex !important;
  }

  #header.gnb_fixed {
    padding: 16px 0;
    background: #FFF;
    position: fixed;
    top: 0px;
    bottom: inherit;
    z-index: 100;
  }

  #header.gnb_fixed .logo-bk {
    display: block !important;
    width: 125px;
  }

  #header.gnb_fixed .logo-wh {
    display: none !important;
  }

  #header.gnb_fixed .search-bar-mo .mo-dn-w600 {
    display: none !important;
  }

  #header.gnb_fixed .search-bar-mo .mo-dn-w360 {
    display: flex !important;
  }

  #header .member-bar .cart-btn {
    display: flex;
  }

  #header .member-bar .cart-btn svg path {
    stroke: #fff;
  }

  #header.gnb_fixed .member-bar .cart-btn svg path {
    stroke: #222;
  }

  #header.gnb_fixed .member-bar .login-btn,
  #header.gnb_fixed .member-bar .mo-login-btn {
    background: #FFF;
  }

  #header.gnb_fixed .member-bar .login-btn,
  #header.gnb_fixed .member-bar .mo-login-btn {
    background: #FFF;
  }

  #header.gnb_fixed .member-bar .nologin-btn {
    background: #222;
    color: #FFF;
  }

  #header.gnb_fixed .search-bar-mo .mo-dn-w360 {
    width: 24px;
    height: 24px;
  }

  #header.gnb_fixed .member-bar .mo-login-btn {
    width: 26px;
    height: 26px;
  }

  #header.gnb_fixed .member-bar .login-btn {
    display: none !important;
  }

  #header.gnb_fixed .member-bar .fix_login-btn {
    display: flex;
  }


  #header.gnb_fixed .menuBtn .menu-icon span{
    background: #222;
  }

  .myinfo-layer {
    display: none !important;
  }

  .mo-upload-btn {
    display: flex !important;
    justify-content: center;
  }

  .mainSlide {
    display: none !important;
  }

  .mo-mainSlide {
    display: block !important;
    height: 438px;
    overflow-y: visible !important;
  }

  .mo-mainSlide .swiper-slide .title p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .mo-mainSlide .swiper-pagination {
    bottom: 24px !important;
  }

  .rotate-img {
    display: none !important;
  }

  .mo-rotate-img {
    height: 107px;
    width: 107px;
    position: fixed !important;
    top: 44vh;
    right: -44px;
  }

  .best-seller .best-seller-list .best-seller-item:hover {
    transform: translate(0px);
  }

  .best-seller .swiper-button-prev,
  .best-seller .swiper-button-next  {
    display: none;
  }

  .pc_company_info {
    display: none;
  }

  .mo_company_info {
    display: flex;
    flex-wrap: wrap;
  }


  footer {
    padding: 50px 0;
  }

  footer > div p {
    display: none;
  }

  .mo_company_info .footer_company_list > p {
    display: block;
  }

  .mo_company_info .copyright > p {
    display: block;
  }


  footer > div > div {
    flex-direction: column;
    gap: 20px;
  }

  footer > .container >:nth-child(1) {
    width: 100%;
    text-align: center;
  }

  .footer-logo {
    width : 160px !important;
  }

}
