* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}


body {
    font-family: "微软雅黑";
}

input:focus,
button:focus {
    outline: none;
}

.container {
    width: 100%;
    height: 100vh;
    padding: 10px;
    overflow-x: auto;
}

.notice {
    width: 100%;
    background: white;
    margin-top: 10px;
    padding: 10px;
    font-size: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 10px #eee;
    display: none;
}


.notice .text {
    display: flex;
    align-items: center;
}

.notice img {
    width: 20px;
    margin-right: 10px;
}

.notice .button {
    font-size: 13px;
}

.goodsBox {
    width: 100%;
    margin-top: 10px;
    border-radius: 10px;
    background: white;
    overflow: hidden;
}

.goodsBox .tabs {
    width: 100%;
    display: flex;
    align-items: center;
}

.goodsBox .tabs span {
    width: 30px;
    text-align: center;
}

.goodsBox .tabs ul {
    width: 100%;
    display: flex;
    white-space: nowrap;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs ul::-webkit-scrollbar {
    display: none;
    /* 隐藏滚动条 Chrome、Safari、Opera */
}

.goodsBox .tabs ul li {
    width: calc(100% /3);
    text-align: center;
    cursor: pointer;
    font-size: 15px;
    padding: 3px 10px;
    color: #333;
    position: relative;
}

.goodsBox .tabs ul li p:last-child {
    border-radius: 20px;
    color: #999;
    font-weight: normal;
    font-size: 12px;
    width: 60px;
    margin: 0 auto;
    margin-top: 0px;
    padding: 1px 0;
    line-height: 20px;
}

.goodsBox .tabs ul li::after {
    position: absolute;
    content: "";
    right: 0;
    top: 15%;
    background: #eee;
    height: 70%;
    width: 1px;
}

.goodsBox .tabs ul li:last-child::after {
    width: 0px;
}

.selected1 {
    color: #F7752D !important;
}

.selected2 {
    background: linear-gradient(to right, #e95454, #ff9012);
    color: white !important;
}

.goods{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.goods .content {
    width: 49%;
    display: flex;
    box-shadow: 0px 0px 10px #eee;
    border-radius: 5px;
    overflow: hidden;
    margin: 5px 0;
    flex-direction: column;
}

.goods .content img {
    width: 100%;
}

.goods .content .text {
    display: flex;
    height: 100%;
    font-size: 10px;
    width: 100%;
    padding: 10px 5px;
    flex-direction: column;
    justify-content: space-between;
}

.goods .content .text .title {
    font-size: 15px;
    line-height: 20px;
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 1; */
    /* -webkit-box-orient: vertical; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
    color: #333;
}

.goods .content .text .tab {
    margin: 5px 0;
}

.goods .content .text .tab span {
    border-radius: 5px;
    padding: 1px 5px;
    display: inline-block;
    margin-bottom: 3px;
    margin-right: 3px;
}

.goods .content .text .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    flex-wrap: wrap;
}

.goods .content .text .bottom span:last-child {
    padding: 2px 10px;
    border-radius: 20px;
    background: linear-gradient(to right, #e95454, #ff9012);
    color: white;
    cursor: pointer;
    font-size: 12px;
}

.goods .hint {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #939393;
    margin: 10px 0;
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 透明度为 0.5 的黑色背景 */
    display: none;
    z-index: 99;
    /* 设置灰蒙版的层级，使其低于对话框但高于其他内容 */
}

#dialog {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 70vh;
    background-color: #ffffff;
    padding: 0 10px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 0 10px #0000004d;
    transition: bottom 0.2s ease;
    z-index: 100;
    overflow: auto;
    overflow-y: scroll;
}

#closeDialog {
    width: 20px;
    position: absolute;
    top: 13px;
    right: 15px;
}

.shop-details {
    width: calc(100% - 30px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.shop-details img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    margin-right: 10px;
}

.shop-details .text {
    width: 100%;
    font-size: 12px;
}

.shop-details .text .title {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-details .text .tab {
    margin: 5px 0;
}

.shop-details .text .tab span {
    border-radius: 5px;
    padding: 1px 5px;
    font-weight: lighter;
    display: inline-block;
    margin-bottom: 5px;
}

.shop-details .price-p {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-details .price-p em {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
}

.shop-details .price-p .price {
    font-size: 25px;
    font-weight: bold;
    color: #e4393c;
}

.shop-details .price-p .originalPrice {
    font-size: 12px;
    color: #ababab;
    text-decoration: line-through;
}

.other-guide {
    border-top: 1px solid #ededed;
    margin-bottom: 55px;
}

.other-guide .content {
    padding: 15px 0;
    border-bottom: 1px solid #f3f3f3;
    font-size: 14px;
    color: #868686;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.other-guide .content>span:first-child {
    font-size: 15px;
    color: #4c4c4c;
    width: 120px;
}

.other-guide .content .content-input {
    width: 100%;
    border: 0;
    text-align: right;
    font-size: 14px;
    color: #868686;
}

.other-guide .content button {
    padding: 8px 30px;
    border-radius: 20px;
    background: #f7752d;
    color: white;
    border: 0;
    font-size: 15px;
}

.counter {
    display: flex;
    align-items: center;
}

.counter input[type="button"],
.counter input[type="number"] {
    border: 1px solid #efefef;
    background: white;
    width: 30px;
    height: 25px;
    line-height: 20px;
}

.counter input[type="button"]:focus {
    outline: none;
}

.counter input[type="number"] {
    text-align: center;
    border-left: 0;
    border-right: 0;
}

.totalBox {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px !important;
    background: white;
    box-shadow: 0px -2px 10px #dbdbdb;
}

.dialogNotice {
    padding: 10px;
    color: #444444;
}

.dialogNotice h3 {
    text-align: center;
}

.dialogNotice p {
    text-indent: 2em;
    line-height: 30px;
    font-size: 15px;
}