* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style-type: none;
  font-family: Microsoft Yahei;
}
@media screen and (max-width: 768px) {
  .nnyc-cate-con{
    height: 200px;
  }
  .nnyc-fixedfr,
  .nnyc-onetop {
    display: none !important;
  }
  .nnyc-onetop {
    padding: 0 10px;
    box-sizing: border-box;
  }
  .nnyc-comwidth {
    width: 100% !important;
  }
  .header {
    height: 50px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    top: 0;
  }

  .cate-back-btn {
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1b7aff;
      border: unset;
      background: unset;
  }

  .header-title {
      font-size: 18px;
      color: #1b7aff;
      flex: 1;
      text-align: center;
  }
  .nnyc-head .input span.spaninput input[type="text"] {
    width: auto !important;
  }
  #nav {
    height: 50px;
    background: #fff;
  }
  #nav .cate-img {
    display: block !important;
    padding: 5px 6px 3px 6px;
    background: #1b7aff;
  }
  .nnyc-head {
    padding: 5px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    position: fixed;
    z-index: 99;
    top: 0;
  }
  .nnyc-head .logo {
    display: none !important;
  }
  .nnyc-head .logo2 {
    display: block !important;
    color: #1b7aff;
  }
  .nnyc-menuhead {
    display: none;
  }

  .bottom-tab-bar {
    display: flex !important;
  }
  .shop {
    display: none !important;
  }
  .nnyc-banner-menu {
      width: 0;
      height: 200px;
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 200;
      width: unset;
      height: unset;
      padding: 0;
      display: none;
      background: #fff !important;
  }
  ul.nnyc-banner-menuul{
    width: 30% !important;
    padding-top: 50px;
  }

  ul.nnyc-banner-menuul .twomenu{
    left: 30% !important;
    top: 50px !important;
    padding: 5px;
  }
  ul.nnyc-banner-menuul .twomenu-detail a{
    width: 100%;
    line-height: 25px;
  }
  ul.nnyc-banner-menuul .twomenu table.tablemenu td.tdname{
    display: none;
  }
  ul.nnyc-banner-menuul .twomenu:nth-child(1){
    display: block !important;
    color: red;
  }
  .nnyc-banner-banner {
    height: 200px !important;
    left: 0 !important;
    margin: unset !important;
  }
  .nnyc-banner {
    padding: unset !important;
  }
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
  .nnyc-newproduct-onecon,
  .goods-list > .good-item {
    width: calc(50% - 5px) !important;
    margin-right: 10px !important;
  }
  .nnyc-newproduct-onecon:nth-child(2n),
  .goods-list > .good-item:nth-child(2n) {
    margin-right: unset !important;
  }
  #content #flash,
  #content #recommend {
    width: auto !important;
    margin: 10px 0 !important;
  }
  .nnyc-newproduct,
  .goods-list {
    padding: 10px !important;
    box-sizing: border-box;
    margin-top: unset;
  }
  .goods-main #nav .nnyc-head{display: none;}
  .goods-main .category-selection{margin-top: 0;}
  .nnyc-newproduct-one .goodsimg img,
  .good-item > .good-img {
    width: 140px !important;
    height: 140px !important;
  }
  #content > .nnyc-comwidth {
    padding-bottom: 60px !important;
  }
/* 商品采购移动端隐藏供应商 */
  #scompany {
    display: none;
}
  /* 商品采购 */
  .goods-main {
    width: auto;
    padding-bottom: 60px;
  }
  .goods-main .nnyc-head-new{
    display: flex !important;
    width: 100%;
  }
  .goods-main .nnyc-head-new .logo2{
    font-size: 18px;
  }
  .goods-main .nnyc-head-new .cate-img{
    width: 26px;
    height: 25px;
    background: #1B7AFF url(../image/icon_fwl_check.svg) no-repeat center;
  }
  .goods-main .cate-name {
    width: auto !important;
    display: none;
  }
  .category-selection{
    display: none;
  }
  .composite-btns button{
    flex: 1;
    padding:8px 5px;
    background: #fff;
  }
  .goods-main .composite-query{
      flex-direction: column;
      position: fixed;
      width: 100%;
      top: 46px;
      z-index: 9;
  }
  .goods-main .goods-list{
    padding-top: 46px !important;
  }
  .foods-main .goods-list{
    padding-top: 77px !important;
  }
  .goodmain .goods-list{
    padding-top: 117px !important;
  }
  .composite-prices {
      margin-left: unset;
      flex-wrap: wrap;
      display: flex;
      display: none;
  }
  .composite-prices>div{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .composite-prices input{
      margin: 10px;
      width: 35%;
  }
  .category-selection tr{
    display: flex;
    flex-direction: column;
  }
  .cate-item{
    flex-direction: column;
  }
  .cate-spans{
    width: 100%;
  }
  .cate-spans>span{
    padding: 5px;
    margin: 0;
  }
  .cate-spans.cate-shrink{
    height: 30px;
  }
  .category-selection .more-btn>img{
    width: 15px;
    height: 15px;
  }
  /* 购物车 */
  #cart {
    padding-bottom: 120px !important;
  }
  #cart .cart_bg .list {
    width: auto !important;
  }
  #cart .cover img {
    width: 50px !important;
    height: 50px !important;
  }
  #cart .top2 .sub_top,
  #cart .content2 .sub_content {
    padding: 0 5px !important;
  }
  #cart .top2 .sub_top:nth-child(2),
  #cart .content2 .sub_content:nth-child(2) {
    width: 20% !important;
  }
  #cart .top2 .sub_top:nth-child(4),
  #cart .content2 .sub_content:nth-child(4) {
    width: 15% !important;
  }
  #cart .cart_bg .list .content2 .sub_content a {
    white-space: nowrap;
  }
  #cart .cart_bg .list .content2 .sub_content .goods_count {
    width: auto !important;
  }
  .nnyc-fliter-bar {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px !important;
    height: 50px !important;
    background: #fff;
  }
  #cart .list{padding-bottom: 0 !important;}
  #cart .cart_bg .list .content2 {
    padding: 5px !important;
  }
  #cart .cart_bg .pre_order {
    bottom: 60px !important;
  }
  #cart .cart_bg .pre_order .order_div .order_button .order_button_d {
    width: 100px !important;
  }
  ul.nnyc-banner-menuul li>a{
    color: #000;
  }
  /* 我的 */
  .self-info {
    width: auto !important;
  }
  #personal .self-info .lfnav{
    width: 100%;
    height: auto;
  }
  #personal .self-info .lfnav .logout-btn{
    position: fixed;
    bottom: 60px;
    width: 100% !important;
    background: #fff;
    padding: 5px 0;
  }
  #personal .self-info .lfnav .logout-btn a{
    color: red !important;
  }
  #personal .self-info .lfnav ul{
    display: flex;
  }
  #personal .self-info .lfnav .title_list ul li{
    flex: 1;
    padding-left: unset;
    text-align: center;
    height: 50px;
    line-height: 50px;
  }
  #personal .self-info .lfnav .title_list ul li a{
    font-size: 14px;
  }
  #personal .self-info .lfnav .nav_title{
    display: none;
  }
  #personal .self-info .intro{
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    box-sizing: border-box;
    height: unset;
  }
  #personal .self-info .intro .info_item{
    width: unset;
    margin-left: unset !important;
  }
  #personal .self-info .intro .grzlbt{
    width: unset;
    margin-left: unset;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
  }
  #personal .self-info .intro .grzlbt a{
    margin-left: unset !important;
  }
  #personal .self-info .intro .info_item span:nth-of-type(2){
    width: unset;
    padding-left: unset;
  }
  #personal{
    padding: 0;
  }
  .uc-main-box{padding: 0;}
  .uc-content-box{margin: 0;}
  .uc-content-box .box-hd .title{
    font-size: 20px;
  }
  /* 商品列表 */
  .sort{
    height: unset;
  }
  .sort .list{
    width: auto;
    padding: 0 10px;
    height: unset;
  }
  .goods_item .main{
    width: auto;
    padding: 0 10px;
  }
  .goods_item .item_card_frame{
    width: calc(50% - 5px) !important;
    margin-right: 10px !important;
  }
  
  .goods_item .item_card_frame:nth-child(2n) {
    margin-right: unset !important;
  }
  .classify .category .category_bar{
    padding: 0 10px;
  }
  .classify .category .category_bar .c div{
    width: unset;
  }
  .classify .category .category_bar .c a{
    word-break: keep-all;
  }
  .classify{padding-top: 50px;}
  .classify .header{display: flex !important;}
  .classify #nav{display: none;}
  /* 商品详情页 */
  .nnyc-shoptwo{
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  .nnyc-shopone{width: 100%;}
  .nnyc-shopone .nnyc-shoponeimg{
    width: unset;
    height: unset;
  }
  .nnyc-shopcon .shopbtn button{float: unset;}
  .nnyc-shopcon .shopbtn{text-align: center;}
  .nnyc-shoptwo h2.htitle{margin-top: 10px;}
  .w{width: auto !important;}
  .nnyc-shopdetail{padding-bottom: 0;}
  #detail{
    padding-bottom: 20px;
    padding-top: 50px;
  }
  #detail .nnyc-combg,#detail .goods{
    padding: 0 10px;
    box-sizing: border-box;
  }
  #detail #nav{display: none;}
  #detail .header{display: flex !important;}

    /* 商品采购 */
    .goodmain .nnyc-head{
      justify-content: space-around;
    }
    .goodmain .category-selection{
      position: fixed;
      background: #fff;
      top: 80px;
      z-index: 9;
      display: block;
    }
    .goodmain .cate-spans.cate-shrink{
      height: 26px;  
      flex-grow: 1;
      margin-right: 50px;
    }
    .goodmain .cate-item{flex-direction: row;}
    /* .goodmain .composite-query{display: none;} */
    .goodmain .more-btn{display: none;}
    .goodmain .food-more-btn{
      display: block !important;
      white-space: nowrap;
      padding: 4px 8px;
      border-radius: 5px;
      border: 1px solid #999;
    }
    .goodmain .cate-spans>span{
      margin: 0 5px 0 0 ;
    }
    .goodmain .sidebar{
      position: fixed;
      right: 0;
      background: #00000094;
      top: 0;
      bottom: 0px;
      left: 0;
      z-index: 10;
    }
    .goodmain .sidebar2{
      position: fixed;
      right: 0;
      background: #00000094;
      top: 0;
      bottom: 0px;
      left: 0;
      z-index: 10;
    }
    .goodmain .sidebar3{
      position: fixed;
      right: 0;
      background: #00000094;
      top: 0;
      bottom: 0px;
      left: 0;
      z-index: 10;
    }
    .goodmain #type2{
      position: absolute;
      right: 0;
      z-index: 999;
      display: flex;
      flex-direction: column;
      background: #fff;
      padding: 20px;
      box-sizing: border-box;
      overflow-y: auto;
      border-radius: 10px;
      bottom: 65px;
      top: 50px;
    }
    .goodmain #type2 span{
      margin-bottom: 20px;
      font-size: 14px;
    }
    .goodmain #stype2{
      position: absolute;
      right: 0;
      z-index: 999;
      display: flex;
      flex-direction: column;
      background: #fff;
      padding: 20px;
      box-sizing: border-box;
      overflow-y: auto;
      border-radius: 10px;
      bottom: 65px;
      top: 50px;
    }
    .goodmain #stype2 span{
      margin-bottom: 20px;
      font-size: 14px;
    }
 .goodmain #suppliername2{
      position: absolute;
      right: 0;
      z-index: 999;
      display: flex;
      flex-direction: column;
      background: #fff;
      padding: 20px;
      box-sizing: border-box;
      overflow-y: auto;
      border-radius: 10px;
      bottom: 65px;
      top: 50px;
    }
    .goodmain #suppliername2 span{
      margin-bottom: 20px;
      font-size: 14px;
    }
    .goodmain .cate-spans>span.click{
      background: unset;
      color: #1baeae;
      font-weight: bold;
    }
    .goodmain .cate-spans{
      width: unset;
    }
  /* 食材专区 */
  .foods-main .nnyc-head{
    justify-content: space-around;
  }
  .foods-main .category-selection{
    position: fixed;
    background: #fff;
    top: 80px;
    z-index: 9;
    display: block;
  }
  .foods-main .cate-spans.cate-shrink{
    height: 26px;
    flex-grow: 1;
    margin-right: 50px;
  }
  .foods-main .cate-item{flex-direction: row;}
  /* .foods-main .composite-query{display: none;} */
  .foods-main .more-btn{display: none;}
  .foods-main .food-more-btn{
    display: block !important;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 5px;
    border: 1px solid #999;
  }
  .foods-main .cate-spans>span{
    margin: 0 5px 0 0 ;
  }
  .foods-main .sidebar{
    position: fixed;
    right: 0;
    background: #00000094;
    top: 0;
    bottom: 0px;
    left: 0;
    z-index: 10;
  }
  .foods-main #suppliername2{
    position: absolute;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    border-radius: 10px;
    bottom: 65px;
    top: 50px;
  }
  .foods-main #suppliername2 span{
    margin-bottom: 20px;
    font-size: 14px;
  }
  .foods-main .cate-spans>span.click{
    background: unset;
    color: #1baeae;
    font-weight: bold;
  }
  .foods-main .cate-spans{
    width: unset;
  }
}
/* 桌面端的hover效果 */
@media (hover: hover) {
  ul.nnyc-banner-menuul li>a:hover {
    background: rgba(27,122,255,.49); color: #fff;
  }
}

/* 移动端的点击效果 */
@media (hover: none) {
  ul.nnyc-banner-menuul li>a:active {
    background: rgba(27,122,255,.49); color: #fff !important;
  }
}

img {
  border: none;
  max-width: 100%;
  max-height: 100%;
}
a {
  border: none;
  text-decoration: none;
  color: #000;
}
.border {
  border: 1px solid #f00;
}
.center {
  margin: 0 auto;
}
.w {
  width: 1200px;
  margin: 0 auto;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.clear {
  clear: both;
}
.clearfix::after {
  content: "";
  height: 0;
  display: block;
  clear: both;
  visibility: hidden;
}
.mt20 {
  margin-top: 20px;
}
.mt10 {
  margin-top: 10px;
}
.ml20 {
  margin-left: 20px;
}
.ml40 {
  margin-left: 40px;
}
.mr40 {
  margin-right: 40px;
}
.mb20 {
  margin-bottom: 20px;
}
.border2 {
  border: 2px solid #ff6700;
}
.ft20 {
  font-size: 20px;
}
.ftbc {
  color: #ff6700;
  font-weight: bold;
}
.pr {
  padding-right: 40px;
}
.h3 {
  font-size: 22px;
  font-weight: bold;
}
