/* 공통 */

.row {
    margin: 0;
}

.col-12.row {
    padding: 0;
}

.col-6.item {
    padding: 0 10px;
}

#main .carousel,
#main .best,
#main .new,
#main .brand,
#main .cate_item,
#main .menu_ban,
#main .sns {
    margin-bottom: 85px;
}


/* 공통 상품 */

#main .best .title,
#main .new .title {
    text-align: center;
    margin-bottom: 50px;
}

#main .best .title::after,
#main .new .title::after {
    content: "";
    display: block;
    height: 2px;
    width: 35px;
    background: #a6774e;
    margin: 14px auto;
}

#main .item {
    padding: 0 10px 20px;
    width: 100%;
}

#main .item .thumb_wr {
    position: relative;
}

#main .item .thumb_wr .icon_wr {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.875rem;
    display: flex;
    z-index: 99;
}

#main .item .thumb_wr .icon_best,
#main .item .thumb_wr .icon_new {
    background-color: #a6774e;
    color: #fff;
    padding: 2px 8px;
}

#main .item .thumb_wr .icon_new {
    background-color: #47ad1a;
}

#main .item .thumb_wr a {
    display: block;
    overflow: hidden;
}

#main .item .thumb_wr img {
    width: 100%;
    display: block;
    transition: .3s;
}

#main .item:hover .thumb_wr img {
    transform: scale(1.08);
}

#main .item .txt_wr {
    margin-top: 14px;
}

#main .item .txt_wr .prod_review {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #47ad1a;
    margin-bottom: 6px;
    display: inline-block;
}

#main .item .txt_wr .prod_tit {
    font-size: 1.063rem;
    font-weight: 400;
    letter-spacing: -.5px;
    margin-bottom: 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    overflow: hidden;
    width: 100%;
}

#main .item .txt_wr .price_wr {
    margin-bottom: 6px;
}

#main .item .txt_wr .price_wr .sale_per {
    font-weight: 500;
    color: #47ad1a;
}

#main .item .txt_wr .price_wr .prod_price {
    font-weight: 500;
}

#main .item .txt_wr .price_wr .prod_sale {
    font-size: 0.75rem;
    color: #979797;
    text-decoration: line-through;
}

#main .item .txt_wr .prod_hashtag {
    font-size: 0.8125rem;
    color: #979797;
}


/* 메인페이지 */


/* 메인 슬라이드 배너 carousel  */

#main .carousel {
    max-width: 1920px;
    height: 630px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 85px;
}

#main .carousel-item {
    height: 630px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


/* best 상품 */

#main .best .item .thumb_wr img {
    width: 100%;
    display: block;
}

#main .best .item .txt_wr {
    margin-top: 14px;
}


/* whale pick */

#main .whale_pick {
    padding: 80px 0;
}

#main .whale_pick:nth-child(odd) {
    background-color: #f9f5ef;
}

#main .whale_pick .swiper-button-prev,
#main .whale_pick .swiper-button-next {
    width: 50px;
    height: 50px;
    background-size: contain;
}

#main .whale_pick .swiper-button-prev {
    background-image: url("../images/swiper-button-box-black-prev.png");
}

#main .whale_pick .swiper-button-next {
    background-image: url("../images/swiper-button-box-black-next.png");
}

#main .whale_pick .tit_wr {
    display: flex;
    align-items: center;
}

#main .whale_pick .txt_wr {
    word-break: keep-all;
    text-align: left;
}

#main .whale_pick .txt_wr .sub_tit {
    font-size: 1.375rem;
    color: #a6774e;
    display: inline-block;
    margin-bottom: 25px;
}

#main .whale_pick .txt_wr .title {
    font-size: 1.75rem;
    margin-bottom: 14px;
    letter-spacing: -1px;
    line-height: 1.3;
}

#main .whale_pick .txt_wr .txt {
    color: #979797;
    letter-spacing: -.5px;
}

#main .whale_pick .prod_wr {
    padding: 0;
}

#main .whale_pick .prod_wr .swiper-slide {
    padding: 0 10px;
}

#main .whale_pick .prod_wr .item {
    padding: 0;
}


/* whale pick 슬라이더 */

#main .whale_pick .swiper-container {
    width: 100%;
    height: 100%;
}

#main .whale_pick .swiper-slide {
    text-align: center;
    font-size: 18px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

#main .whale_pick .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* new */

#main .new {
    margin-top: 20px;
}


/* brand */

#main .brand {
    background-image: url("../images/brand_bg.png");
    width: 100%;
    height: 520px;
    font-size: 2rem;
    background-attachment: fixed!important;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position-x: center;
    background-size: cover;
}

#main .brand .txt_wr {
    margin-bottom: 42px;
}

#main .brand .txt_wr .sub_wr::after {
    display: block;
    content: "";
    height: 2px;
    background-color: #fff;
    width: 35px;
    margin: 20px auto;
}

#main .brand .txt_wr .sub_wr span {
    font-size: 1.125rem;
    font-weight: 300;
    display: block;
}

#main .brand .txt_wr .title {
    font-size: 2.625rem;
}

#main .brand .btn_more {
    width: 172px;
    height: 50px;
    border: 2px solid #fff;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    transition: .4s;
}

#main .brand .btn_more:hover {
    border-radius: 60px;
}


/* cate item */

#main .cate_item .cont_wr {
    display: flex;
    justify-content: space-between;
}

#main .cate_item .txt_wr .title {
    font-size: 2.25rem;
    margin-bottom: 40px;
}

#main .cate_item .txt_wr .btn_more {
    border-bottom: 1px solid #777;
    color: #777;
    transition: .2s;
}

#main .cate_item .txt_wr .btn_more:hover {
    color: #47ad1a;
    border-color: #47ad1a;
}


/* menu ban */

#main .menu_ban {
    color: #fff;
    height: 730px;
    background-color: #f9f5ef;
    padding: 80px 0;
    border: 1px dashed #e6e0d6;
    border-left: 0;
    border-right: 0;
}

#main .menu_ban .layout {
    height: 100%;
}

#main .menu_ban .ban_wr {
    height: 100%;
}

#main .menu_ban .left,
#main .menu_ban .right {
    padding: 0 10px;
}

#main .menu_ban .item {
    display: flex;
    align-items: center;
    padding: 35px;
    border-radius: 10px;
}

#main .menu_ban .left .item {
    justify-content: center;
    text-align: center;
    height: 100%;
    background: url("../images/menu_ban_01.jpg") no-repeat;
    background-size: cover;
    background-position: center;
}

#main .menu_ban .right .item {
    height: 48.4%;
}

#main .menu_ban .right .item:first-child {
    background: url("../images/menu_ban_02.jpg") no-repeat;
    background-size: cover;
    margin-bottom: 20px;
    background-position-x: center;
}

#main .menu_ban .right .item:last-child {
    background: url("../images/menu_ban_03.jpg") no-repeat;
    background-size: cover;
    background-position-x: center;
}

#main .menu_ban .item .title {
    font-size: 2rem;
    font-weight: 400;
}

#main .menu_ban .item .txt {
    opacity: 0.8;
}

#main .menu_ban .item .btn_more {
    width: 146px;
    height: 46px;
    border: 2px solid #fff;
    border-radius: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
    margin-top: 38px;
}

#main .menu_ban .item .btn_more:hover {
    background-color: #fff;
    color: #333;
}

#main .menu_ban .left .item .btn_more {
    margin: 0 auto;
    margin-top: 38px;
}


/* sns */

#main .sns .title {
    text-align: center;
    margin-bottom: 10px;
}

#main .sns .btn_insta {
    border-bottom: 1px solid #777;
    color: #777;
    transform: translateX(-50%);
    left: 50%;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    transition: .2s;
}

#main .sns .btn_insta:hover {
    color: #47ad1a;
    border-color: #47ad1a;
}


/* sns 슬라이더 */

#main .sns .swiper-container {
    width: 100%;
    height: 100%;
}

#main .sns .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
}

#main .sns .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#main .sns .swiper-button-prev,
#main .sns .swiper-button-next {
    background-size: contain;
    width: 50px;
    height: 50px;
}

#main .sns .swiper-button-prev {
    background-image: url("../images/swiper-button-box-black-prev.png");
    left: 0;
}

#main .sns .swiper-button-next {
    background-image: url("../images/swiper-button-box-black-next.png");
    right: 0;
}


/* 미디어 쿼리 */

@media screen and (max-width: 1024px) {
    /* 211014 - 배너 반응형 수정 추가 */
    #main .carousel {
        height: 300px;
    }
    #main .carousel,
    #main .brand,
    #main .menu_ban,
    #main .sns {
        margin-bottom: 60px;
    }
    #main .carousel .carousel-inner,
    #main .carousel .carousel-item {
        height: 100%;
    }
    #main .whale_pick {
        padding: 55px 0;
    }
    #main .whale_pick .tit_wr {
        display: block;
        text-align: center;
        margin-bottom: 22px;
    }
    #main .cate_item .cont_wr>.txt_wr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 6px;
        margin-bottom: 30px;
    }
    #main .cate_item .txt_wr .title {
        margin-bottom: 0;
    }
    #main .cate_item .txt_wr .btn_more {
        height: 30px;
    }
}

@media screen and (max-width: 800px) {
    #main .main_ban .main_slider_pc {
        display: none;
    }
    #main .main_ban .main_slider_m {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    #main .layout {
        padding: 0 10px;
    }
    #main .item {
        padding: 0 6px 60px;
    }
    #main .item .txt_wr .prod_tit {
        font-size: 0.9375rem;
    }
    #main .item .txt_wr .price_wr {
        font-size: 0.875rem;
    }
    #main .carousel,
    #main .brand,
    #main .menu_ban,
    #main .sns {
        margin-bottom: 60px;
    }
    #main .best,
    #main .new,
    #main .whale_pick,
    #main .cate_item {
        margin-bottom: 30px;
    }
    #main .best .title,
    #main .new .title,
    #main .brand .title,
    #main .cate_item .txt_wr .title,
    #main .whale_pick .txt_wr .title,
    #main .sns .title {
        font-size: 1.563rem;
        word-break: keep-all;
    }
    #main .best .title,
    #main .new .title {
        margin-bottom: 30px;
    }
    #main .brand {
        height: 350px;
    }
    #main .brand .txt_wr .sub_wr span {
        font-size: 1rem;
    }
    #main .brand .txt_wr .sub_wr .sub_tit {
        font-size: 1.5rem;
        font-weight: 400;
    }
    #main .brand .txt_wr .title {
        font-size: 1.75rem;
    }
    #main .brand .layout {
        padding: 0 16px;
    }
    #main .whale_pick .txt_wr .sub_tit {
        margin-bottom: 15px;
    }
    #main .whale_pick .txt_wr .title {
        margin-bottom: 5px;
    }
    #main .whale_pick .txt_wr .txt {
        margin-bottom: 40px;
    }
    #main .whale_pick .prod_wr .swiper-slide {
        padding: 0 6px;
    }
    #main .cate_item .txt_wr .btn_more {
        font-size: 0.875rem;
        height: 26px;
    }
    #main .menu_ban {
        background-color: transparent;
        padding: 0;
        height: auto;
        border: none;
    }
    #main .menu_ban .layout {
        padding: 0;
    }
    #main .menu_ban .item {
        border-radius: 0;
    }
    #main .menu_ban .item .title {
        font-size: 1.563rem;
    }
    #main .menu_ban .left,
    #main .menu_ban .right {
        padding: 0;
    }
    #main .menu_ban .right .item {
        justify-content: center;
        text-align: center;
        align-items: center;
        height: auto;
    }
    #main .menu_ban .right .item:first-child {
        margin-bottom: 0;
    }
    #main .menu_ban .item .btn_more {
        margin: 0 auto;
        margin-top: 38px;
        height: 40px;
        width: 130px;
        font-size: 0.875rem;
        margin-top: 22px;
    }
    #main .menu_ban .left .item .btn_more {
        margin-top: 22px;
    }
}

@media screen and (max-width: 576px) {
    #main .carousel {
        height: 300px;
    }
}

@media screen and (max-width: 375px) {
    #main .carousel {
        height: 300px;
    }
    #main .item {
        padding: 0 6px 50px;
    }
    #main .whale_pick {
        padding: 35px 0;
        margin-bottom: 16px;
    }
    #main .whale_pick .txt_wr .txt {
        margin-bottom: 12px;
    }
    #main .new {
        margin-top: 30px;
    }
}