﻿/*================点单=========================*/
html, body {
    background: white;
    padding: 0;
    margin: 0;
    font-size: 12px;
    height: 100%;
}

/*主体内容*/
.oct-content {
    display: flex;
    background: white;
    padding: 0;
    margin: 0;
    padding-top: 42px;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.goods-type-left {
    width: 120px;
    background: #F7F7F9;
    font-size: 14px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 120px;
}

.goods-type-item {
    padding: 10px;
    border-bottom: 1px solid #CCCCCC;
}

.goods-type-item-current {
    background: white;
    font-weight: bold;
}
/*右侧*/
.goods-type-right {
    background: white;
    font-size: 14px;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 140px;
}
/*结算条*/
.oct-settle-bar {
    position: fixed;
    left: 0;
    bottom: 60px;
    background: #FFFCF7;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.settle-scart-icon {
    padding-top: 2px;
    position: relative;
    margin-left: 15px;
}

.settle-bage {
    position: absolute;
    top: 2px;
    right: 0px;
    background: red;
    color: white;
    padding: 5px;
    border-radius: 100px;
    width: 20px;
    height: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settle-scart-icon img {
    width: 50px;
    height: 50px;
}

.settle-bar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
}

.settle-bar-price {
    font-weight: bold;
    font-size: 16px;
}

    .settle-bar-price b {
        color: red;
    }

.settle-bar-btn {
    background: red;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 30px;
    margin-left: 10px;
}

/*商品Item*/
.goods-item {
    display: flex;
    justify-content: flex-start;
    padding: 5px;
    border-bottom: 1px solid #F0F0F0;
}

.goods-img img {
    width: 87px;
    height: 85px;
    border-radius: 10px;
}

.add-goods-btn img {
    width: 30px;
    height: 30px;
}

.goods-detail {
    padding-left: 5px;
    font-size: 14px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.goods-detail-titile {
    height: 45px;
}

.goods-price {
    font-size: 12px;
    margin-top: -2px;
}

    .goods-price b {
        font-weight: bold;
        color: #FA4C27;
        font-size: 16px;
    }

.goods-price-old {
    font-size: 10px;
    color: gray;
}

.add-goods-btn {
    position: absolute;
    bottom: 0;
    right: 5px;
}

    .add-goods-btn img {
        width: 33px;
        height: 33px;
    }

/*第二级分类*/
.goods-sec-type {
    padding: 6px;
    background: #FCFCFC;
    font-size: 13px;
    font-weight: bold;
    padding-left: 8px;
}
/*页脚*/
.oct-footer {
    padding-top: 8px;
    border-top: 1px solid #E8E8E8;
}






/*定义选择规格窗口显示代码*/
.win-sel-spec-content {
    padding: 10px;
    margin: 0;
    position: relative;
}

.win-sel-spec-top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100px;
}

.win-sel-spec-content .win-spec-top-left img {
    width: 100px;
    height: 100px;
    border: 1px solid #D7D7D7;
    padding: 2px;
    border-radius: 5px;
}

.win-sel-spec-content .win-spec-top-left {
    padding-right: 10px;
}

.win-spec-top-right {
    width: 98%;
    font-size: 14px;
    height: 140px;
    padding-top: 48px;
    overflow: hidden;
    font-size: 12px;
}

.win-spec-price-div {
    font-weight: bold;
    color: #FC5109;
    font-size: 20px;
}

.am-close {
    position: absolute;
    top: 5px;
    right: 4px;
    font-size: 25px;
    font-weight: normal;
}

.win-sel-spec-mid .win-spec-type {
    padding: 10px 0;
}

.win-spec-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin: 0;
}

.win-prop-item {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin: 0;
}

.win-spec-list span {
    display: block;
    background: #EDEDED;
    border: 1px solid white;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    margin: 5px;
    margin-top: 0;
    margin-left: 0;
}

    .win-spec-list span:hover, .win-spec-list .current-sel-specprop {
        background: #FFF2EA;
        border: 1px solid #FC5109;
        color: #FC5109;
    }

/*规格价格区域滚动*/
#WinSelSpecMidDiv {
    height: 380px;
    overflow-x: hidden;
    overflow-y: auto;
    margin-bottom: 0;
}



/*数量*/
.win-order-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    text-align: left;
    padding-left: 0;
}

.win-txt-number {
    border: 1px solid #D7D7D7;
    padding: 0px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
}

.input-order-number {
    width: 50px;
    border: none;
    padding: 2px;
    text-align: center;
    color: #FC5109;
}

.btn-add, .btn-reduce {
    border: none;
    background: none;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 15px;
}

.btn-add {
    border-left: 1px solid #D7D7D7;
}

.btn-reduce {
    border-right: 1px solid #D7D7D7;
}
/*加入购物车，立即购买*/
.win-btn-list {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.win-btn-scart {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: white;
    background: #FD3F0F;
    padding: 7px 0;
    cursor: pointer;
}

/*购物车商品列表窗口*/
.scart-goods-list {
    padding: 8px;
    height: 550px;
    overflow-x: hidden;
    overflow-y: auto;
}

.scart-goods-img {
    padding-right: 10px;
    width: 100px;
}

    .scart-goods-img img {
        width: 95px;
        height: 90px;
        border-radius: 10px;
    }

/*商品Item*/
.scart-goods-item {
    display: flex;
    align-items: center;
    padding-bottom: 5px;
    padding-top: 5px;
    border-bottom: 1px solid #F7F7F9;
    position: relative;
}

.scart-goods-title {
    font-size: 14px;
}

.scart-goods-price {
    font-weight: bold;
    font-size: 16px;
    color: #FB4C27;
}

.scart-goods-num {
    font-size: 12px;
    color: gray;
}

.del-goods-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

    .del-goods-btn img {
        width: 40px;
        height: 40px;
    }

/*就餐人数窗口*/
.people-num-main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.people-num-txt {
    border: 1px solid #f2f2f2;
    width: 100px;
    height: 40px;
    font-weight: bold;
    color: red;
    text-align: center;
    font-size: 16px;
    background: white;
}

.people-num-reduce, .people-num-add {
    font-size: 20px;
    font-weight: bold;
    background: #FA4C27;
    color: white;
    width: 60px;
    height: 40px;
    text-align: center;
    display:flex;
    align-items:center;
    justify-content:center;
}
