.wrap {
    padding-top: 40px;    
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
} 
/* 레이어팝업 */
.layer_popup {
    width: 310px;
    background: #fff;
    position: fixed;
    left: 100px;
    top: 200px;
    display: none;
    z-index: 999999999; 
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
}
.popup_body {
    padding: 5px;
    overflow: hidden;
}
.popup_img {
    width: 300px;
    height: 330px;
    position: relative;
}
.p_img {
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}
.popup_btn {
    width: calc((100% - (5px * 2)) / 3 - 0.01px);
    height: 100px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    float: left;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}
.popup_btn:nth-child(3n - 1) {
    margin-left: 5px;
    margin-right: 5px;
}
.popup_btn a {
    display: block;
    width: 100%;
    padding: 40px 0; 
    font-size: 11px;
    text-align: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.popup_btn:hover {
    background: #f9f9f9;
}
.popup_footer {
    width: 100%;
    height: 25px;
    line-height: 25px;
    background: #222;
    color: #fff;
    font-size: 12px;
    padding: 0 5px;
    box-sizing: border-box;
}
.btn_close_24 {
    float: left;
    cursor: pointer;
}
.btn_close {
    float: right;
    cursor: pointer;
}
/* 메인배너 */
.main_banner {
    width: 100%;
    height: 600px; 
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 180px;
}
.box {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 100%;
    top: 0;
}
.main_banner1 { background: url(../img/main_banner/main_img_01.jpg) no-repeat center; }
.main_banner2 { background: url(../img/main_banner/main_img_02.jpg) no-repeat center; }
.main_banner3 { background: url(../img/main_banner/main_img_03.jpg) no-repeat center; }
.btn_slide {
    width: 100px;
    height: 100%;
    background: transparent;
    font-size: 30px;
    position: absolute;
    top: 0;
}
#btn_L {
    left: 0;
    background: url('../img/main_banner/w_slide_prev.png') no-repeat center;
}
#btn_R {
    right: 0;
    background: url('../img/main_banner/w_slide_next.png') no-repeat center;
}
.indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
.circle {
    width: 30px;
    height: 5px;
    background: #aaa;
    border-radius: 2px;
    float: left;
    margin: 0 5px; 
}
.circle:hover {
    background: #333;
}
.indi_active {
    background: #333;
    width: 50px;
}
/* main 아이템 부분 */
/* /////////// 공통 ////////// */
.sec {
    margin-bottom: 100px;
}
.sec_title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 70px;
    letter-spacing: 2px;
}
.item_container {
    overflow: hidden;
}
.item_container > li {
    margin-bottom: 80px;
}
.item_img {
    position: relative;
    overflow: hidden;
}
.item_img img {
    width: 100%;
    transition: all 0.5s;
}
.item_info {
    padding: 0 5px;
    box-sizing: border-box;
}
.item_info_title {
    font-size: 13px;
    line-height: 35px;
    color: #555;
    border-bottom: 1px solid #ccc;
    margin-bottom: 8px
}
.o_price, .s_price, .item_desc {
    font-weight: 200;
    font-size: 12px;
}
.o_price {
    text-decoration: line-through;
}
/* //////// weekly ranking //////// */
li.w_ranking_items {
    width: calc((100% - (7px * 5 )) / 6 - 0.01px);
    margin-right: 7px;
    float: left;
}
li.w_ranking_items:last-child {
    margin-right: 0;
}
.ranking_num {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #282828;
    color: #fff;
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 3px; 
}
/* //////// best item //////// */
li.best_items {
    width: calc((100% - (7px * 3 )) / 4 - 0.01px);
    margin-right: 7px;
    float: left;
}
li.best_items:nth-child(4n) {
    margin-right: 0;
}
li.best_items > .item_img:hover img{
    transform: scale(1.3);
}
/* //////// new //////// */
li.new_items {
    width: calc((100% - (7px * 3 )) / 4 - 0.01px);
    margin-right: 7px;
    float: left;
}
li.new_items:nth-child(4n) {
    margin-right: 0;
}
#new .item_img a { display: block;}
#new .item_img img:first-child {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}
#new .item_img:hover img:first-child {
    opacity: 1;
}
/* /////// 아이템들을 위로 올리는 용도 /////// */
.item_init {
    /* opacity: 0.3; */
    opacity: 0;
    transform: translateY(70px);
    transition: all 1s;
}
.item_acitve {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s;
}




