/* BASIC css start */
/* =========================
   HEADER LIST
========================= */
#header_list {
    display: none;
    border-bottom: 1px solid #e9e9e9;
}

#header_list .head_inner .head_top {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    height: 60px;
}

#header_list .head_inner .head_top .history_back img {
    width: 24px;
}

#header_list .head_inner .head_top .cate_name {
    font-size: 18px;
    font-weight: 600;
}

#header_list .head_inner .head_top .inner_right {
    display: flex;
    align-items: center;
}

#header_list .head_inner .head_top .inner_right img {
    width: 24px;
}

#header_list .head_inner .head_top .inner_right > div {
    cursor: pointer;
}

#header_list .head_inner .head_top .inner_right .cart a {
    display: inline-block;
    position: relative;
}

#header_list .head_inner .head_top .inner_right .cart a img {
    width: 24px;
    transform-origin: right center;
}

#header_list .head_inner .head_top .inner_right .cart a span {
    position: absolute;
    left: 52%;
    top: 47%;
    font-size: 10px;
    font-weight: 500;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}


/* =========================
   공통 SECTION TITLE
========================= */
.section .sec_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-right: 20px;
}

.section .sec_title h2 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    letter-spacing: -0.5px;
}

.section .sec_title > a {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #666;
}

.section .sec_title > a img {
    display: block;
    width: 8px;
    height: auto;
    margin-left: 5px;
    vertical-align: middle;
}


/* =========================
   SEC1 - 메인 배너
========================= */
#sec1 {
    margin-bottom: 40px;
    overflow: hidden;
}

#sec1 .swiper {
    position: relative;
    width: 100%;
    overflow: visible;
}

#sec1 .swiper > ul {
    margin: 0;
    padding: 0;
}

#sec1 .swiper > ul > li {
    position: relative;
}

#sec1 .swiper > ul > li > a {
    display: block;
    width: 100%;
}

#sec1 .swiper > ul > li > a > img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

#sec1 .swiper-slide {
    overflow: hidden;
    border-radius: 0;
}

/* 하단 페이지 및 재생·정지 버튼 */
#sec1 .swiper .btn_wrap {
    position: absolute;
    right: 40px;
    bottom: 21px;
    z-index: 4;
    display: flex;
    width: 86px;
}

#sec1 .swiper .btn_wrap .swiper-pagination {
    position: static;
    width: 50px;
    margin-right: 10px;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    line-height: 26px;
    text-align: center;
}

#sec1 .swiper .btn_wrap .control_btn {
    position: relative;
}

#sec1 .swiper .btn_wrap .control {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

#sec1 .swiper .btn_wrap .control.on {
    display: block;
}

#sec1 .swiper .btn_wrap .control a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

#sec1 .swiper .btn_wrap .control a img {
    width: 10px;
    height: auto;
}

#sec1 .swiper .btn_wrap .pause_btn.control a img {
    width: 8px;
}

/* 메인 배너 텍스트 */
#sec1 .swiper ul li .txt_area {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    max-width: 95%;
    padding-left: 6%;
    overflow: visible;
    transform: translateY(-50%);
}

#sec1 .swiper ul li .txt_area > * {
    transform: translateY(-25px);
}

#sec1 .swiper ul li .txt_area p {
    opacity: 0;
    line-height: 1.3;
}

#sec1 .swiper ul li .txt_area p.big {
    margin-bottom: 8px;
    transition: all 0.6s;
    transition-delay: 0.1s;
}

#sec1 .swiper ul li .txt_area p.sub {
    margin-bottom: 17px;
    font-weight: 500;
    transition: all 0.6s;
    transition-delay: 0.37s;
}

#sec1 .swiper ul li .txt_area a.more {
    opacity: 0;
    transition-delay: 0.6s;
}

#sec1 .swiper ul li.swiper-slide-active .txt_area p,
#sec1 .swiper ul li.swiper-slide-active .txt_area a.more {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   SEC2 - 퀵메뉴
========================= */
#sec2 {
    padding: 0 20px;
    margin-bottom: 20px;
}

#sec2 ul {
    font-size: 0;
}

#sec2 ul li {
    display: inline-block;
    width: 18%;
    margin: 0 2.5% 16px 0;
    text-align: center;
    vertical-align: top;
}

#sec2 ul li:nth-child(5n) {
    margin-right: 0;
}

#sec2 ul li.list_coupon {
    position: relative;
}

#sec2 ul li.list_coupon:after {
    content: "";
    display: inline-block;
    position: absolute;
    left: 50%;
    top: -6px;
    width: 22px;
    height: 14px;
    margin-left: -11px;
    background: url(//skin.makeshop.co.kr/skin/potato/img/new_icon.png) no-repeat center;
    background-size: contain;
    animation: up-down 1.4s infinite ease-in-out alternate;
}

#sec2 ul li a img {
    width: 100%;
}

#sec2 ul li a p {
    margin-top: 4px;
    font-size: 12.6px;
}


/* =========================
   SEC3 - 오늘의 커피
========================= */
#sec3 {
    padding-left: 20px;
}

#sec3 .sec_inner {
    width: 100%;
}

#sec3 .sec_inner .sec_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-right: 20px;
}

#sec3 .sec_inner .sec_title h2 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #111 !important;
    letter-spacing: -0.5px !important;
}

#sec3 .sec_inner .sec_title > a {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #666;
}

#sec3 .sec_inner .sec_title > a img {
    display: block;
    width: 8px;
    height: auto;
    margin-left: 5px;
}

#sec3 .sec3_cont {
    overflow: hidden;
}


/* =========================
   SEC4 - 베스트 커피
   제목: 좌우 20px
   상품 슬라이더: 왼쪽 20px
========================= */
#sec4 .sec_inner .sec_title {
    padding-left: 20px;
    padding-right: 20px;
}

#sec4 .sec_inner .sec_title h2 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    letter-spacing: -0.5px;
}

/* 배경 영역 */
#sec4 .sec4_bg {
    position: relative;
    padding: 55% 0 0 30px;
    background: #DDE7D3 url('/design/coffeehapy/yoon/main/cupofcoffee1.png') no-repeat 95% 40%;
    background-size: 40% auto;
}

#sec4 .sec4_bg .txt_box {
    position: absolute;
    left: 20px;
    top: 40px;
}

/* Best Coffee */
#sec4 .sec4_bg .txt_box .txt1 {
    margin: 0 0 8px;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: #111;
    letter-spacing: -0.3px;
}

/* 가장 인기 있는 원두 */
#sec4 .sec4_bg .txt_box .txt2 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    letter-spacing: -0.5px;
}

#sec4 .sec4_bg .txt_box .txt3 {
    padding-top: 30px;
}

#sec4 .sec4_bg .txt_box .txt3 img {
    display: block;
    width: 12px;
    height: auto;
}

/* 상품 슬라이더 */
#sec4 .sec4_cont {
    margin: -20% 0 0 20px;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}

/* 전체보기 화살표 */
#sec4 .sec_title a img {
    width: 8px;
    height: auto;
    margin-left: 4px;
    vertical-align: middle;
}


/* =========================
   SEC5 - 드립백
   제목 및 상품 목록: 좌우 20px
========================= */
#sec5 {
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
}

#sec5 .sec_inner .sec_title {
    padding-left: 0;
    padding-right: 0;
}

#sec5 .sec4_cont.two_type {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}


/* =========================
   SEC6 - 서브 배너
========================= */
#sec6 {
    padding: 0 20px;
}

#sec6 img {
    width: 100%;
}


/* =========================
   SEC7
========================= */
#sec7 {
    padding-left: 20px;
}

#sec7 .sec_inner .sec_title {
    margin-bottom: 30px;
}

#sec7 .item_tab {
    margin-bottom: 12px;
}

#sec7 .item_tab li {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    padding: 12px 18px;
    border: 1px solid #000;
    border-radius: 30px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

#sec7 .item_tab li.on {
    background: #000;
    color: #fff;
}


/* =========================
   SEC8
========================= */
#sec8 {
    padding: 0 20px;
}

#sec8 .title h2 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    letter-spacing: -0.5px;
}

#sec8 .title p {
    padding: 13px 0 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

#sec8 .sec8_cont > div {
    overflow: hidden;
}

#sec8 .sec8_cont .prd1 {
    margin-bottom: 60px;
}


/* =========================
   SEC9
========================= */
#sec9 {
    padding-left: 20px;
}

#sec9 .video img {
    width: 100%;
}

#sec9 .video .tit {
    padding: 15px 0;
    font-size: 16px;
    font-weight: 400;
}

#sec9 .list_box {
    display: flex;
}

#sec9 .list_box .thumb {
    width: 33.5%;
}

#sec9 .list_box .info {
    flex: 1;
    padding-top: 0;
    padding-left: 12px;
}

#sec9 .item_list .info .prdname {
    color: #666;
    font-size: 13px;
    font-weight: 400;
}

#sec9 .item_list .info .prdprice {
    margin-bottom: 12px;
}

#sec9 .item_list .info .prdprice b {
    display: none;
}

#sec9 .item_list .info .prdprice .price {
    font-weight: 600;
}


/* =========================
   MOBILE
========================= */
@media (max-width: 450px) {
    #sec4 .sec4_bg .txt_box {
        top: 10%;
    }

    #sec4 .sec4_bg .txt_box .txt1 {
        font-size: 16px;
    }

    #sec4 .sec4_bg .txt_box .txt2 {
        font-size: 26px;
        line-height: 1.2;
    }

    #sec4 .sec4_bg .txt_box .txt3 {
        padding-top: 10%;
    }
}
/* BASIC css end */

