/* 헤더부분추가한것 */
.point-container a{
    font-size:16px
}


#header .inner {
    width:100%;
    max-width:100%;
    padding: 0 10px 0px 30px;
}
#header .inner a.logo {
    margin-left:0;
}
.point-container {
    position: relative;
    animation: border-glow 2s infinite linear; /* 애니메이션 적용 */
    width:145px;
    border:1px solid grey;
    border-radius: 5px;
    white-space: nowrap;
    padding: 5px;
  }
  
  .point-container a {
    font-size: 16px;
    padding-left: 12px;
    width: 100%;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
  }
  
  .point-container img {
    width: 26px;
    margin-right: 10px;
  }
  
  @keyframes border-glow {
    0% {
      border-color: gold;
      box-shadow: 0 0 12px gold;
    } 
    50% {
      border-color: rgba(255, 215, 0, 0.6); /* 연한 gold */
      box-shadow: 0 0 24px rgba(255, 215, 0, 0.6);
    }
    100% {
      border-color: gold;
      box-shadow: 0 0 12px gold;
    }
  }


/*헤더 카테고리*/
#header .inner .menu-end {margin-left: auto;margin-right:10px;height:2.6rem;display:flex;align-items: center;justify-content: center;}



.top-login-categories .carousel-items {
    margin-top: 10px;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 1vw, 18px);
    white-space: nowrap;
    width:100%;
    color:hsla(0, 0%, 100%, .65);
    margin-left: 35px;
    li{
        white-space: nowrap;
        padding:8px;
    }
    li:hover {
        padding:8px;
        color:white;
        background-color: #333;
        border-radius: 5px;
    }
 }

 /* .top-login-categories .carousel-items  */

 
#header .inner .menu-end .gift {
    img {
        width:38px;
        height: 38px;
        margin-left: 12px;
    }
}
#header .inner .menu-end .bell {
    img {
        width:36px;
        height: 36px;
        margin-left: 14px;
        cursor: pointer;
    }
}

#header .inner .menu-end .notification {
    z-index:99;
    display: none;
    position: absolute;
    background-color: white;
    width:160px;
    color: black;
    border-radius: 4px;
    border:1px solid black;
    text-align: center;
    transform: translate(-10px ,110px); 
    transition: all 0.5s ease; 
    opacity: 0;
    top:-55px;
    h4 {
        margin-top:auto;
        font-size:12px;
        border-top:1px solid #555;
        padding: 5px;
        font-weight: bold;
    }
}

#header .inner .menu-end .notification .noti_container {
    display: flex;
    flex-direction: column;
   
}
#header .inner .menu-end .notification .recent {
    border-bottom:1px solid #555;
    display: flex;
    align-items: center;
    justify-content: space-between;
    vertical-align: baseline;

    span {
        font-size:11px;
        color:#333;
        padding:8px;
        font-weight: 400;  
    }
    p {
        font-size:9px;
        color:#565656;
        padding:8px;
        font-weight: 400; 
    }
  
}

#header .inner .menu-end .notification .fiveNoti {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    p {
        color:#555;
        font-size:10px;
        font-weight: 400;
    }
    span {
        font-size:12px;
        color:red;
    }
    
}

#header .inner .menu-end .notification.show {
    display: block;
    opacity: 1;
}

#header .inner .menu-end .notification .fiveNoti ul { list-style:none; width:100%;text-align: center; }
#header .inner .menu-end .notification .fiveNoti ul li { 
    font-size: 10pt;
    margin: 2pt;
    border-bottom: 1px solid #777;
    text-align: center;
    cursor: pointer;
    padding: 3pt 0;
    font-weight: normal;
}
#header .inner .menu-end .notification .fiveNoti ul li:last-child { 
    font-size: 10pt;
    margin: 2pt;
    border-bottom: 0px;
    text-align: center;
    cursor: pointer;
    padding: 3pt 0;
    font-weight: normal;
 }

#header .inner .menu-end a.btn-search2 img {
    width:35px;color:#fff;margin-left:12px;
}
#header .inner .menu-end a.btn-search img {width:30px;color:#fff;margin-left:12px;}

#header .inner .menu-end .point-container {}
#header .inner .menu-end a.btn-point {position:relative;}
#header .inner .menu-end a.btn-point img {}
#header .inner .menu-end a.btn-point i {font-size:28px;color:#fff;margin-left:20px;font-weight:normal;}
#header .inner .menu-end a.btn-point .point-bubble {
    display:none;
    position:absolute;
    width:100px;
    padding:10px;
    background-color:#000;
    opacity: 0.9;
    border-radius:4px;
    color:#fff;
    top:-2px;
    left:-110px;
    font-size:0.8vw;
    text-align:center;
    border:solid 1px #777;
}
#header .inner .menu-end a.btn-point .point-bubble:after {
    content:'';
    position:absolute;
    top:50%;
    right:-7px;
    opacity: 0.9;
    border-left:7px solid #000;
    border-top:6px solid transparent;
    border-bottom:6px solid transparent;
    transform:translateY(-50%);
}
#header .inner .menu-end a.btn-point .point-bubble:before {
    content:'';
    position:absolute;
    top:50%;
    right:-8px;
    opacity: 0.9;
    border-left:7px solid #777;
    border-top:6px solid transparent;
    border-bottom:6px solid transparent;
    transform:translateY(-50%);
}
#header .inner .menu-end a.btn-login {height:38px;border-radius:10px;margin-left:12px; }
#header .inner .menu-end a.btn-login :hover {
   
}
#header .inner .menu-end a.btn-login i {font-size:20px;}
#header .inner .menu-end a.btn_login img {width:24px;height:auto;border-radius:50%;}
#header .inner .menu-end a.btn-mypage {background:#000; border: 1px solid grey; 
    width:38px;height: 38px;
    img {
        width:100%;
        object-fit: cover;
    } 
}
#header .inner .menu-end a.btn-mypage i {color:#fff;}

#header .inner .menu-end .login-cont {position:absolute;right:0px;top:87px;background:#232323;width:230px;z-index:2;border:solid 1px #333;}

#header .inner .menu-end .login-cont li {height:48px;display:flex;padding-left:20px;}
#header .inner .menu-end .login-cont li a {color:#fff;font-size:13px;display:flex;width:100%;}
#header .inner .menu-end .login-cont li a i {margin-right:5px;margin-top:1px;}
#header .inner .menu-end .login-cont li + li {border-top:solid 1px #333;}
#header .inner .menu-end .login-cont li:hover {background:#333;}


#header .right-nav {
    background:#121212;position:absolute;top:0;text-align:center;transition: .2s ease;
    width: 30%;
    padding-top:0px;
    right: 0;
    overflow-y:auto;
    padding-bottom:100px;
    z-index: 100;
    height:100vh;
}
#header .right-nav::-webkit-scrollbar {width:5px;background-color:#999;direction:ltr;}
#header .right-nav::-webkit-scrollbar-thumb { background-color:#a31717;}
#header .right-nav .menu-title {
    padding-left:30px;
    line-height:60px;
    padding-top:0px;
    width:100%;
    color:#fff;
    font-weight:bold;
    text-align:left;
    border-bottom:solid 1px #222;
}
#header .right-nav .sub-cont { }
#header .right-nav .sub-cont .btn-login {
    font-size:14px;padding:10px 20px;
    width:100%;
    background:#a31717;
    border:solid 1px #333;
    border-radius:5px;
    color:#fff;
}
#header .right-nav .sub-cont .sub {
    background:#a31717;
    width:100%;
}
#header .right-nav .sub-cont .menu {
    width:100%;
    padding:15px;
    line-height:25px;
    border-bottom:solid 1px #222;
}
#header .right-nav .sub-cont .menu .depth1 {
    text-align:left;
    font-size:14px;
    color:#fff;
    width:100%;
    display:inline-block;
    position:relative;
    
}
#header .right-nav .sub-cont .menu .depth1 i {position:absolute;right:10px;color:#a31717;}
#header .right-nav .sub-cont .menu .depth1 i.group {color:#a31717;}
#header .right-nav .sub-cont .menu .sub-menu {display:none;padding-left:10px;margin-top:10px;}
#header .right-nav .sub-cont .menu .sub-menu li {position:relative;}
#header .right-nav .sub-cont .menu .sub-menu li a {color:#eee;font-size:12px;padding:6px 10px;border-radius:2px;background:#222;margin-top:8px;}
#header .right-nav .sub-cont .menu .sub-menu li a i {position:absolute;right:10px;color:#a31717;}
#header .right-nav .sub-cont .menu .sub-menu.active {display:block;}
#header .right-nav .sub-cont h4 {border-bottom:solid 1px #232323;padding:15px; width:100%; margin-top:0; margin-bottom:0;}
#header .right-nav .sub-cont .login-cont {border:solid 1px #333;background:#232323;border-radius:4px;}
#header .right-nav .sub-cont .login-cont li {line-height:40px;padding-left:10px; border-bottom: 1px solid #000;}
#header .right-nav .sub-cont .login-cont li a {font-size:12px;color:#ddd;}
#header .right-nav .sub-cont .login-cont li a i {margin-right:4px;margin-top:1px;}
#header .right-nav a.btn-menu {z-index: 1;
    color: #fff;
    right: 24px;
    position: absolute;
    top: 8px;
    font-size: 25pt;
}

.right_menu_show {transform: translateX(0); opacity: 1;}
.right_menu_hide {transform: translateX(100%); opacity: 0; display:none;}


/* 모바일 헤더 */
#header_mobile {display:none;position:fixed;left:0;right:0;top:0;width:100%;padding:10px 10px;background:#111;z-index:99;
    -webkit-transition: all 0.6s ease-out;
    -moz-transition: all 0.6s ease-out;
    -o-transition: all 0.6s ease-out;
    transition: all 0.6 s ease-out;
    align-items: center;
    height:60px;
    opacity: 0.96;
    z-index:100;
}
#header_mobile .title1 {color:#fff;font-size:22px;font-weight:bold;text-shadow:2px 2px 2px #a31717;}
#header_mobile .title2 {color:#a31717;font-size:22px;font-weight:bold;text-shadow:1px 1px 1px #333;margin-left:4px;}
#header_mobile:after {display:block;visibility:hidden;clear:both;content:""}
#header_mobile a.logo { justify-content: left;}
#header_mobile a.logo img {width:40%; padding:10px;}
#header_mobile a {display:flex;align-items: center; justify-content: center;}
#header_mobile .menu-end {display:flex; margin-left: auto;margin-right:10px;}
#header_mobile .menu-end a.btn-search i {font-size:24px;color:#fff;margin-left:10px;}
#header_mobile .menu-end a.btn-point {position:relative;}
#header_mobile .menu-end a.btn-point img {width:26px;}
#header_mobile .menu-end a.btn-point i {font-size:28px;color:#fff;margin-left:10px;}
#header_mobile .menu-end a.btn-point .point-bubble {
    display:none;
    position:absolute;
    width:100px;
    padding:10px;
    background-color:#000;
    opacity: 0.9;
    border-radius:4px;
    color:#fff;
    top:-6px;
    left:-110px;
    font-size:12px;
    text-align:center;
    border:solid 1px #777;
}

#header_mobile .menu-end a.btn-point .point-bubble:after {
    content:'';
    position:absolute;
    top:50%;
    right:-6px;
    opacity: 0.9;
    border-left:7px solid #000;
    border-top:6px solid transparent;
    border-bottom:6px solid transparent;
    transform:translateY(-50%);
}
#header_mobile .menu-end a.btn-point .point-bubble:before {
    content:'';
    position:absolute;
    top:50%;
    right:-7px;
    opacity: 0.9;
    border-left:7px solid #777;
    border-top:6px solid transparent;
    border-bottom:6px solid transparent;
    transform:translateY(-50%);
}
#header_mobile .menu-end a.btn-menu {z-index:1;color:#fff;margin-left:10px;}
#header_mobile .menu-end a.btn-menu i {font-size:24px;color:#fff;}
#header_mobile .menu-end a.btn-mypage {background:#a31717;}
#header_mobile .menu-end a.btn-mypage i {color:#fff;}
#header_mobile .menu-end .login-cont {position:absolute;right:10px;top:65px;background:#232323;width:230px;}
#header_mobile .menu-end .login-cont li {height:48px;display:flex;padding-left:20px;}
#header_mobile .menu-end .login-cont li a {color:#fff;font-size:13px;display:flex;width:100%;}
#header_mobile .menu-end .login-cont li + li {border-top:solid 1px #333;}
#header_mobile .menu-end .login-cont li:hover {background:#333;}
#header_mobile .menu-end a.btn-menu {z-index:1;color:#fff;margin-left:10px;}
#header_mobile .menu-end a.btn-menu i {font-size:24px;color:#fff;}
#header_mobile .menu-end a.btn-mypage {background:#a31717;}
#header_mobile .menu-end a.btn-mypage i {color:#fff;}
#header_mobile .menu-end .login-cont {position:absolute;right:10px;top:65px;background:#232323;width:230px;}
#header_mobile .menu-end .login-cont li {height:48px;display:flex;padding-left:20px;}
#header_mobile .menu-end .login-cont li a {color:#fff;font-size:13px;display:flex;width:100%;}
#header_mobile .menu-end .login-cont li + li {border-top:solid 1px #333;}
#header_mobile .menu-end .login-cont li:hover {background:#333;}
#header_mobile .mobile-nav {
    background:#121212;
    opacity:1;
    position:absolute;
    top:0;
    height:100vh;
    text-align:center;
    transition: .2s ease;
    width:45%;
    /*  transition: opacity .5s ease;
    -moz-transition: opacity .5s ease;
    -webkit-transition: opacity .5s ease;
    transition:left .5s ease-in-out;*/
    padding-top:0px;
    overflow-y:auto;
    padding-bottom:150px;
    right:0;
}
#header_mobile .mobile-nav::-webkit-scrollbar {width:5px;background-color:#999;direction:ltr;}
#header_mobile .mobile-nav::-webkit-scrollbar-thumb { background-color:#333;}
#header_mobile .mobile-nav .menu-title {
    padding-left:30px;
    line-height:60px;
    padding-top:0px;
    width:100%;
    color:#fff;
    font-weight:bold;
    text-align:left;
    border-bottom:solid 1px #222;
}
#header_mobile .mobile-nav .sub-cont {padding:20px;padding-top:5px;}
#header_mobile .mobile-nav .sub-cont .btn-login {
    font-size:14px;padding:10px 20px;
    width:100%;
    background:#a31717;
    border:solid 1px #333;
    border-radius:5px;
    color:#fff;
}
#header_mobile .mobile-nav .sub-cont .sub {
    background:#a31717;
    width:100%;
}
#header_mobile .mobile-nav .sub-cont .menu {
    width:100%;
    margin-top:12px;
    padding-bottom:12px;
    line-height:25px;
    border-bottom:solid 1px #222;
}
#header_mobile .mobile-nav .sub-cont .menu .depth1 {
    text-align:left;
    font-size:14px;
    color:#fff;
    width:100%;
    display:inline-block;
    position:relative;
}
#header_mobile .mobile-nav .sub-cont .menu .depth1 i {position:absolute;right:10px;color:#a31717;}
#header_mobile .mobile-nav .sub-cont .menu .depth1 i.group {color:#a31717;}
#header_mobile .mobile-nav .sub-cont .menu .sub-menu {display:none;padding-left:10px;margin-top:10px;}
#header_mobile .mobile-nav .sub-cont .menu .sub-menu li {position:relative;}
#header_mobile .mobile-nav .sub-cont .menu .sub-menu li a {color:#eee;font-size:12px;padding:6px 10px;border-radius:2px;background:#222;margin-top:8px;}
#header_mobile .mobile-nav .sub-cont .menu .sub-menu li a i {position:absolute;right:10px;color:#a31717;}
#header_mobile .mobile-nav .sub-cont .menu .sub-menu.active {display:block;}
#header_mobile .mobile-nav .sub-cont h4 {border-bottom:solid 1px #232323;padding-bottom:15px;margin-top:15px;}
#header_mobile .mobile-nav .sub-cont .login-cont {display: flex;
        border: solid 1px #333;
        background: #232323;
        border-radius: 4px;
        flex-direction: column;
        /* align-items: center; */
        text-align: center;
        align-items: center; }
#header_mobile .mobile-nav .sub-cont .login-cont .btn-logout{background-color: #a31717;display: flex;
        background-color: #a31717;
        align-items: center;
        justify-content: center; 
    width: 100%;}
#header_mobile .mobile-nav .sub-cont .login-cont .user-info{ padding: 20px 0 10px 0;display: flex;flex-direction: column;justify-content: center;align-items: center;color: white;border-bottom: 1px solid #555555;flex-wrap: wrap;align-content: center;}
#header_mobile .mobile-nav .sub-cont .login-cont li {line-height:40px;padding-left:10px; width:100%;}
#header_mobile .mobile-nav .sub-cont .login-cont li a {font-size:12px;color:#ddd;}
#header_mobile .mobile-nav .sub-cont .login-cont li a i {margin-right:4px;margin-top:1px;}

/* .mobile_menu_show {left:20%;opacity:1;} */
.mobile_menu_show {opacity:1;}
.mobile_menu_hide {opacity:0;left:100%;}


/* 헤더 반응형 처리 : 960 */
@media screen and (max-width:680px) {

	body::-webkit-scrollbar {width:1px;background-color:rgba(255,255,255,0.5);}
	body::-webkit-scrollbar-thumb { background-color:#990c0c;}

    .top-notice-msg { margin-top:60px; top:0px;}

	#header {display:none;}
	#header_mobile {display:flex;}
	#side {left:-220px;height:calc(100vh - 56px);margin:56px 0 0 0;}
	#side.active {left:0;overflow-y: auto;}
	#footer_mobile {display:block;}
	#contents {padding:0px 10px 10px 10px; max-width:98%;}
}


/* 모바일 버전 (화면 너비가 768px 이하일 때) */
@media screen and (max-width: 768px) {

    /* 태블릿 헤더 바뀐부분  */
    #header .inner .menu-end .point-container {
        width: 100%;
        border: 1px solid grey;
        /* border-radius: 50px; */
        white-space: nowrap;
        padding: 8px;
        height: 40px;
    }
    #header .inner .menu-end .point-container .btn-point {
            padding-left:0px;
            margin-top: -2px;
           
    }

    .top-login-categories .carousel-items {
         margin-left: 0px;
    }
    #header .inner {
        padding: 0 10px 0px 10px;
    }
    #header .inner a.logo img {
        width:100%;
    }
    .point-container a {
        font-size:14px;
    }








    #contents .main-section.m3{
        margin-top: -150px;
    }


    @media screen and (max-width: 400px) {
        #contents .main-section.m3{
            margin-top: -110px;
        }
        #header_mobile a.logo img {
            width: 55%;
        }
    }

    @media screen and (max-width: 768px) {
        #contents .main-section.m4{
            height: 180px; /* 고정된 높이 */
        }
    }

    @media screen and (max-width: 400px) {
        #contents .main-section.m4{
            height: 155px; /* 고정된 높이 */
        }
    }

    #contents .main-section h2 {
        font-size: 15px;
        line-height: 28px;
        margin-bottom: 0px;
    }

    #contents .main-section .swiper-slide.item {
        padding: 0px 10px;
        margin-top: 15px;
        margin-right: 8px;
        font-size: 14px;
    }

    #contents .main-section .swiper-slide.item a {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* PC 버전 (화면 너비가 769px 이상일 때) */
@media screen and (min-width: 769px) {
    #header .inner a.logo {
        /* margin-left:-12px; */
    }
    #contents .main-section .swiper-slide.item {
        padding: 3px 20px;
        margin-top: 25px;
        margin-right: 15px;
        font-size: 16px;
    }

    #contents .main-section .swiper-slide.item a {
        font-size: 16px;
        line-height: 1.7;
    }

    #contents .main-section h2 {
        font-size: 22px;
    }

    .main-banner .swiper-slide .container .img .play {
        height:40px;
    }
}


/* 모바일 버전 (화면 너비가 460px 이하일 때) */
@media screen and (max-width: 460px) {
    #header_mobile .mobile-nav {
        width: 70%;
    }
}