body { margin: 0; padding: 0; background-color: #fff; }

.swiper ul h4 { font-size: 16px; vertical-align: middle; margin: 0;margin-top: 5px; padding: 0; }
.swiper ul li { position: relative; color:#654115; }
.swiper ul li c { font-size: 12px; padding: 2px; border-radius: 2px; vertical-align: middle; border: .5px solid #f2f2f2; }
.swiper ul li .r { color: rgba(240,60,0,1); }
.swiper ul li .g { color: rgba(62,179,50,1); }
.swiper ul li .b { color: rgba(0,82,217,1); }
.swiper ul li .c { color: rgba(0,0,0,1); }
.swiper ul li .con { text-align: right; }
.swiper ul li .con a { display: inline-block; margin-left: 9px; }

.ml { box-sizing: border-box; position: fixed; z-index: 9; left: 0px; top: 0px; right: 0px; }
.ml .swiper-slide { line-height: 30px; text-align: center; padding-top: 8px; padding-bottom: 8px; font-size: 14px; border-bottom: 1px solid #ccc; }
.ml .swiper-slide-thumb-active { opacity: 1; color: #7e521c; border-bottom-color: #7e521c; font-size: 16px; }

.search {border-radius: 2px; position: absolute; left: 15px; top: 53px; right: 15px; display: flex; margin-right: 0; border: .5px solid #654115; }
.search select { padding: 8px; border: 0 solid #fff!important;  background-color: #fff; }
.search input { width: 100%; max-width: 100%; padding: 8px; border: 0 solid #fff!important;  background-color: #fff; }


.order { position: absolute; left: 0px; top: 90px; right: 0px; bottom: 70px; overflow-y: auto; color: #333; }
.order ul { display: block; margin: 0; list-style: none; padding: 0; }
.order ul li { border-radius: 2px; background: #fff; margin: 15px; padding: 5px 10px;  }
.order ul li p { margin: 5px 0; }
.order ul .wu { text-align: center; height: 300px; color: #999; padding-top: 100px; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; background: #fff; border-top: .5px solid #eee; padding-bottom: env(safe-area-inset-bottom); z-index: 999; }

.bottom-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 5px 5px 5px; font-size: 12px; line-height: 14px; color: #000; text-decoration: none; gap: 4px; background-image: none; background-repeat: no-repeat; background-position: center 2px; background-size: 34px; filter: grayscale(1)opacity(0.75); }
.bottom-bar a.on { color: #654115; filter: grayscale(0) opacity(1); }
.bottom-bar a.active { color: #009688; }
.icp { padding-top: 60px; font-size: 10px; text-align: center; color: #666 }

.shop_top { align-items: center; text-align: center; height: 65px; padding-top: 44px; overflow: hidden; position: absolute; z-index: 99; top: 0px; right: 0px; left:0; bottom: 0px; background-color: #f5f5f5; background-image: url(../../files/shop/logo1.png); background-repeat: no-repeat; background-size: 100%; }
 .marquee-wrap { width: 100%; overflow: hidden;  padding: 0; background-color: rgba(255,255,255,.2); }
 .marquee-text { display: inline-block; white-space: nowrap; animation: scroll 20s linear infinite; font-size: 12px; line-height: 12px; height: 12px; color: #654115;}
@keyframes scroll { from {
transform: translateX(110%);
}
to { transform: translateX(-100%); }
}
.shop_left { position: absolute; width: 90px; top: 65px; bottom: 50px; overflow: auto; background-color: #f5f5f5; }
.shop_left ul { list-style-type: none; padding-top: 10px; padding-right: 0px; padding-bottom: 10px; padding-left: 10px; }
.shop_left ul li a { display: block; padding: 7px; color: #333; font-size: 13px; text-decoration: none; transition: all .3s; }
.shop_left ul li a.on { color: #d8100a !important; background-color: #FFF; font-size: 14px }
.shop_left h3 { font-size: 16px; color: #333; padding: 15px; font-weight: normal; }
.shop_right { position: absolute; left: 91px; top: 65px; bottom: 50px; right: 0px; overflow: auto; }
.shop_right ul { list-style-type: none; margin: 0px; padding: 10px; }
.shop_right ul li { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 7px; align-items: flex-start; padding: 10px 0px; }
.shop_right ul li img.lazy-img { width: 80px; border-radius: 3px; border: .5px solid #dcdcdc; }
/* 操作框 right改为5px */
.shop_right ul li .operate-box { position: absolute; right: 0px; bottom: 0px; display: flex; align-items: center; z-index: 2; margin: 10px; width: auto; }
.shop_right ul li div .add-btn { font-size: 16px; color: #fff; text-decoration: none; background-color: #d8100a; display: block; width: 24px; text-align: center; line-height: 24px; border-radius: 50%; cursor: pointer; touch-action: none; }
/* 库存满禁用样式 */
.shop_right ul li div .add-btn.disabled { background: #ccc; cursor: not-allowed; }
.shop_right ul li div .num-box { display: none; align-items: center; gap: 4px; height: 24px; }
.shop_right ul li div .num-box .minus { flex: 0 0 24px; background: #fff; color: #F30; border: 1px solid #F30; border-radius: 50%; height: 24px; line-height: 22px; cursor: pointer; text-align: center; user-select: none; font-size: 16px; touch-action: none; }
.shop_right ul li div .num-box .minus.disabled { color: #ccc; border-color: #ccc; cursor: not-allowed; }
.shop_right ul li div .count { min-width: 24px; max-width: 28px; width: auto; text-align: center; border: none; outline: none; font-size: 14px; height: 24px; margin: 0px; padding: 0px; display: flex; align-items: center; justify-content: center; }
.shop_right ul li div .num-box .plus { flex: 0 0 24px; font-size: 16px; color: #fff; text-decoration: none; background-color: #d8100a; display: block; width: 24px; text-align: center; line-height: 24px; border-radius: 50%; cursor: pointer; user-select: none; touch-action: none; }
.shop_right ul li div .num-box .plus.disabled { background: #ccc; cursor: not-allowed; }
.shop_right ul li div p { font-size: 10px; margin: 0px; padding: 0px; }
.shop_right ul li div p s { font-size: 14px; color: #F00; text-decoration: none; }
.shop_right ul li div i { font-size: 10px; color: #333; font-style: normal; display: inline-block; line-height: 12px; padding-right: 2px; padding-left: 2px; border: .5px solid #CBCBCB; margin-top: 0px; margin-right: 4px; margin-bottom: 0px; margin-left: 0px; border-radius: 2px; }
.shop_right ul li div .new { border: 0.5px solid #00B500; background-color: #00B500; color: #FFF; }
.shop_right ul li div .hot { border: 0.5px solid #F90; background-color: #F90; color: #FFF; }
.shop_right ul li h3 { font-size: 16px; line-height: 100%; color: #333; margin: 0px; padding: 0; }
.shop_right ul h4 { font-size: 12px; color: #999; text-align: center; padding: 20px; }
.line-title { text-align: center; background: linear-gradient(to right, transparent, #ccc, transparent); background-size: 100% .5px; background-repeat: no-repeat; background-position: center; margin-bottom: 10px; }
.line-title span { display: inline-block; padding: 0 12px; background: #fff; /* 背景盖住中间横线 */ color: #ccc; }
.shop_down { position: absolute; left: 0px; right: 0px; bottom: 50px; height: 46px; background-color: rgba(255,255,255,.7); z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.shop_down button { color: #FFF; background-color: #d8100a; height: 36px; padding-right: 20px; padding-left: 20px; font-size: 14px; border: 0px solid #FE8414; margin: 8px; border-radius: 18px; }
.red-text { color: #d8100a; font-weight: bold; font-size: 24px; line-height: 50px; }
.shop_down div .gwd { position: relative; height: 36px; width: 36px; margin-right: 10px; }
.shop_down div .gwd img { margin-left: 20px; margin-top: 9px; height: 36px; width: 36px; float: left; }
.shop_down div .gwd i { font-style: normal; color: #FFF; background-color: #F00; position: absolute; top: -10px; right: -5px; font-size: 9px; padding-right: 5px; padding-left: 5px; border-radius: 9px; }
/* 懒加载过渡效果，可选 */
.lazy-img { opacity: 0.2; transition: opacity 0.3s; }
.lazy-img.loaded { opacity: 1; }
