@charset "utf-8";

body{
    font-family: "Pretendard";
}

.alert.on::before {
    position: absolute;
    content: '';
    top: 13px;
    left: 23px;
    background: #bf0000;
    border-radius: 20px;
    height: 8px;
    width: 8px;
}
.header {
    position: fixed;
    width: 100%;
    max-width: 800px;
    height: calc(env(safe-area-inset-top) + 50px);
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    text-align: center;
    box-shadow: none;
    background-color: #fff;
    z-index: 20;
}
.header h2 {
    font-size: 14px;
    font-family: Pretendard-Semibold;
    color: #111;
    margin-top: 0;
    height: 50px;
    padding-top: 0;
    line-height: 46px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header img{
    display: inline-block;
    margin-left: 8px;
}

.iconImg {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(../images/ic_bell.png) no-repeat;
    background-size: 20px 20px;
    text-indent: -9999px;
    top: calc(env(safe-area-inset-top) + 14px);
    left: 30px;
    cursor: pointer;
}

.btn-search3 {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(../images/ic_my.png) no-repeat;
    background-size: 20px 20px;
    text-indent: -9999px;
    top: calc(env(safe-area-inset-top) + 14px);
    right: 30px;
    cursor: pointer;
}

.main-banner ul .slick-slide {
    margin: 0 30px;
}

.main-banner ul li img {
    display: block;
    width: 100%;
    height: 111vw;
    max-height: 520px;
    border-radius: 12px;
    object-fit: cover;
}

/* big-banner */
.big-banner{
    padding: calc(env(safe-area-inset-top) + 56px) 0 0;
}
.big-banner>div{
    margin: 0 30px;
    border-radius: 5px;
}
.big-banner img{
    width: 100%;
}

.big-banner .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #d9d9d9;
    opacity: 1;
  }
.big-banner .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #D9281B;
  }


#refresh #userBtn{display: flex;}
#refresh .left{
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}
#refresh .left img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#refresh .right{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 44px;
}

#refresh #userId{color: #767676;font-size: 12px;}


div .btn-base2 {
    font-size: 14px;
    font-family: Pretendard-SemiBold;
    color: #fff;
    margin-top: 20px;
    width: 100%;
    background-color: #D9281B;
    height: 40px;
    padding: 0;
    line-height: 40px;
    border-radius: 6px;
    border: none;
}

.navImg-point {
    background: url(../images/ic_mn01.png) no-repeat;
    background-size: contain;
}

.navImg-coupon {
    background: url(../images/ic_mn02.png) no-repeat;
    background-size: contain;
}

.navImg-order {
    background: url(../images/ic_mn03.png) no-repeat;
    background-size: contain;
}

.navImg-cart {
    background: url(../images/ic_mn04.png) no-repeat;
    background-size: contain;
}

.menu-label a span {
    font-size: 14px;
    font-family: Pretendard;
    color: #452812;
    line-height: 160%;
}

/* 오늘의 쿠폰 */
.todayCoupon h2 {
    padding: 0 30px;
    font-size: 18px;
    font-family: Pretendard-Bold;
    color: #111;
    margin-top: 20px;
    margin-bottom: 20px;
}

.todayCoupon h2 span{
    color: #D9281B;
}
.coupon-bg{
    background: url(../images/coupon-bg.png) center center no-repeat;
    background-size: contain;
    width:300px;
    height: 150px;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
}

.todayCoupon li{
    margin: 0;
    padding: 0;
}

.couponInfo{
    padding: 0 20px;
    width: 100%;
    height: auto;

}
.couponInfo h3{
    font-size: 16px;
    font-weight: 600;
    padding: 25px 0 35px;
}
.couponInfo p{
    color: #767676;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
}
.coupon-bg a{
    position: absolute;
    writing-mode: vertical-lr;
    top: 50%;
    transform: translateY(-50%);
    right: 18px;
    color: #000;
    font-weight: 600;
    word-break: keep-all;
}

/* 메뉴 */
.menu_bg{
    background-color: #F6F6F6;
    margin-top: 30px;
    padding: 20px;
    box-sizing: border-box;
}

.main-tomato{
    background-color: #fff;
    border-radius: 15px;
    padding: 20px 0 20px 20px;
    box-shadow: 2px 2px 4px #e9e9e9;
}
.main-tomato h2 {
    padding: 0;
    font-size: 18px;
    font-family: Pretendard-Bold;
    color: #111;
    margin-top: 0;
    margin-bottom: 10px;
}
.main-tomato >.slick-slider > .slick-list > .slick-track > .slick-slide.slick-cloned {
    min-height: 220px;
}

/* 신메뉴, 인기메뉴 swiper */

.menuSwiper{
    overflow: hidden;
    margin: 0 auto;
}
.main-tomato ul{
    padding: 0;
}
.main-tomato li{
    width: 210px;
    height: 230px;
    border-radius: 5px;
    margin: 0;
    padding: 20px 10px 10px;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    background-color: #fff;
}

.main-tomato ul li img {
    width: 100px;
    height: 100px;
    max-height: 300px;
    border-radius: 6px;
    object-fit: contain;
    margin: 0 auto;
}

.main-tomato ul li div h3 {
    font-size: 16px;
    font-family: Pretendard-SemiBold;
    color: #333;
    margin-top: 14px;
    text-align: center;
}

.main-tomato ul li div p {
    font-size: 13px;
    font-family: "Pretendard";
    font-weight: 400;
    color: #767676;
    margin: 6px 0;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 120%;
}
.main-tomato ul li .price{
    color: #D9281B;
}

div .btn-base3 {
    font-size: 14px;
    font-family: Pretendard-SemiBold;
    color: #fff;
    margin: 20px 0 30px;
    width: 100%;
    background-color: #D9281B;
    height: 40px;
    padding: 0;
    line-height: 40px;
    border-radius: 6px;
    border: none;
}

/* 배달 픽업 예약 탭 */

.content{
    margin: 0;
    border-radius: 15px;
    box-shadow: 2px 2px 4px #e9e9e9;
}
.tabs {
    margin: 0;
    background-image: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    border-radius: 5px 5px 0px 0px;
    font-family: "Pretendard";
}

.tablinks {
    background: transparent;
    background-image: none;
    border: none;
    outline: none;
    cursor: pointer;
    width: 50%;
    height: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-family: "Pretendard";
    overflow: hidden;
    /*     transition: 0.3s ease; */
    transition: 0s;
    border-radius: 5px 5px 0px 0px;
    background-color: #D9D9D9;
}

.tablinks:before {
    background-image: none;
    background-color: #452812;
    content: "";
    width: 100%;
    height: 0px;
    position: absolute;
    top: 0;
    left: 0;
    /*     transition: 0.3s ease-in-out; */
    transition: 0s;
    z-index: 2;
}

.tablinks.active {
    background-color: white;
    z-index: 0;
    border-right: 0px;
    border-left: 0px;
    height: 30px;
    bottom: 0px;
    overflow: hidden;
}

.tablinks p {
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    /*     transition: 0.5s ease; */
    transition: 0s;
    padding: 0;
    margin: 0;
    color: #fff;
    backface-visibility: hidden;
    font-weight: 400;
    margin-top: 4px;
}

.tablinks.active p,
.tablinks.active:hover p {
    opacity: 1;
    background: #452812;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.wrapper_tabcontent{
    background-color: #fff;
    border-radius: 0 0 15px 15px;
}
.tabcontent ul{
    padding-top: 20px;
}
.tabcontent ul li{
    display: flex;
    font-family: "Pretendard"
}
.tabcontent ul li img{
    box-shadow: 2px 2px 4px #e9e9e9;
    border-radius: 5px;
    width: 80px;
    height: 80px;
}
.tabcontent ul li .left{
    margin: 20px 4% 0 15px;
}
.tabcontent ul li .right{
    margin-top: 20px;
    text-align: left;
    width: 100%;
    overflow: hidden;
}
.tabcontent ul li h4{
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 6px 0 4px;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tabcontent p {
    color: #000;
    margin: 0;
    padding: 0;
    line-height: 28px;
    font-weight: 100;
    transition: 0s;
    animation: 0s;
    width: 90%;
    font-size: 16px;
    font-family: "Pretendard";
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tabcontent ul li .address{
    font-size: 12px;
    font-weight: 600;
    color: #000;
    margin: 0;
    padding: 0;
    line-height: 120%;
}
.tabcontent ul li .distance{
    color: #D9281B;
    font-weight: 600;
    font-size: 12px;
    margin: 2px 0;
    padding: 0;
    line-height: 120%;
}
.tabcontent ul li .hour{
    font-size: 10px;
    font-weight: 600;
    color: #767676;
    margin: 0;
    padding: 0;
    line-height: 120%;
}

.line{
    display: block;
    width: calc(100% - 40px);
    height: 1px;
    background-color: #d9d9d9;
    margin: 20px auto 0;
}
#btn_more {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    width: 100px;
    color: #767676;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Pretendard";
}
#btn_more img{
    width: auto;
    height: 14px;
    display: inline-block;
}

.btn_cart{
    position: fixed;
    width:50px;
    height: 50px;
    bottom: 20px;
    right: 15px;
    z-index: 10;
    opacity: 0.9;
}
.btn_cart img{
    width:100%;
    height:100%;
    object-fit: contain;
}
.btn_cart span{
    width: 15px;
    height: 15px;
    background-color: #D9281B;
    display: inline-block;
    border-radius: 30px;
    text-align: center;
    color: #fff;
    font-size: 10px;
    position: absolute;
    right: 0;
    line-height: 15px;
    font-weight: 500;

}

footer {
    background-color: #d9d9d9;
    border-top: none;
    font-family: "Pretendard";
}
footer .inner {
    padding: 20px 0 15px;
}
footer .info {
    margin-top: 10px;
    text-align: left;
    padding-left: 30px;
}
footer .btn-group {
    margin: 20px 0 0 30px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

footer .btn-group .btn {
    font-size: 12px;
    margin-top: 10px;
    margin-right: 10px;
    border: 1px solid;
    padding: 5px;
    color: #767676;
}


@media screen and (max-width: 512px) {
    .content {
        margin: 0 0 20px;
    }

    .tabs {
        height: 30px;
    }

    .tablinks.active {
        height: 30px;
    }

    .tablinks:hover p {
        color: #fff;
        opacity: 1;
    }

}