/* header start */
.header {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9;
    height: 44px;
    background-color: #0EB6FF;
}

.header .position {
    padding: 0 16px 0 15px;
}

.header .position .icon-weizhi {
    color: #fff;
    font-size: 17px;
}

.header .search {
    flex: 1;
    position: relative;
}

.header .search .input-search {
    border: none;
    padding-left: 35px;
    width: 100%;
    height: 30px;
    border-radius: 15px;
    font-size: 14px;
}

.header .search .input-search::placeholder {
    color: #9D9E9D;
    font-size: 14px;
}

.header .search .icon-fangdajing {
    position: absolute;
    left: 12px;
    top: 9px;
    font-size: 13px;
    color: #9D9E9D;
}

.header .chat {
    padding: 0 11px 0 12px;
}

.header .chat .icon-xinxi {
    color: #fff;
    font-size: 21px;
}

/* end header */

/* main start */
/* menu start */
.menu {
    padding: 16px 8px 1px;
}

.menu ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 18px;
}

.menu ul li .bl1-1 {
    position: relative;
    padding-top: 100%;
    border-radius: 50%;

}

.bg1 {
    background-color: #BEE570;
}

.bg2 {
    background-color: #F8CEB4;
}

.bg3 {
    background-color: #B4DDFF;
}

.bg4 {
    background-color: #9DBAE1;
}

.bg5 {
    background-color: #FFE38F;
}

.bg6 {
    background-color: #7AD9E8;
}

.bg7 {
    background-color: #C2C1FD;
}

.bg8 {
    background-color: #FECD9A;
}

.bg9 {
    background-color: #98E8C1;
}

.bg10 {
    background-color: #84D1E8;
}

.menu ul li .bl1-1 .iconfont {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 38px;
}

.menu ul li .title {
    margin: 10px 0 16px;
    text-align: center;
    color: #101010;
}

@media screen and (max-width:355px) {
    .menu ul li .bl1-1 .iconfont {
        font-size: 34px;
    }

    .menu ul li .title {
        transform: scale(0.9);
        white-space: nowrap;
    }

    .menu ul {
        column-gap: 8px;
    }
}


/* end menu */

/* cheap start */
.cheap {
    background-color: #fff;
    border-radius: 5px;
    padding: 15px 10px 12px;
}

.cheap .cheap-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cheap .cheap-title .text {
    font-size: 14px;
    font-weight: bold;
}

.cheap .cheap-title .more {
    padding-right: 18px;
    color: #101010;
    /* 箭头太小，不能用字体图标设置大小，只能用图片 */
    background: url(../images/arrow-right.png) 29px center/5px no-repeat;
}

.cheap .cheap-content {
    padding-top: 13px;
    overflow: hidden;
}

.cheap .cheap-content ul {
    width: calc(100% + 25px);
    display: flex;
}

.cheap .cheap-content ul li {
    /* 不能自由伸缩，要设置宽度，否则内容宽超出后不会隐藏 */
    /* flex: 1; */
    width: 33.333%;
    padding-right: 25px;
}

.bl94-81 {
    position: relative;
    padding-top: calc(81 / 94 * 100%);
}

.bl94-81 img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cheap-content .item-content .title {
    margin: 10px 0 7px;
}

.cheap-content .item-content .txt {
    color: #101010;
}

.cheap-content .item-content .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cheap-content .item-content .price span {
    font-family: Arial;
    font-size: 14px;
    color: #CE5F41;
}

.cheap-content .item-content .price i {
    font-style: normal;
    font-size: 12px;
}

.cheap-content .item-content .cart {
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background-color: #0EB6FF;
    border-radius: 50%;
}

.cheap-content .item-content .cart .iconfont {
    font-size: 12px;
    color: #fff;
}

/* end cheap */

/* recommend-product start */
.recommend-product {
    margin-top: 10px;
    display: flex;
    column-gap: 9px;
}

.recommend-product .product-item {
    flex: 1;
    min-width: 0;
    padding: 15px 0 12px;
    background-color: #fff;
    border-radius: 5px;
}

.product-item .title {
    margin-left: 13px;
    font-weight: bold;
    font-size: 14px;
}

.product-item .desc {
    margin: 10px 12px 7px;
    color: #9D9E9D;
    /* line-height: 1.5; */
}

.product-item ul {
    display: flex;
    column-gap: 21px;
    margin: 0 15px;
}

.product-item ul li {
    flex: 1;
}

.product-item ul li .bl1-1 {
    position: relative;
    padding-top: 100%;
}

.product-item ul li .bl1-1 img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* end recommend-product */

/* product-category start */
.product-category {
    padding-bottom: 90px;
}

/* tab-header start */
.product-category .tab-header {
    position: sticky;
    top: 44px;
    z-index: 9;
    padding: 23px 0 12px;
    background-color: #F5F5F5;
}

.product-category .tab-header .swiper-wrapper {
    justify-content: space-between;
}

.product-category .tab-header .swiper-slide {
    width: auto;

}

.product-category .tab-header .swiper-slide p {
    margin-bottom: 10px;
    font-size: 16px;
    text-align: center;
}

.product-category .tab-header .swiper-slide span {
    display: block;
    width: 63px;
    height: 17px;
    line-height: 17px;
    text-align: center;
    border-radius: 9px;
    color: #9D9E9D;
}

.product-category .tab-header .swiper-slide.swiper-slide-thumb-active p {
    color: #0EB6FF;
}

.product-category .tab-header .swiper-slide.swiper-slide-thumb-active span {
    color: #fff;
    background-color: #0EB6FF;
}

/* end tab-header */

/* tab-content start */
.product-category .tab-content .swiper-slide {
    min-height: 432px;
}

.product-category .tab-content li {
    margin-bottom: 10px;
}

.product-category .tab-content .tab-content-item {
    display: flex;
    background-color: #fff;
    border-radius: 5px;
}

.product-category .tab-content-item .img {
    padding: 23px 0 0 9px;
    width: calc(103 / 353 * 100%);
}

.product-category .tab-content-item .info {
    width: calc(250 / 353 * 100%);
    padding-left: 13px;
}

.product-category .tab-content-item .title {
    padding-top: 15px;
    padding-right: 10px;
    height: calc(16px + 23px + 15px);
    /* line-height: 1.25; */
    color: #101010;
    font-size: 14px;
}

.product-category .tab-content-item .marks {
    display: flex;
}

.product-category .tab-content-item .mark {
    padding: 3px 6px;
    margin-right: 5px;
    border: 1px solid #9D9E9D;
    border-radius: 4px;
    color: #9D9E9D;
}

.product-category .tab-content-item .mark.active {
    border-color: #CE5F41;
    color: #CE5F41;
}

.product-category .tab-content-item .price-cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.product-category .tab-content-item .price {
    font-family: Arial;
    color: #CE5F41;
}

.product-category .tab-content-item .price i {
    font-style: normal;
}

.product-category .tab-content-item .price i:nth-of-type(1) {
    font-size: 14px;
}

.product-category .tab-content-item .price i:nth-of-type(2) {
    color: #101010;
    font-family: "Microsoft YaHei";
}

.product-category .tab-content-item .cart {
    width: 22px;
    height: 22px;
    margin-right: 14px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    background-color: #0EB6FF;
}

.product-category .tab-content-item .count {
    padding: 7px 0 15px;
    color: #9D9E9D;
}

/* end tab-content */
/* end product-category */
/* end main */

/* tabbar start */
.tabbar {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
    width: 100%;
    height: 50px;
    background-color: #fff;
    padding-bottom: 20px;
    /* 兼容 IOS<11.2 */
    padding-bottom: constant(safe-area-inset-bottom);
    /* 兼容 IOS>11.2 */
    padding-bottom: env(safe-area-inset-bottom);
}

.tabbar ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 34px;

}

.tabbar ul .tabbar-item {
    text-align: center;
}

.tabbar ul .tabbar-item .iconfont {
    font-size: 20px;
    color: #404040;
}

.tabbar ul .tabbar-item .iconfont.icon-gouwuche {
    font-size: 24px;
}

.tabbar ul .tabbar-item .txt {
    margin-top: 5px;
    color: #9D9E9D;
}

/* end tabbar */