@charset "utf-8";
ul, li, ol {list-style: none;}
[class*="am-u-"] {padding-left:0rem;padding-right:0rem;}
.am-container {padding-left:0px;padding-right:0px ;}
.am-container > .am-g {margin-left: 0px;margin-right:0px ;}
.small-nav img,.small-nav a,.am-g.small-nav {border:none;}

/* 商品卡片边框和圆角样式 */
.goods-item-card {
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
}
.goods-item-card:hover {
    border-color: #d2364c;
}

/* 原价删除线样式 */
.goods-info-row .original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 12px;
}
.goods-info-row .sales-count {
    color: #999;
    font-size: 12px;
}

/* 现价红色加粗样式 */
.goods-item-card .price .current-price {
    color: #e60012;
    font-size: 18px;
    font-weight: bold;
}

/* 立即下单按钮样式 */
.goods-item-card .goods-buy-btn {
    background-color: #f72862;
    color: #fff;
    border: 1px solid #f72862;
    padding: 5px 10px;
}
.goods-item-card .goods-buy-btn:hover {
    background-color: #e60012;
    border-color: #e60012;
    color: #fff;
}

/* 卡片按钮区域 */
.goods-item-card .goods-card-btns {
    display: flex;
    justify-content: space-between;
}
.goods-item-card .goods-card-btns .goods-favor-btn {
    border: 1px solid #e8e8e8;
    color: #666;
    width: 48%;
}
.goods-item-card .goods-card-btns .goods-favor-btn:hover {
    border-color: #d2364c;
    color: #d2364c;
}
.goods-item-card .goods-card-btns .goods-buy-btn {
    width: 48%;
    text-align: center;
}

/*手机导航*/
.small-nav {padding:10px 0px; font-size:12px;}
.small-nav .am-u-sm-3 { text-align: center; margin: 5px 0; }
.small-nav .nav-icon {max-width: 50px; max-height: 50px; padding: 12px; margin: 0 auto; border-radius: 50px; background-color: #ccc; }
.small-nav .am-u-sm-3:last-child { float: left; }
.small-nav .mini-nav-title { margin-top: 5px; }
.small-nav a { text-decoration: none !important; }

/*走马灯*/
.banner-mixed{position: relative;border-top:1px solid #F5F5F5 ;border-bottom: 1px #f5f5f5 solid;overflow: hidden;}
.banner-news-title{position: absolute;left:10px;padding-right:10px;border-right:1px solid #eee ;}
.banner-news li,#banner-news li a{height: 30px;line-height:30px; font-size: 12px;}
.banner-news{max-width:1200px; margin:0px auto; overflow:hidden; height:30px;width:100%; text-align:left;}
.news-category-name { line-height: 11px; max-width: 50px; }
.banner-news li {padding:0 10px 0 80px;}
.mod-vip{display: none;}

/*标题*/
.items-nav-title{text-align: center;width: 100%;overflow: hidden;background:#eee;}
.items-nav-title .floor-title {font-size: 14px;margin:20px 0px;line-height: 1px;border-left: 60px solid #d2364c;border-right: 60px solid #d2364c;
text-align: center;float:none}
.items-nav-title .floor-desc,.items-nav-title .today-brands,.items-nav-title .more{display: none;}

/*楼层*/
.goods-floor {background: #fff; position: relative; }
.outer-con .price { color: #c00; font-weight: bold; }
.items-nav-title a:hover { color: #d2364c; }

/*小标签*/
.aggregation .word{padding: 5px; overflow: hidden;}
.word .outer {margin: 5px; width: calc(50% - 12px); height: 32px;  line-height: 32px; text-align: center;color: #fff;background-color: rgba(0, 0, 0, 0.03);border-radius: 3px; display: inline-block; border: 1px solid #fff; text-decoration: none; overflow: hidden;}

/*楼层左侧*/
.aggregation .outer-con .describe { color: #fff; max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.goods-floor .aggregation { overflow: hidden; width: 150px; text-align: center; }
.aggregation .outer-con{ padding: 10px; text-align: center; }

/*楼层商品*/
.goods-floor .goods-list li { background-color: #fff; position: relative; overflow: hidden; }
.goods-floor li {width: 50%;float: left;text-align: center;}
.goods-floor .goods-list li .goods-images,
.aggregation .outer-con img,
.goods-floor .aggregation img,
.small-nav img { width: 100%; }
.goods-floor .goods-list li .goods-images{ padding: 10px; min-height: 200px; display: table; }
.goods-floor .goods-list li .goods-images img { display: block; width: 200px; height: 200px; object-fit: cover; margin: 0 auto; }

@media only screen and (min-width: 480px) {
    .small-nav img{max-width: 100%;max-height: 100%;}
    .small-nav{ font-size:14px;}
}

@media only screen and (min-width: 640px) {
    /*标题*/
    .items-nav-title{background: #fff; border-bottom: 2px solid #666;}
    .am-container {padding-left:0px;padding-right:0px ;}
    .home-floor{width:100%;background:#fff;overflow:visible;}

    /*主题布局*/
    .banner{ width:100%;overflow:hidden; position: relative; z-index: 1; }
    .banner .am-slider .am-slides li:first-child { background: #000 !important; }

     /*改写的公告*/
    .banner-mixed{height:auto; background:#FFF; opacity:0.8;text-align: center; margin-bottom: 10px; position: relative; z-index: 2; }
    .banner-news-title{font-size: 14px;position: static;border-right:none ;color:#e60012 ;font-size: 16px;font-weight: 600; text-align: center;}
    .banner-news{ height: auto;width: 100%;padding-top:5px; }
    .banner-news li{ font-size:12px; padding:0px 0px;height: 30px;float: right;width:30% ;}

    /*标题*/
    .items-nav-title .floor-title {border: none;font-size:18px;line-height: 24px;margin:5px 0px ;font-weight: 600;}
    .items-nav-title .floor-desc {display:block;font-size: 14px;color: #999;line-height:18px;margin-bottom: 5px;}

    /*楼层*/
    .goods-floor { margin-bottom: 15px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
    .goods-floor .goods-list { overflow: hidden; }
    .outer-con .describe {font-size: 14px;font-weight: 600;}
    .goods-floor .goods-list .goods-items { float: left; width: 25%; padding: 12px 16px; border-right: 1px solid; border-bottom: 1px solid; border-color: #f0f0f0; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; transition: all 0.3s ease; }
    .goods-floor .aggregation img {position: absolute;top:auto;left:0;bottom:0;}

    /*楼层 hover*/
    .word .outer:hover { background: #fff; color: #d2354c !important; -webkit-transition: background .2s ease-in; -moz-transition: background .2s ease-in; -ms-transition: background .2s ease-in; -o-transition: background .2s ease-in; transition: background .2s ease-in; -webkit-transition: color .2s ease-in; -moz-transition: color .2s ease-in; -ms-transition: color .2s ease-in; -o-transition: color .2s ease-in; transition: color .2s ease-in; }
    .goods-items:hover { -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); -webkit-transition: box-shadow .2s ease-in; -moz-transition: box-shadow .2s ease-in; -ms-transition: box-shadow .2s ease-in; -o-transition: box-shadow .2s ease-in; transition: box-shadow .2s ease-in; transform: translateY(-2px); -moz-transform: translateY(-2px); -webkit-transform: translateY(-2px); }
    .goods-floor .aggregation img { -webkit-transition: transform .6s ease-in; -moz-transition: transform .6s ease-in; -ms-transition: transform .6s ease-in; -o-transition: transform .6s ease-in; transition: transform .6s ease-in; }
    .goods-floor .aggregation img:hover { transform: scale(1.1); -moz-transform: scale(1.1); -webkit-transform: scale(1.1); -o-transform: scale(1.1); -ms-transform: scale(1.1); }

    /*商品卡片价格样式优化*/
    .goods-floor .goods-list .goods-items .price { color: #e60012; font-size: 16px; font-weight: bold; }
    .goods-floor .goods-list .goods-items .goods-title { color: #333; font-size: 13px; line-height: 1.4; }
    .goods-floor .goods-list .goods-items .sales-count { color: #999; font-size: 12px; }
    .goods-floor .goods-list .goods-items { background: #fff; }
}
	   
@media only screen and (min-width: 1025px) {
    .small-nav { display:none;}
    .am-g-fixed{max-width:1000px;}
    .goods-floor li{width:20%;}
    .banner-news{ padding: 10px; }
    .slideall{margin:0px auto;height:auto !important;min-height:0;position: relative; z-index: 5;}

    /*第一套轮播图布局*/
    .banner{position: relative; left:0px; z-index: 1; }
    .banner .am-slider .am-slides li{height:360px;}
    .banner .am-slider .am-slides img{width:1000px ;left:50% ;position: absolute;margin-left: -500px;}
    .banner .am-slider-default .am-direction-nav .am-next {right: 50px;}

    .category-content .category-list.navTwo li { height:36px;}
    .category-content .category-list.navTwo .b-category-name {line-height: 28px;}
    .category-content .category-list.navTwo .category-name i img {width: 22px; height: 22px;border-radius: 22px;}

    /*标题*/
    .items-nav-title{text-align: left;position: relative;margin-top:10px ; background: #fff; border-bottom: 2px solid #d2364c; padding-bottom: 0;}
    .items-nav-title .floor-title {float:left;border: none;margin:8px 0 0 0; font-size:16px;font-weight: 600; color: #333;}
    .items-nav-title .floor-desc {display:block;font-size: 12px;color: #999;float: left;margin-left: 10px;margin-top:12px;}
    .items-nav-title .more {display: block;position: absolute;right: 0px;top:12px;font-size: 12px;overflow: hidden;}
    .items-nav-title .more .more-link{color: #FFF;background: #F72862 none repeat scroll 0% 0%;display: block;line-height: 20px;padding: 0px 10px; border-radius: 10px;font-size: 14px;}
    .items-nav-title .today-brands{display: block;position: absolute;right: 50px;overflow: hidden;height: 20px; top: 12px;text-align: right;}
    .today-brands a {font-size:12px;display: inline-block;vertical-align: middle;margin:0px 5px;}

     /*改写的公告*/
    .banner-mixed{ position:relative;top:auto;right:auto;width:100%; background:#FFF; z-index: 2;border:none; opacity: 1; -webkit-transition: opacity .2s ease-in; -moz-transition: opacity .2s ease-in; -ms-transition: opacity .2s ease-in; -o-transition: opacity .2s ease-in; transition: opacity .2s ease-in; margin-bottom: 0; }
    .banner-mixed .banner-news li {float: none;width: 100%;padding:0px 5px;border:none ;height: 28px;line-height:32px ;}
    .banner-mixed:hover { opacity: 1; }

    /*楼层*/
    .outer-con .title {line-height:22px ;color:#666 ;}
    .goods-floor {position: relative;border: none; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.07); margin-bottom: 20px; background: #fff;}

    /*楼层左侧*/
    .aggregation .word{ padding: 5px 10px; }

    /*楼层颜色*/
    #floor1 .aggregation .triangle-topright{width: 0;height: 0;border-top: 30px solid #68937f;position: absolute;bottom:0px;border-left: 30px solid #fff}
    #floor2 .aggregation .triangle-topright{width: 0;height: 0;border-top: 30px solid #d17b28;position: absolute;bottom:0px;border-left: 30px solid #fff}
    #floor3 .aggregation .triangle-topright{width: 0;height: 0;border-top: 30px solid #594e90;position: absolute;bottom:0px;border-left: 30px solid #fff}
    #floor4 .aggregation .triangle-topright{width: 0;height: 0;border-top: 30px solid #728fb9;position: absolute;bottom:0px;border-left: 30px solid #fff}
    #floor5 .aggregation .triangle-topright{width: 0;height: 0;border-top: 30px solid #648b6c;position: absolute;bottom:0px;border-left: 30px solid #fff}
    #floor6 .aggregation .triangle-topright{width: 0;height: 0;border-top: 30px solid #cd6655;position: absolute;bottom:0px;border-left: 30px solid #fff}
    #floor7 .aggregation .triangle-topright{width: 0;height: 0;border-top: 30px solid #708db7;position: absolute;bottom:0px;border-left: 30px solid #fff}
    #floor8 .aggregation .triangle-topright{width: 0;height: 0;border-top: 30px solid #9c7b36;position: absolute;bottom:0px;border-left: 30px solid #fff}
    #floor9 .aggregation .triangle-topright{width: 0;height: 0;border-top: 30px solid #caa463;position: absolute;bottom:0px;border-left: 30px solid #fff}
    #floor10 .aggregation .triangle-topright{width: 0;height: 0;border-top: 30px solid #f768e8;position: absolute;bottom:0px;border-left: 30px solid #fff}

    /*首页商品模块间距美化*/
    .slideall .goods-floor { margin-bottom: 20px; }
    .slideall .goods-floor .floor-title { background: linear-gradient(135deg, #fff 0%, #fafafa 100%); border-left: 4px solid #d2364c; }
    .slideall .goods-floor .floor-title span { color: #333; font-weight: 600; }
}
	   
@media only screen and (min-width: 1260px) {
    .slideall{max-width: 1200px;margin:0px auto ;height:auto !important;}
    .am-g-fixed{max-width:1200px}

    /*轮播图布局*/
    .banner .am-slider .am-slides li{height:430px;}
    .banner .am-slider .am-slides img{width:1200px ;left:50% ;position: absolute;margin-left: -600px;}
    /*公告布局*/
    .banner-mixed { width:100%; text-align: left; }
    .banner-news{padding-top: 0px;}
    .banner-news li {height: 26px;line-height: 26px;}
    .banner-news-title{display: block; padding-left:5px; padding-top: 5px; border-top: 1px solid #eee; }
    .mod-vip{ display: block; padding: 10px; }
    .m-baseinfo{position: relative;margin-bottom: 10px;}
    .m-baseinfo img.user-avatar {display: block;width: 50px;height: 50px;border-radius: 50px;}
    .m-baseinfo em span {position: absolute;top:15px;left:60px;font-size: 12px;color: #3C3C3C;width: 140px;}
    .member-login .btn{width:48%;height: 25px;display: inline-block;line-height: 25px;text-align: center;}
    .member-login .btn:hover { color: #fff !important; text-decoration: none; }
    .member-login{overflow: hidden;height:25px;text-align: center;}
    .member-logout {  position: absolute; top: 33px; left: 60px; font-size: 12px; color: #f4546b; }
    .member-center { overflow: hidden; }
    .member-center a {float: left;margin-left: -1px;width:50px;text-align: center;border-left: 1px solid #EEE;font-size: 12px; text-decoration: none; }
    .member-center a strong {height: 18px;display: block;font-size: 14px;color: #F40;}

    /*楼层*/
    .goods-floor .aggregation { width: 222px; }
}

@media only screen and (max-width: 640px) {
    .items-nav-title{ padding: 0 10%;}
    .banner-news-title{line-height: 30px; height: 30px; color: #333; max-width: 62px;}
    .am-footer { padding-bottom: 50px; }

    /*楼层*/
    .goods-floor .aggregation { width: 100%; height: auto; }
    .aggregation .word { padding: 10px; }
    .word .outer { width: calc(33% - 12px); }
    .goods-floor .goods-list .goods-items { width: 50%; float: left; padding: 10px; border-bottom: 1px solid #eee; }
    .goods-floor .goods-list .goods-items:nth-of-type(2n + 1) { border-right: 1px solid #eee; }
    .goods-floor .goods-list .goods-items:nth-of-type(2n) { border-left: 1px solid transparent; }
}
