@charset "utf-8";
/*这里是调用友价商城系统全站的样式，不受模板等影响，就是不管哪个模板，都是需要这些共用样式的 www.yj99.cn 请勿修改，否则影响全站*/

/*全站主题颜色 同一系列，从深到浅，最多三色*/
.g_abg{color:#333;} /*鼠标放上去有背景色的，主要用于列表筛选那种*/
.g_abg:hover{color:#fff;background-color:#dd0000;}
.g_abg_h{color:#fff;background-color:#dd0000;}

.g_abg1{background-color:#dd0000;} /*直接带背景颜色，用于一些a颜色之类的*/
.g_abg1:hover{background-color:#c10505;}

.g_bg{background-color:#dd0000;} /*直接带背景颜色,填充一些div之类的*/

.g_border{border-color:#dd0000;} /*边框颜色*/

.g_a{color:#dd0000;} /*常规a颜色*/
/*全站主题色结束*/

body{margin:0;font-size:12px;text-align:center;color:#333;word-wrap:break-word;font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu;}
p{margin:2pt 0 0 0;}
*{margin:0 auto;padding:0;}
ul{list-style-type:none;margin:0;padding:0;}
a{color:#333;text-decoration:none;}
a:hover{text-decoration:none;}
.acy{-webkit-transition:color 0.2s linear;-moz-transition:color 0.2s linear;-o-transition:color 0.2s linear;transition:color 0.2s linear;}
.bgcy{-webkit-transition-:background-color 0.2s linear;-moz-transition:background-color 0.2s linear;-o-transition:background-color 0.2s linear;transition:background-color 0.2s linear;}
form{margin:0;}
table,td{border-collapse:collapse;font-size:12px;}
input,select,textarea{outline:medium;font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu;}
.yjcode{width:1400px;}
.fontyh{font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu;color:#000;}
.red{color:#f00;}
.feng{color:#ff6600;}
.blue{color:#2255DD;}
.hui{color:#999;}
.green{color:#008800;}
.redony{background-color:#CFF;border:#999 solid 1px;color:red;}
.bfb{float:left;width:100%;clear:both;}
.clear{float:left;width:100%;}
.clear10{height:10px;}
.clear15{height:15px;}
.clear20{height:20px;}
.ad1{margin:15px 0 0 0;float:left;}
.ad{float:left;}
.adf{float:left;margin:-10px 0 0 0;}
.adbottom .ad1{float:left;margin:0 0 8px 0;}

.topbanner_hj{width:100%;min-width:1400px;float:left;}
.topbanner_hj a{display:block;width:100%;height:100%;}

.dqwz{float:left;width:1400px;height:25px;margin:15px 0 0 0;text-align:left;font-size:14px;color:#7F7F7F;}
.dqwz .u1{float:left;width:1400px;}
.dqwz .u1 li{float:left;}
.dqwz .u1 .l1{width:950px;}
.dqwz .u1 .l1 a{color:#7F7F7F;}
.dqwzbai{color:#fff;}
.dqwzbai .u1 .l1 a{color:#fff;}

/*显示一行*/
.lineone{display:inline-block;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis;}
.linetwo{text-overflow: -o-ellipsis-lastline;overflow:hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;line-clamp: 2;-webkit-box-orient: vertical;}
.linethree{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;}

.glopage{float:left;margin:20px 0 0 0;width:100%;padding:0 0 0 0;height:35px;clear:both;text-align:center;}
.glopage a{border:#E9E9E9 solid 1px;margin:0 2px;padding:8px 12px 9px 11px;background-color:#fff;}
.glopage a:hover{text-decoration:none;background-color:#F5F5F5;}
.glopage .a1{padding:8px 12px 9px 11px;color:#ff6600;}

.dlclo{float:left;width:100px;line-height:30px;text-align:center;cursor:pointer;}














/* ============================================
   列表页 + 详情页 shipin520 风格改版
   消防主题差异化（橙色 #ff6600）
   追加到 global.css 末尾，全站生效
   ============================================ */

/* ===== 列表页：素材卡片大圆角风格 ===== */
.serlist {
    float: left;
    width: 100%;
    margin: 20px 0 0 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.serlist .u1 {
    float: left;
    margin: 0 15px 25px 15px;
    width: 310px;
    height: auto;
    overflow: hidden;
    text-align: left;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: none;
}

.serlist .u1:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.serlist .u1 li {
    float: left;
    width: 100%;
}

.serlist .u1 .l1 {
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    height: 210px;
    overflow: hidden;
    margin-right: 0 !important;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.serlist .u1 .l1 img {
    width: 100% !important;
    height: 210px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.serlist .u1:hover .l1 img {
    transform: scale(1.08);
}

.serlist .u1 .l2 {
    width: 100% !important;
    height: auto !important;
    line-height: 1.5 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 14px 8px 14px;
    box-sizing: border-box;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;
}

.serlist .u1 .l3 {
    width: 100% !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1.6 !important;
    font-size: 13px !important;
    padding: 0 14px 12px 14px;
    box-sizing: border-box;
    color: #888;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 列表页：价格标签 ===== */
.serlist .u1 .money {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6600, #ff8c42);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255,102,0,0.4);
}

/* ===== 列表页：筛选/排序条升级 ===== */
.sxlist {
    background: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px 0 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ===== 详情页：大布局改版 ===== */
.viewmain {
    padding: 20px 0;
}

.viewmain .left {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.viewmain .right {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

/* ===== 详情页：标题升级 ===== */
.viewtit {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #222;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

/* ===== 详情页：信息区域 ===== */
.viewinfo {
    background: #fafafa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.viewinfo div {
    line-height: 2 !important;
    font-size: 14px;
    color: #555;
}

.viewinfo strong {
    color: #333;
    margin-right: 8px;
}

/* ===== 详情页：预览区域升级 ===== */
.viewyulan {
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    background: #fefefe;
}

.viewyulan_title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff6600;
    display: inline-block;
}

/* ===== 详情页：右侧推荐 ===== */
.viewrightbox {
    margin-bottom: 20px;
}

.viewrightbox .tit {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333;
    padding: 12px 15px;
    background: #f9f9f9;
    border-radius: 8px 8px 0 0;
    border-left: 4px solid #ff6600;
}

.viewrightbox ul {
    padding: 10px 15px;
}

.viewrightbox li {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 13px;
}

.viewrightbox li:last-child {
    border-bottom: none;
}

.viewrightbox li a {
    color: #555;
    transition: color 0.2s;
}

.viewrightbox li a:hover {
    color: #ff6600;
}

/* ===== 详情页：下载按钮升级 ===== */
.downbtn {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background: linear-gradient(135deg, #ff6600, #ff8c42);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255,102,0,0.3);
}

.downbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,102,0,0.4);
    color: #fff;
}

/* ===== 公共：面包屑升级 ===== */
.crumbs {
    padding: 15px 0;
    font-size: 13px;
    color: #888;
}

.crumbs a {
    color: #666;
    transition: color 0.2s;
}

.crumbs a:hover {
    color: #ff6600;
}

/* ===== 分页样式升级 ===== */
.fenye {
    text-align: center;
    padding: 30px 0;
}

.fenye a,
.fenye span {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 3px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    background: #fff;
    transition: all 0.2s;
}

.fenye a:hover {
    border-color: #ff6600;
    color: #ff6600;
}

.fenye .current {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* ===== 通用版块标题渐变条 ===== */
.box-title {
    position: relative;
    padding-left: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}

.box-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #ff6600, #ff8c42);
    border-radius: 2px;
}

/* ===== 右侧栏通用卡片 ===== */
.side-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.side-card-header {
    padding: 12px 15px;
    background: #fafafa;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.side-card-body {
    padding: 15px;
}
