
.content {
    background-color: #f3f3f3;
    padding: 5px 0;
}


/* 头部 */

.header {
    background-color: #ffffff;
}

/* H5组件start */
.medical_beauty_h5{
	font-size: 14px;
	background-color: #f3f3f3;
}
.medical_beauty_h5 .top-box {
	background-color: #f3f3f3;
}

.medical_beauty_h5 .list-box {
  min-height:350px;
}

.medical_beauty_h5 .search-box {
	background-color: white;
	padding: 10px;
}
.medical_beauty_h5 .search-input{
	display: flex;
	align-items: center;
}
.medical_beauty_h5 .classify-box {
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.medical_beauty_h5 .sort-box img{
	width: 7px;
	height: 7px;
	display: block;
}
.medical_beauty_h5 .active {
	color: #3A80F9 !important;
}

.medical_beauty_h5 .classify-item {
	padding: 5px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999999;
	background-color: white;
	border-radius: 4px;
	width: 30%;
}


.medical_beauty_h5 .classify-item-1 {
    font-size: 17px;
}

.medical_beauty_h5 .classify-choice{
    font-weight: 700;
    /*padding-bottom:2px ;*/
    border-bottom: 2px solid #4badfd;
}


.medical_beauty_h5 .classify-item .text {
	margin-right: 5px;
}

.medical_beauty_h5 .classify-item:nth-child(2) {
	margin: 0 10px;
}



.tabs_line{
    transform: translateX(315px) translateX(-50%); transition-duration: 0.3s;
}


.medical_beauty_h5 .row {
	background-color: white;
	padding: 10px;
	border-radius: 5px;
	display: flex;
	margin-bottom: 5px;
	background-color: white;
}

.medical_beauty_h5 .pic-box {
	margin-right: 10px;
}

.medical_beauty_h5 .pic-box img {
	width: 100px;
	height: 100px;
	border-radius: 4px;
}

.medical_beauty_h5 .item-info {
	position: relative;
	height: 100px;
	flex: 6;
    overflow: hidden;
}

.medical_beauty_h5 .title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: bold;
	font-size: 15px;
	margin-bottom: 5px;
}

.medical_beauty_h5 .sales-box,
.medical_beauty_h5 .tags-box,
.medical_beauty_h5 .left,
.medical_beauty_h5 .address {
	color: #666666;
	font-size: 12px;
	display: flex;
	align-items: center;
}
.medical_beauty_h5 .address-text{
   flex: 6;
   white-space: nowrap;
   word-break: break-all;
   overflow: hidden;
   text-overflow: ellipsis;
}
.medical_beauty_h5 .address-icon{
	width: 13px;
	height: 13px;
	display: flex;
	margin-top: 2px;
	margin-right: 4px;
}
.medical_beauty_h5 .no-more-box{
	padding: 100px 0;
	text-align: center;
	color: #999999;
	background-color: white;
}
.medical_beauty_h5 .no-more-box img{
	width: 100px;
	margin: auto auto 20px;
	height: 70px;
}

.medical_beauty_h5 .sales-box {
	margin-bottom: 5px;
	justify-content: space-between;

}

.medical_beauty_h5 .score {
	background-color: #3A80F9;
	color: white;
    padding: 2px 0;
	line-height: 15px;
	width: 25px;
	text-align: center;
	font-size: 11px;
    line-height: 11px;
	margin-right: 5px;
	border-radius: 2px;
}

.medical_beauty_h5 .address {
	margin-top: 5px;
	margin-bottom: 5px;
	color: #666666;
	align-items: flex-start !important;
	font-size: 12px;

}

.medical_beauty_h5 .tags-box {
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
	z-index: 2;
}
.medical_beauty_h5 .load-more{
    display: block;
    text-align: center;
    color: #999999;
    padding: 10px 0;
}
.medical_beauty_h5 .tag {
	font-size: 11px;
    line-height: 11px;
	background-color: #EFF1F3;
	color: #ADADB0;
	padding: 4px 6px;
	border-radius: 2.5px;
	margin-right: 7.5px;
}

.medical_beauty_h5 .tag:last-child {
	margin-right: 0;
}
.medical_beauty_h5 .user-box{
	color: #666666;
}
.medical_beauty_h5 .gender{
	margin-right: 6px;
}
.medical_beauty_h5 .user-pic{
	border-radius: 9px!important;
}

.medical_beauty_h5 .p-sales{
	color: #999999;
	margin-bottom: 4px;
    font-size: 12px;
}
.medical_beauty_h5 .p-nums{
	display: inline-block;
	font-size: 11px;
	background-color: #EFF1F3;
	color: #ADADB0;
	padding: 4px 6px;
	border-radius: 2.5px;
	margin-right: 7.5px;
    line-height: 11px;
}
.medical_beauty_h5 .p-info{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	color: #666666;
}
.medical_beauty_h5 .sales-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.medical_beauty_h5 .p-left{
	font-size: 12px;
}
.medical_beauty_h5 .p-right{
	color: #F9644B;
	font-size: 12px;
	font-weight: bold;
}
.medical_beauty_h5 .p-right .p-price{
	font-size: 19px;
}
/* H5组件end */

/* 搜索框 */

.header-search {
    margin: auto 15px auto 10px;
    padding: 2px 0 6px;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header-search-left {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-search-left>img {
    width: 22px;
    height: 22px;
    background-color: #7f8aef;
}

.header-search-left>div {
    margin-left: 5px;
}

.header-search-right {
    width: 28px;
    height: 28px;
    /*background-color: #f3f3f3;*/
    border-radius: 50%;
}

.weui-search-bar__box {
    border-radius: 50px;
    background: #F3F3F3;
    border: solid 1px #E5E5E5;
    width: 88%;
}

.weui-search-bar {
    background: #fff;
    padding: 0;
    height: 48px;
}

.weui-search-bar__form {
    margin: 7px auto auto 5px;
}

.weui-search-bar__form:after {
    border: none;
    border-radius: 0;
}

.weui-search-bar__input::-webkit-input-placeholder {
    color: #757575;
}

.weui-search-bar__cancel-btn {
    display: block;
    position: absolute;
    margin-left: 10px;
    line-height: 28px;
    color: #5d5d5d;
    white-space: nowrap;
    right: 0;
    z-index: 10;
    top: 1px;
}

.weui-search-bar:after {
    border-bottom: none;
}


/* 搜索框end */


/* 选项卡 */

.header-tabs {
    display: flex;
    flex-direction: row;
    font-size: 15px;
    color: #999999;
    margin-left: 10px;
}

.header-tabsCurrent {
    color: #000000;
}

.header-tabsCurrent>img {
    display: block !important;
}

.header-tabs-item {
    position: relative;
    top: 0;
    width: 33%;
    text-align: center;
    padding: 8px 0 6px;
}

.header-tabs-item>img {
    display: none;
    position: absolute;
    left: 25%;
    bottom: 5%;
    width: 20px;
    height: 20px;
}

.header-tabs-item>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.header-tabs-item-filter {
    width: 15px;
    height: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

.header-tabs-item-filter>img {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #7f8aef;
}

.header-tabs-item-filterImage {
    width: 15px;
    height: 15px;
    background-color: transparent!important;
}


/* 选项卡end */


/*筛选*/

.mask-filter {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.filter {
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    height: 100%;
    background: #ffffff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    z-index: 99;
}

.filter-content {
    overflow: auto;
    max-height: 80%;
    width: 90%;
    margin: 20px 0 20px 20px;
}

.filter-content-title {
    padding: 8px 0;
    font-size: 13px;
    color: #000000;
}

.filter-content-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    max-height: 43vh;
    overflow: auto;
}

.filter-content-item>div {
    min-width: 21%;
    font-size: 11px;
    color: #666666;
    background-color: #F5F5F5;
    border-radius: 4px;
    padding: 4px 10px;
    margin: 5px 5px 5px 0;
    text-align: center;
    border: 1px solid #F5F5F5;
    overflow: hidden;
    white-space: nowrap;
    word-wrap: normal;
    text-overflow: ellipsis;
}

.filterBtn {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    width: 85%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filterBtn>div:first-child {
    flex: 1;
    padding: 5px 0;
    text-align: center;
    border: 1px solid #FF5252;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    color: #FF5252;
}

.filterBtn>div:last-child {
    flex: 1;
    padding: 5px 0;
    text-align: center;
    border: 1px solid #FF5252;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    background-color: #FF5252;
    color: #ffffff;
}


/*筛选end*/


/* 头部end*/


/* 商家列表 */


/* 列表 */

.cityservice30054-list {
    margin: 5px 10px 10px;
    padding: 7px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border-radius: 5px;
    background-color: #ffffff;
}

.cityservice30054-list-info {
    width: 95%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: auto;
}

.cityservice30054-list-distance {
    padding: 2px 0;
    margin-right: 10px;
    color: #5c5c5c;
    font-size: 11px;
}

.cityservice30054-list-info-left {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 70px;
    height: 70px;
    border: 1px solid #e8e8e8;
}

.cityservice30054-list-info-left>img {
    width: 100%;
    height: 100%;
}

.cityservice30054-list-info-left>div {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}

.cityservice30054-list-info-right {
    flex: 1;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cityservice30054-list-info-right-top {
    font-size: 15px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.cityservice30054-list-info-right-score {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.cityservice30054-list-info-right-score>span {
    height: 10px;
    width: 15px;
    background: url('/medical_beauty/web/static/images/204@2x.png');
    background-size: 15px;
    /*background-size: 100%;*/
    /*background-repeat: no-repeat;*/
}

.cityservice30054-list-info-right-score>label {
    font-size: 10px;
    color: rgb(255, 0, 0);
    margin-left: 5px;
}

.cityservice30054-list-info-right-grayColor {
    font-size: 10px;
    color: #959595;
}

.cityservice30054-list-info-right-discount>span {
    border: 1px solid #fe7575;
    color: #fe7575;
    padding: 1px 6px;
    border-radius: 2px;
    font-size: 10px;
    margin-right: 4px;
}

.cityservice30054-list-info-right-discount-color {
    color: #fff !important;
    background-image: linear-gradient(to left, #FF7D47, #FF5555);
}


/* 列表end */

/* 切换列表 */
.cityservice30054-goods-list {
    display: flex;
    flex-wrap: wrap;
    padding: 0 10px;
    justify-content: space-between;
}

.cityservice30054-goods {
    margin-top: 10px;
    border-radius: 5px;
    width: 49%;
    background-color: #fff;
}

.cityservice30054-goods-pic {
    width: 100%;
    /* width: 173px; */
    /* height: 173px; */
    padding-top: 100%;
    position: relative;
}

.cityservice30054-goods-pic>img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.cityservice30054-goods-info {
    padding: 10px 7px;
}

.cityservice30054-goods-info-title {
    width: 100%;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}

.cityservice30054-goods-info-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cityservice30054-goods-info-detail-score {
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.cityservice30054-goods-info-detail-score>span {
    height: 9px;
    width: 15px;
    background: url('/medical_beauty/web/static/images/204@2x.png');
    background-size: 12px;
}

.cityservice30054-goods-info-detail-score>label {
    margin-left: 5px;
    margin-top: 1px;
    font-size: 11px;
    color: #FF0000;
}

.cityservice30054-goods-info-detail-distant>img {
    width: 12px;
    height: 12px;
    vertical-align: middle;
}

.cityservice30054-goods-info-detail-distant>span {
    width: 9px;
    height: 12px;
    font-size: 11px;
    color: #999999;
}
/* 切换列表end */

/* 商家列表end */


/* 商品列表 */


/* 列表 */

.shopping61-list {
    padding-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.shopping61-list-item {
    overflow: hidden;

    background-color: #fff;
    border-radius: 5px;
}
.shopping61-list-item-1{
    width: 92%;
    margin: 0 0 10px 4%;
}

.shopping61-list-item-2{
    width: 45%;
    margin: 0 0 10px 3.5%;
}

.shopping61-list-item-top {
    position: relative;
    top: 0;
}

.shopping61-list-item-top>img {
    width: 100%;
    /*height: 45%;*/
    height: 170px;
}

.shopping61-list-item-top-distance {
    position: absolute;
    min-width: 49px;
    padding: 0 5px;
    height: 18px;
    line-height: 18px;
    background-color: rgba(102, 102, 102, .5);
    bottom: 14px;
    left: 10px;
    color: #fff;
    font-size: 9px;
    border-radius: 3px;
}

.shopping61-list-item-bottom {
    margin: 0 5px;
    padding-bottom: 5px;
    /* display: flex;
      flex-direction: row; */
}

.shopping61-list-item-bottom-title {
    white-space: nowrap;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shopping61-list-item-bottom-sales {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.shopping61-list-item-bottom-sales>div:first-child {
    font-size: 14px;
    color: #ff525f;
}

.shopping61-list-item-bottom-sales>div:last-child {
    font-size: 10px;
    color: #9a9a9a;
}

.shopping61-list-item-bottom-operating {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    color: #616161;
    font-size: 12px;
}

.shopping61-list-item-bottom-operating>img {
    width: 15px;
    height: 15px;
}

/* 新的商品列表样式 - 参考cp_list设计 */
.custom-goods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px;
    margin: 0;
    list-style: none;
    /* background-color: #f8f9fa; */
}

/* 重置默认样式 */
.custom-goods li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-goods li.type2 {
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-goods li.type2:active {
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.custom-goods li.type2 a {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.custom-goods li.type2 .img {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
}

.custom-goods li.type2 .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.custom-goods li.type2 .goods-title {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 5px 12px 5px 12px;
    /* min-height: 40px; */
}

.custom-goods li.type2 .goods-title.line-1 {
    -webkit-line-clamp: 1;
    min-height: 20px;
}

/* 销量和积分信息样式 */
.custom-goods li.type2 .product-sales {
    margin: 0 12px 0px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.custom-goods li.type2 .product-sales-text {
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

.custom-goods li.type2 .product-sales-text:first-child {
    color: #999;
}

.custom-goods li.type2 .product-sales-text:last-child {
    color: #999;
    font-weight: 500;
}

.custom-goods li.type2 .current-price {
    margin: 0 12px 12px 12px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.custom-goods li.type2 .current-price .big {
    font-size: 14px;
    color: #ff6b35;
    font-weight: 600;
}

.custom-goods li.type2 .current-price .original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 4px;
}

.custom-goods li.type2 .current-price .small {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}

/* 一行布局样式 */
.custom-goods.type1-layout {
    grid-template-columns: 1fr;
    gap: 8px;
}

.custom-goods li.type1 {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: stretch;
}

.custom-goods li.type1 .img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.custom-goods li.type1 .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-goods li.type1 .product-info {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-goods li.type1 .goods-title {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-goods li.type1 .current-price {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

/* Type 3 样式（三列布局） */
.custom-goods li.type3 {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.custom-goods li.type3 .img {
    width: 100%;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.custom-goods li.type3 .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-goods li.type3 .goods-title {
    font-size: 12px;
    color: #333;
    line-height: 1.3;
    margin: 8px 8px 4px 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 32px;
}

.custom-goods li.type3 .current-price {
    margin: 0 8px 8px 8px;
    font-size: 12px;
}

.custom-goods li.type3 .current-price .big {
    font-size: 14px;
    color: #ff6b35;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .custom-goods {
        gap: 8px;
        padding: 8px;
    }
    
    .custom-goods li.type2 .img {
        height: 140px;
    }
    
    .custom-goods li.type1 .img {
        width: 100px;
        height: 100px;
    }
    
    .custom-goods li.type1 .product-info {
        padding: 8px;
    }
}

/* 三列布局 */
.custom-goods.type3-layout {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

/* 列表end */


/* 商品列表end */

/* 商品分类组件样式 */
.product-category-container {
    background-color: #ffffff;
    padding: 15px 10px;
    margin-bottom: 10px;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

/* 不同列数的布局 */
.category-columns-3 .category-item {
    width: 30%;
    margin-bottom: 20px;
}

.category-columns-4 .category-item {
    width: 22%;
    margin-bottom: 20px;
}

.category-columns-5 .category-item {
    width: 18%;
    margin-bottom: 20px;
}

.category-columns-6 .category-item {
    width: 15%;
    margin-bottom: 15px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.category-item:active {
    transform: scale(0.95);
}

.category-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.category-name {
    font-size: 12px;
    color: #333333;
    line-height: 1.2;
    text-align: center;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 响应式调整 */
@media (max-width: 375px) {
    .category-columns-5 .category-item {
        width: 19%;
    }
    
    .category-columns-6 .category-item {
        width: 16%;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
    }
    
    .category-name {
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .category-columns-5 .category-item {
        width: 19.5%;
    }
    
    .category-columns-6 .category-item {
        width: 16.2%;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
    }
    
    .category-name {
        font-size: 10px;
    }
}

/* 当没有图片时的默认样式 */
.category-icon img[src=""], 
.category-icon img:not([src]),
.category-icon img[src*="category1.png"],
.category-icon img[src*="category2.png"],
.category-icon img[src*="category3.png"],
.category-icon img[src*="category4.png"],
.category-icon img[src*="category5.png"] {
    display: none;
}

.category-icon:has(img[src=""]), 
.category-icon:has(img:not([src])),
.category-icon:has(img[src*="category1.png"]),
.category-icon:has(img[src*="category2.png"]),
.category-icon:has(img[src*="category3.png"]),
.category-icon:has(img[src*="category4.png"]),
.category-icon:has(img[src*="category5.png"]) {
    background-color: #f0f0f0;
    position: relative;
}

.category-icon:has(img[src=""]):before, 
.category-icon:has(img:not([src])):before {
    content: "🏷️";
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.category-icon:has(img[src*="category1.png"]):before {
    content: "🍎";
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.category-icon:has(img[src*="category2.png"]):before {
    content: "🥩";
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.category-icon:has(img[src*="category3.png"]):before {
    content: "🐟";
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.category-icon:has(img[src*="category4.png"]):before {
    content: "🍞";
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.category-icon:has(img[src*="category5.png"]):before {
    content: "🏠";
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 如果浏览器不支持:has，使用备用方案 */
.category-icon.no-image {
    background-color: #f0f0f0;
    position: relative;
}

.category-icon.no-image:before {
    content: "🏷️";
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 分类点击效果 */
.category-item:hover .category-icon {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-item:hover .category-name {
    color: #007bff;
}

/* 加入购物车按钮样式 */
.add-cart-btn {
    transition: all 0.2s ease;
    user-select: none;
}

.add-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.add-cart-btn:active {
    transform: scale(0.95);
}

/* 响应式优化 */
@media (max-width: 480px) {
    .add-cart-btn {
        width: 26px !important;
        height: 26px !important;
    }
    
    .add-cart-btn span {
        font-size: 16px !important;
    }
}

/* 订单数据组件样式 - 参考my_center设计 */
.order-data-container {
    position: relative;
    box-sizing: border-box;
}

.order-data-content {
    background: transparent;
}

/* 订单统计样式 - 完全参考my_center的data-row样式 */
.order-stats-section {
    text-align: center;
    margin: 24px 0;
}

.data-row {
    display: flex;
}

.data-item {
    flex: 1;
    cursor: pointer;
}

.data-num {
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2px;
}

.data-label {
    color: #637381;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .order-stats-section {
        margin: 18px 0;
    }
    
    .data-num {
        font-size: 18px;
    }
    
    .data-label {
        font-size: 11px;
    }
}

/* 门店切换组件样式 - 完全参照shop_switch.vue样式 */
.shop-switch-component {
    background-color: #f5f5f5;
    min-height: auto;
}

.shop-switch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 12px 15px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.current-shop {
    display: flex;
    align-items: center;
}

.location-icon {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin-right: 4px;
}

.shop-name {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

.more-shops {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.more-shops:active {
    opacity: 0.7;
}

.more-text {
    font-size: 14px;
    color: #666666;
    margin-right: 4px;
}

.arrow {
    font-size: 12px;
    color: #999999;
    font-weight: bold;
}

/* 响应式适配 - 对应750rpx断点 */
@media screen and (max-width: 375px) {
    .shop-switch-header {
        padding: 10px 12px;
    }
    
    .location-icon {
        font-size: 14px;
        margin-right: 6px;
    }
    
    .shop-name {
        font-size: 14px;
    }
    
    .more-text {
        font-size: 13px;
    }
    
    .arrow {
        font-size: 11px;
    }
}