@charset "utf-8";

/* cart.html */

.tomato-state {
    padding: calc(env(safe-area-inset-top) + 66px) 5% 30px;
}

.tomato-state .state-board div {
    padding: 0;
}

.tomato-state .state-board div h4 {
    font-size: 16px;
    font-family: Pretendard;
    font-weight: bold;
    color: #000;
    margin-top: 0;
    text-align: left;
    margin-bottom: 10px;
}

#orderKind {
    font-size: 14px;
    font-weight: 600;
}

#orderAddr {
    display: block;
    font-size: 14px;
    margin-top: 5px;
}

#cartList {
    margin-top: 20px;
    padding: 25px 15px;
    box-sizing: border-box;
    border: 1px solid #f6f6f6;
    border-radius: 10px;
}

#cartList>ul {
    margin-top: 0;
}

#cartList>ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    vertical-align: middle;
    margin-bottom: 25px;
}

#cartList>ul li:last-child {
    margin-bottom: 20px;
}

#cartList>ul .img-box {
    width: 48px;
    height: 48px;
    border-radius: 5px;
}

#cartList>ul li .info-box {
    width: calc(100% - 60px);
    margin-top: 0;
}

#cartList>ul li .info-box .menu-name {
    color: #000;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

#cartList>ul li .info-box .info-box-foot {
    margin-bottom: 5px;
    margin-top: 10px;
}

#cartList>ul li .info-box .info-box-foot span {
    margin-bottom: 5px;
}

#cartList>ul li .info-box .info-box-foot .info-box-left .goal-per {
    font-size: 12px;
    color: #767676;
    margin-top: 0;
    margin-right: 0;
    line-height: 130%;
}

#cartList>ul li .info-box .info-box-foot .info-box-left .goal-per span {
    color: #767676;
    margin-right: 0;
    font-family: Pretendard-Regular;
    line-height: 130%;
}

#cartList>ul li .info-box .info-box-foot .period {
    font-size: 12px;
    color: #767676;
    margin-top: 0;
    line-height: 130%;
}

#cartList>ul li .info-box .info-box-foot .info-box-left .sub-menu-cart {
    margin: 0;
    padding: 0;
    line-height: 14px;
}

#cartList>ul li .info-box .info-box-foot .info-box-left .sub-menu-cart span {
    font-size: 12px;
    color: #767676;
    margin-right: 0;
    font-family: Pretendard-Regular;
    line-height: 14px;
}

#cartList>ul li .info-box .menu_total_tit {
    font-size: 14px;
    line-height: 14px;
    color: #000;
    font-family: Pretendard-Regular;
}

#cartList>ul li .info-box #menu_total_price_0 {
    font-size: 14px;
    line-height: 14px;
    color: #000;
    font-family: Pretendard-Regular;
}


.chall-add-wrap .input-wrap>div {
    margin-top: 0;
}

.chall-add-wrap .input-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.chall-add-wrap .input-wrap .half {
    display: flex;
    justify-content: space-between;
    border: 1px solid #d9d9d9;
    padding: 6px;
    box-sizing: border-box;
    width: 72px;
    border-radius: 50px;
    text-align: center;
}

.chall-add-wrap .input-wrap .half:last-child {
    margin-left: 10px;
}

.chall-add-wrap .input-wrap .half>span {
    width: 100%;
}

.chall-add-wrap .input-wrap .half .opt-btn {
    font-size: 12px;
    font-weight: 400;
    color: #767676;
}

.chall-add-wrap .input-wrap .half>span.num-vary button {
    position: relative;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    border-radius: 30px;
}

.chall-add-wrap .input-wrap .half>span.num-vary button.btn-minus,
.chall-add-wrap .input-wrap .half>span.num-vary button.btn-plus {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.chall-add-wrap .input-wrap .half>span.num-vary input {
    display: inline-block;
    flex: 1;
    height: 14px;
    line-height: 14px;
    font-size: 14px;
    font-family: Pretendard-Regular;
    color: #767676;
    margin-top: 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-left: none;
    border-right: none;
    text-align: center;
    box-sizing: border-box;
    vertical-align: top;
    border-radius: 0;
    padding: 0;
    border: none;
}

.chall-add-wrap .input-wrap .half>span.num-vary button:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 1px;
    background-color: #d9d9d9;
}

.chall-add-wrap .input-wrap .half>span.num-vary button.btn-plus:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 6px;
    background-color: #d9d9d9;
}


#cartList .btn-base-box {
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
}

#cartList div .btn-type1 {
    font-size: 14px;
    font-family: Pretendard-SemiBold;
    color: #767676;
    margin-top: 0;
    background-color: #fff;
    padding: 5px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cartList div .btn-type1 img {
    width: 10px;
    height: 10px;
    object-fit: contain;
    margin-right: 8px;
}

.icon-del {
    position: absolute;
    right: 15px;
    width: 20px;
    height: 20px;
    background: url(../images/ic_close.png) no-repeat;
    background-size: 100% 100%;
    background-position: -0px -0px;
    text-indent: -9999px;
}

#mainState {
    margin-top: 20px;
}

#mainState h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

#mainState .base-list.search-list-place {
    margin-top: 0px;
    padding: 0;
}

#mainState .base-list ul li {
    position: relative;
    padding: 0;
    border-bottom: none;
}

#mainState .base-list ul li span.base-list-title {
    font-size: 14px;
    font-weight: normal;
    color: #000;
    margin-top: 0;
    padding-left: 15px;
}

.base-list ul li span.base-list-sub {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    margin-top: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 4px;
}

.fw-bold {
    font-weight: 600;
}

#mainState #deliBase {
    margin-bottom: 10px;
}

#mainState .wrap-total {
    margin-bottom: 90px;
    border-top: 1px solid #d9d9d9;
}

#mainState .wrap-total li {
    margin-top: 15px;
}


#mainState .wrap-total .base-list ul li span.base-list-title {
    padding-left: 0px;
}

#mainState .wrap-total .base-list ul li span.base-list-sub {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-top: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0;
}

#mainState .wrap-total .base-list ul li #totalPrice {
    color: #d9281b;
    font-size: 18px;
    font-weight: 600;
}

/* 하단 버튼 */
.btn-box {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 800px;
    padding: 6px 20px;
    background-color: #fff;
    box-shadow: none;
}

.btn-box .btn-base {
    font-size: 16px;
    font-family: Pretendard-SemiBold;
    color: #fff;
    margin-top: 0;
    width: 100%;
    background-color: #452812;
    padding: 0;
    border-radius: 6px;
    border: 1px solid #452812;
    height: 50px;
}

.btn-box .btn-base span {
    margin-right: 6px;
}

/* 240805 */
#cartList {
    margin-top: 20px;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #f6f6f6;
    border-radius: 10px;
}

/* 여백있는 사진의 경우 */
#cartList>ul .img-box {
    width: 56px;
    height: 56px;
    border-radius: 5px;
}

.tomato-list>ul li .img-box img {
    object-fit: contain;
}

#cartList>ul li .info-box .menu_total_tit {
    padding-right: 4px;
}

#cartList>ul li .info-box .menuPrice-st{
    font-size: 14px;
    line-height: 14px;
    color: #000;
    font-family: Pretendard-Regular;
}

#mainState .wrap{
    padding-bottom: 10px;
}

/* 240820 */

.btn-box .btn-base {
    font-size: 16px;
    font-family: Pretendard-SemiBold;
    font-weight: 500;
    border: none;
    height: 44px;
    line-height: 44px;
}