/* BASIC css start */
body .r_quick_menu {
    bottom: -14%;
}

body .r_quick_menu.scroll {
    bottom: 10%;
}


/* ========================================
   메인 배너
======================================== */

#mainSpot {
    position: relative;
    margin-bottom: 100px;

    /* 큰 화면에서 슬라이드가 바깥으로 나가도
       가로 스크롤이 생기지 않도록 */
    overflow: hidden;
}


/*
 * Swiper 자체는 기본적으로 전체 너비 사용
 */
#mainSpot .swiper {
    width: 100%;
    margin: 0 auto;

    /*
     * 슬라이드 양옆이 보일 수 있도록 허용
     * 바깥 영역은 #mainSpot에서 잘라줌
     */
    overflow: visible !important;
}


/*
 * 중요
 *
 * li(.swiper-slide)의 width는 CSS에서 지정하지 않음.
 * slidesPerView 기준으로 Swiper가 직접 계산하게 둠.
 *
 * 여기 width를 !important로 지정하면
 * Swiper 계산값과 실제 크기가 달라져
 * 오른쪽 공백 현상이 발생할 수 있음.
 */


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


#mainSpot .swiper > ul > li > a > img {
    display: block;

    width: 100%;
    height: auto;
}


/* ========================================
   페이지 번호 + 재생/정지
======================================== */

#mainSpot .swiper .btn_wrap {
    position: absolute;
    z-index: 4;

    bottom: 21px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;

    width: 86px;
}


#mainSpot .swiper .btn_wrap .swiper-pagination {
    position: static;

    width: 82px;
    height: 36px;

    margin-right: 10px;

    color: #fff;
    font-size: 0;

    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
}


#mainSpot .swiper-pagination .swiper-pagination-total,
#mainSpot .swiper-pagination::before {
    position: absolute;

    right: 20px;
    top: 50%;

    transform: translateY(-50%);

    opacity: 0.5;

    font-size: 14px;
}


#mainSpot .swiper-pagination .swiper-pagination-current {
    position: absolute;

    top: 50%;
    left: 20px;

    transform: translateY(-50%);

    opacity: 1;

    font-size: 14px;
}


#mainSpot .swiper-pagination .swiper-pagination-current::after {
    content: '/';

    margin: 0 7px;

    opacity: 0.5;

    font-size: 14px;
}


/* ========================================
   재생 / 정지 버튼
======================================== */

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


#mainSpot .swiper .btn_wrap .control {
    position: absolute;

    left: 0;
    top: 0;

    display: none;
}


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


#mainSpot .swiper .btn_wrap .control a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    cursor: pointer;

    transition: all 0.1s;

    border-radius: 50%;

    background-color: rgba(0, 0, 0, 0.5);
}


#mainSpot .swiper .btn_wrap .control a img {
    width: 10px;
}


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


/* ========================================
   배너 텍스트 애니메이션
======================================== */

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


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


#mainSpot .swiper ul li .txt_area {
    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;
    max-width: 95%;

    padding-left: 6%;

    overflow: visible;

    transform: translateY(-50%);
}


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


#mainSpot .swiper ul li .txt_area p {
    opacity: 0;

    line-height: 1.3;
}


#mainSpot .swiper ul li .txt_area p.big {
    margin-bottom: 8px;

    transition: all 0.6s;
    transition-delay: 0.1s;
}


#mainSpot .swiper ul li .txt_area p.sub {
    margin-bottom: 17px;

    font-weight: 500;

    transition: all 0.6s;
    transition-delay: 0.37s;
}


#mainSpot .swiper ul li .txt_area a.more {
    opacity: 0;

    transition-delay: 0.6s;
}


/* ========================================
   메인 배너 좌우 버튼
======================================== */

#mainSpot .swiper-button-next {
    right: 15.6% !important;

    opacity: 0.8;
}


#mainSpot .swiper-button-prev {
    left: 15.6% !important;

    opacity: 0.8;
}


/* ========================================
   1920px 초과 대형 모니터
======================================== */

/*
 * 현재 설정
 *
 * slidesPerView : 1.4755
 * 배너 비율     : 약 2.56 : 1
 *
 * 배너 한 장의 높이가 약 50vh를 넘지 않도록
 * "슬라이드 자체"가 아니라
 * Swiper 전체 영역의 최대 너비를 제한함.
 *
 * 따라서 Swiper가 계산한 slide width와
 * 실제 CSS width가 어긋나지 않아
 * 오른쪽 공백 문제가 발생하지 않음.
 */

@media screen and (min-width: 1921px) {

    #mainSpot .swiper {
        /*
         * 50vh × 배너비율(2.56) × slidesPerView(1.4755)
         *
         * 약 188.9vh
         *
         * spaceBetween 30px 계산 여유까지 포함하여
         * 약 15px 추가
         */
        width: min(100%, calc(188.9vh + 15px));

        margin-left: auto;
        margin-right: auto;

        overflow: visible !important;
    }


    #mainSpot .swiper > ul > li > a {
        display: block;

        width: 100%;
        height: auto;
    }


    #mainSpot .swiper > ul > li > a > img {
        display: block;

        width: 100%;
        height: auto;

        /*
         * max-height를 직접 걸지 않음.
         * 직접 걸면 가로/세로 비율 또는
         * 슬라이드 영역과 이미지 크기가 어긋날 수 있음.
         */
        max-height: none;

        object-fit: initial;
    }

}


/* ========================================
   아이콘 영역
======================================== */

.ico_wrap {
    overflow: visible;
}


.ico_wrap ul {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 30px;
}


.ico_wrap ul li {
    max-width: 110px;
}


.ico_wrap ul li a {
    display: inline-block;
}


.ico_wrap ul li.ico_on {
    position: relative;
}


.ico_wrap ul li.ico_on:after {
    content: '';

    display: inline-block;

    width: 50px;
    height: 30px;

    position: absolute;

    left: 50%;
    top: -10px;

    margin-left: -25px;

    background:
        url(//skin.makeshop.co.kr/skin/potato/img/new_icon.png)
        no-repeat center;

    background-size: cover;

    animation:
        up-down
        1.4s
        infinite
        ease-in-out
        alternate;
}


.ico_wrap ul li a img {
    width: 100%;
}


.ico_wrap ul li a p {
    margin-top: 10px;

    font-size: 15px;
    font-weight: 400;

    text-align: center;

    line-height: 1.25;
}


@keyframes up-down {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-8px);
    }

}


/* ========================================
   오늘의 커피
======================================== */



/* ========================================
   베스트 커피
======================================== */

.cont_inner {
    display: flex;

    align-items: flex-start;

    gap: 56px;

    padding: 60px 40px;

    background: #DDE7D3;

    border-radius: 25px;
}


.cont_inner .left_tit {
    width: 254px;

    padding: 23px 0 0 0;
}


.cont_inner .left_tit h2 {
    margin-bottom: 60px;

    font-size: 24px;
    font-weight: 200;
}


.cont_inner .left_tit h2 b {
    display: block;

    font-size: 40px;
    font-weight: 300;

    line-height: 1.2;
}


.cont_inner .left_tit p {
    margin-bottom: 100px;

    font-size: 20px;
    font-weight: 100;
}


.cont_inner .left_tit img {
    width: 254px;
}


#newsale_swiper {
    position: relative;

    width: calc(100% - 310px);
}


#newsale_swiper .swiper-button-prev {
    top: 140px;
    left: -14px;

    margin-top: 0;

    opacity: 0.8;
}


#newsale_swiper .swiper-button-next {
    top: 140px;
    right: -14px;

    margin-top: 0;

    opacity: 0.8;
}


#newsale_swiper .swiper-button-next.swiper-button-disabled,
#newsale_swiper .swiper-button-prev.swiper-button-disabled {
    opacity: 0 !important;
}


/* ========================================
   맛있는 장보기
======================================== */



/* ========================================
   서브 배너
======================================== */

.sub_bnr_wrap {
    position: relative;
}


.sub_bnr_wrap a {
    display: block;
}


.sub_bnr_wrap a img {
    width: 100%;
}


/* ========================================
   베스트 - 탭 롤링
======================================== */

#tab_swiper {
    margin-bottom: 20px;
}


#tab_swiper .swiper-slide {
    width: auto !important;
}


#tab_swiper .swiper-slide.swiper-slide-thumb-active a {
    color: #fff;

    background: #000;

    font-weight: 600;
}


#tab_swiper .swiper-slide a {
    display: inline-block;

    padding: 12px 18px;

    color: #000;

    font-size: 16px;
    font-weight: 400;

    white-space: pre;

    border: 1px solid #000;

    border-radius: 30px;
}


#tab_swiper .swiper-slide a:hover {
    color: #fff;

    background: var(--point-color2);

    font-weight: 800;
}


/* ========================================
   더 달콤 스테비아 토마토
======================================== */



/* ========================================
   친환경 국내산 방울양배추
======================================== */



/* ========================================
   Shot! 타임
======================================== */

#shot_swiper {
    position: relative;
}


#shot_swiper .swiper-button-prev {
    top: 155px;
    left: -14px;

    margin-top: revert-layer;

    opacity: 0.8;
}


#shot_swiper .swiper-button-next {
    top: 155px;
    right: -14px;

    margin-top: 0;

    opacity: 0.8;
}


#shot_swiper .swiper-button-next.swiper-button-disabled,
#shot_swiper .swiper-button-prev.swiper-button-disabled {
    opacity: 0 !important;
}


#shot_swiper .bnr a {
    display: inline-block;
}


#shot_swiper .bnr a img {
    width: 100%;
}


#shot_swiper .bnr .prd-name {
    margin: 15px 0;
}


#shot_swiper .bnr .prd-name a {
    font-size: 16px;
    font-weight: 600;
}


#shot_swiper dl {
    display: flex;

    align-items: center;

    gap: 12px;
}


#shot_swiper dl dt {
    width: 80px;

    flex-shrink: 0;
}


#shot_swiper dl dt .prd-wish {
    display: none;
}


#shot_swiper dl dd {
    padding: 0;
}


#shot_swiper dl dd .prd-subname a {
    color: #666;

    font-size: 13px;
    font-weight: 400;
}


#shot_swiper dl dd .prd-price .dc_per {
    font-size: 14px;
    font-weight: 600;
}


#shot_swiper dl dd .prd-price .normal {
    font-size: 14px;
    font-weight: 600;
}


#shot_swiper dl dd .prd-price .consumer {
    display: none;
}


#shot_swiper dl dd .prd-review {
    display: none;
}
/* BASIC css end */

