/* ==========================================================
   沫绯电商 · 网站样式
   版式参考传统企业站：页头 958px 居中 / 主体 950px 居中
   ========================================================== */

/* ---------- 基础 ---------- */
body { margin: 0; padding: 0; font: 12px/20px "SimSun", "宋体", Verdana, Arial, Helvetica, sans-serif; color: #555; background: #fff; }
a { color: #555; text-decoration: none; }
a:hover { color: #f00; text-decoration: underline; }
img { border: 0; vertical-align: middle; }
ul, ol, h1, h2, h3, p { margin: 0; padding: 0; }
.wrap { width: 958px; margin: 0 auto; }

/* ---------- 页头 ---------- */
.site-header { background: linear-gradient(to bottom, #e2e2e2 0, #e9e9e9 28px, #f5f5f5 69px, #ebebeb 118px, #d2d2d2 100%); }
.hd-top { height: 116px; display: flex; align-items: center; }
.hd-logo { display: block; margin-left: 5px; flex: none; }
.hd-logo img { display: block; width: 382px; height: 80px; }
.hd-slogan { margin-left: 22px; padding-left: 20px; border-left: 1px solid #d5d5d5; line-height: 1.3; }
.hd-slogan strong { display: block; font: bold 18px/1.5 "Microsoft YaHei", "微软雅黑", sans-serif; color: #444; letter-spacing: 1px; }
.hd-slogan span { display: block; font: 11px/1.6 Arial, Helvetica, sans-serif; color: #999; letter-spacing: .5px; }
.hd-right { margin-left: auto; padding: 4px 10px 0 0; text-align: right; align-self: flex-start; }
.hd-links { font-size: 12px; color: #999; }
.hd-links i { font-style: normal; margin: 0 8px; color: #ccc; }
.hd-links a { color: #999; }
.hd-tel { margin-top: 8px; font-size: 14px; font-weight: bold; color: #f00; line-height: 24px; }
.hd-tel a, .hd-tel a:hover { color: #f00; text-decoration: none; }

/* ---------- 主导航 ---------- */
.main-nav { padding-top: 4px; background: linear-gradient(#e9e9e9, #c5c5c5); border-radius: 8px 8px 0 0; position: relative; z-index: 50; }
.main-nav ul { display: flex; height: 33px; margin: 0; padding: 0 18px; list-style: none; background: linear-gradient(#384651, #2c3841); border-radius: 8px 8px 0 0; }
.main-nav li { flex: 1; position: relative; }
.main-nav li > a { display: block; height: 33px; line-height: 33px; text-align: center; font: bold 13px "Microsoft YaHei", "微软雅黑", sans-serif; color: #fff; text-decoration: none; border-radius: 8px 8px 0 0; }
.main-nav li > a:hover, .main-nav li > a:focus { color: #069; background: linear-gradient(#fff, #e4e4e4); outline: 0; }
.sub-menu { position: absolute; left: 0; top: 100%; width: 180px; background: #fff; border: 1px solid #c2c2c2; border-top: 0; box-shadow: 2px 2px 3px rgba(0, 0, 0, .35); display: none; z-index: 100; }
.sub-menu a { display: block; padding: 2px 0; text-indent: 20px; color: #555; border-bottom: 1px solid #c2c2c2; line-height: 20px; white-space: nowrap; }
.sub-menu a:hover { background: #eaf5fb; color: #1c6a98; text-decoration: none; }
.main-nav li.open .sub-menu { display: block; }

/* ---------- 首页轮播 ---------- */
.slider { width: 950px; height: 200px; margin: 0 auto; overflow: hidden; position: relative; background: #fff; }
.slider-track { display: flex; height: 200px; transition: transform .6s ease; }
.slide { flex: 0 0 950px; height: 200px; margin-right: 30px; position: relative; overflow: hidden; display: flex; align-items: center; }
.slide-txt { position: relative; z-index: 2; padding-left: 60px; }
.slide-txt h2 { margin: 0 0 12px; font: bold 36px/1.2 "Microsoft YaHei", "微软雅黑", sans-serif; letter-spacing: 2px; }
.slide-txt p { font: 16px/1.6 "Microsoft YaHei", "微软雅黑", sans-serif; }
.slide-img { position: absolute; right: 48px; top: 22px; height: 156px; }
.slide-1 { background: linear-gradient(100deg, #fff8ec 0%, #fde6cc 55%, #f8c48a 100%); }
.slide-1 h2 { color: #5a1a12; }
.slide-1 p { color: #7a4a2a; }
.slide-2 { background: linear-gradient(100deg, #fdf4ee 0%, #fbd0b0 55%, #f58220 100%); }
.slide-2 h2 { color: #4a2416; }
.slide-2 p { color: #6b3b22; }
.slide-3 { background: linear-gradient(100deg, #f6f7f9 0%, #e4ecf3 55%, #2c3841 100%); }
.slide-3 h2 { color: #22303b; }
.slide-3 p { color: #4a5a66; }

/* 内页横幅 */
.page-banner { width: 950px; height: 200px; margin: 0 auto; position: relative; overflow: hidden; display: flex; align-items: center;
  background: linear-gradient(100deg, #fff8ec 0%, #fde6cc 55%, #f8c48a 100%); }
.page-banner .slide-txt h2 { font-size: 32px; }
.page-banner .slide-img { height: 150px; top: 25px; }

/* ---------- 首页主体 ---------- */
.home-main { width: 950px; margin: 11px auto 0; display: flex; align-items: flex-start; }
.col-left { width: 386px; flex: none; }
.col-right { width: 552px; flex: none; margin-left: 12px; }

.panel { border: 1px solid #d8d8cc; }
.panel-beige { background: #edede1; padding: 0 5px 10px; }
.panel-hd { height: 39px; margin: 0 -5px; padding: 0 8px 0 14px; display: flex; align-items: center; border-bottom: 1px solid #d8d8cc; box-shadow: inset 0 -3px 0 #e5e5d9; background: #edede1; }
.ic-sq { flex: none; width: 11px; height: 10px; margin-right: 7px; background: linear-gradient(#dcf04a, #7cb52a); }
.panel-title { font: bold 14px/20px "SimSun", "宋体", serif; color: #1c6a98; }
.more-btn { margin-left: auto; width: 42px; height: 14px; border-radius: 7px; background: #8c8c8c; color: #fff; font: bold 9px/14px Arial, sans-serif; text-align: center; letter-spacing: 1px; text-decoration: none; }
.more-btn:hover { background: #6f6f6f; color: #fff; text-decoration: none; }

/* 左栏：精选好物列表 */
.pick-list { list-style: none; margin: 6px 0 0; padding: 0; }
.pick-list li { display: flex; align-items: center; height: 68px; padding-left: 8px; }
.pick-img { flex: none; width: 168px; height: 62px; border: 1px solid #cfcdaf; background: #fff; display: flex; align-items: center; justify-content: center; }
.pick-img img { display: block; width: 128px; height: 60px; }
.pick-txt { width: 178px; margin-left: 4px; }
.pick-txt h3 { height: 15px; line-height: 15px; font-size: 12px; font-weight: bold; white-space: nowrap; overflow: hidden; }
.pick-txt h3 a { color: #555; }
.pick-txt h3 a:hover { color: #f00; text-decoration: none; }
.pick-txt p { margin-top: 6px; color: #959595; line-height: 20px; max-height: 40px; overflow: hidden; }
.pick-txt p a { color: #959595; }
.pick-txt p a:hover { color: #f00; text-decoration: none; }

/* 左栏：分类九宫格 */
.cat-grid { width: 100%; border-collapse: collapse; margin-top: 10px; }
.cat-grid td { height: 31px; border: 1px solid #cfcdaf; background: #edede1; text-align: center; }
.cat-grid a { color: #555; }

/* 右栏：服务四格 */
.service-grid { height: 238px; box-sizing: border-box; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; background: #fff; }
.sg-item { display: flex; padding: 8px 14px 6px 4px; position: relative; }
.sg-item:nth-child(1), .sg-item:nth-child(2) { border-bottom: 1px solid #e3e1d3; }
.sg-item:nth-child(odd) { border-right: 1px solid #e3e1d3; }
.sg-img { flex: none; margin: 0 10px 0 6px; }
.sg-img img { display: block; width: 85px; height: 95px; }
.sg-txt { flex: 1; min-width: 0; }
.sg-txt .d { color: #555; line-height: 20px; max-height: 60px; overflow: hidden; }
.sg-name { margin-top: 8px; text-align: center; font-size: 14px; font-weight: bold; }
.sg-name a { color: #f00; }

/* 右栏：资讯列表 */
.news-block { margin-top: 10px; }
.bar { height: 32px; display: flex; align-items: center; padding-left: 8px; background: linear-gradient(#fff 29px, #e1e1e1 29px, #e1e1e1 30px, #f7f7f7 30px); }
.ic-dots { flex: none; width: 21px; height: 13px; margin-right: 6px; background: conic-gradient(#666 25%, transparent 0 50%, #666 0 75%, transparent 0) 0 0 / 6px 6px; }
.bar-title { font: bold 14px/20px "SimSun", "宋体", serif; color: #1c6a98; }
.news-list { list-style: none; }
.news-list li { display: flex; align-items: center; height: 28px; }
.ic-arrow { flex: none; width: 13px; height: 13px; position: relative; }
.ic-arrow::before { content: ""; position: absolute; left: 4px; top: 3px; width: 4px; height: 4px; border: solid #aaa; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.news-list a { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #555; }
.news-list a:hover { color: #f00; text-decoration: underline; }
.news-list .date { flex: none; width: 87px; text-align: right; color: #959595; }

/* 右栏：友情链接 */
.links-panel { margin-top: 10px; display: flex; padding: 6px; }
.lp-ic { flex: none; margin: 2px 8px 2px 0; }
.lp-list h3 { margin-bottom: 4px; font-size: 12px; color: #069; }
.lp-list ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 10px; }
.lp-list li { height: 20px; padding-left: 4px; white-space: nowrap; overflow: hidden; }

/* ---------- 页脚 ---------- */
.site-footer { width: 950px; height: 68px; margin: 12px auto 0; display: flex; align-items: center;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0) 60px, rgba(255, 255, 255, 0) 890px, #fff),
              linear-gradient(to bottom, #dadada, #e8e8e8 1px, #f7f7f7 18px); }
.ft-logo { margin-left: 90px; }
.ft-logo img { display: block; height: 40px; }
.ft-copy { flex: 1; text-align: center; color: #959595; }
.ft-copy a { color: #959595; }

/* ---------- 右侧悬浮客服 ---------- */
.float-contact { position: fixed; right: 1px; top: 200px; width: 102px; z-index: 200; font-size: 12px; }
.fc-close { display: block; height: 31px; padding-left: 22px; line-height: 31px; color: #fff !important; text-decoration: none !important;
  background: linear-gradient(#93a9b8, #6b8190); position: relative; }
.fc-close::before { content: ""; position: absolute; left: 7px; top: 9px; width: 13px; height: 10px; border-radius: 3px; background: #fff; }
.fc-close::after { content: ""; position: absolute; right: 8px; top: 12px; width: 5px; height: 5px; border: solid #fff; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.fc-body { border: 1px solid #e3e3e3; border-top: 0; background: #fff; text-align: center; padding: 1px 0; }
.fc-title { font-size: 12px; font-weight: bold; line-height: 200%; color: #1a649d; }
.fc-qq { padding: 4px 0 6px; }
.fc-qq ul { list-style: none; }
.fc-qq li { padding: 3px 0 5px; }
.fc-qq a { display: inline-block; padding-left: 20px; line-height: 18px; color: #1a649d; background: url(../images/icon/chat.svg) no-repeat 0 2px; }
.fc-qq a:hover { color: #f60; }
.fc-tel { padding: 2px 4px 14px; border-top: 1px solid #f0f0f0; }
.fc-tel-no { font-size: 13px; font-weight: bold; line-height: 130%; color: #f60; white-space: nowrap; }
.fc-link { display: block; height: 38px; line-height: 38px; text-align: center; color: #fff !important; text-decoration: none !important; background: #4b4b4b; border-bottom: 2px solid #fa8400; }
.fc-link:hover { background: #3a3a3a; }
.float-contact-mini { position: fixed; right: 1px; top: 200px; z-index: 200; display: none; width: 28px; padding: 8px 0 10px; text-align: center;
  background: linear-gradient(#93a9b8, #6b8190); border-radius: 4px 0 0 4px; }
.float-contact-mini a { display: block; color: #fff !important; text-decoration: none !important; writing-mode: vertical-lr; letter-spacing: 2px; margin: 0 auto; padding-top: 22px;
  background: url(../images/icon/chat-w.svg) no-repeat center top; }
body.fc-collapsed .float-contact { display: none; }
body.fc-collapsed .float-contact-mini { display: block; }

/* ---------- 内页：侧栏 + 内容 ---------- */
.page-main { width: 950px; margin: 0 auto; display: flex; align-items: flex-start; padding-bottom: 10px; }
.sidebar { width: 200px; flex: none; }
.sb-hd { height: 34px; padding-left: 12px; color: #fff; font: bold 14px/34px "Microsoft YaHei", "微软雅黑", sans-serif; background: linear-gradient(#4f9fd6, #1b6ea8); border-radius: 6px 6px 0 0; box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2); position: relative; }
.sb-hd i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #fff; margin-right: 7px; vertical-align: -1px; position: relative; }
.sb-hd i::after { content: ""; position: absolute; left: 4px; top: 3px; border: 3px solid transparent; border-left: 5px solid #1b6ea8; }
.sb-list { list-style: none; margin: 8px 0 0; padding: 0 4px; }
.sb-list li { height: 29px; line-height: 29px; padding-left: 10px; border-bottom: 1px solid #eee; white-space: nowrap; overflow: hidden; }
.sb-list li::before { content: ""; display: inline-block; width: 4px; height: 4px; border: solid #b5b5b5; border-width: 1px 1px 0 0; transform: rotate(45deg); margin: 0 9px 2px 0; }
.sb-list a { color: #555; }
.sb-list a:hover, .sb-list li.on a { color: #1c6a98; }
.content { width: 736px; flex: none; margin-left: 14px; }
.ct-hd { height: 36px; display: flex; align-items: center; padding-left: 8px; border-bottom: 1px solid #e3e3e3; }
.ct-hd h1 { font: bold 14px/20px "SimSun", "宋体", serif; color: #1c6a98; }
.crumbs { margin-left: auto; color: #555; }
.crumbs a { color: #555; }
.crumbs .cur { color: #f60; }

/* 列表卡片 */
.card { margin-top: 12px; border: 1px solid #d8d8cc; border-radius: 5px; overflow: hidden; }
.card-hd { height: 30px; line-height: 30px; padding-left: 12px; font-size: 14px; font-weight: bold; color: #333; background: linear-gradient(#fafafa, #e2e2e2); border-bottom: 1px solid #dcdcdc; }
.card-hd a { color: #333; }
.card-bd { display: flex; padding: 14px 12px 10px; }
.card-bd .thumb { flex: none; width: 150px; height: 90px; border: 1px solid #ddd; background: #fff; }
.card-bd .txt { flex: 1; margin-left: 18px; }
.card-bd .txt p { margin-bottom: 10px; line-height: 22px; }
.view-more { color: #f60; font-weight: bold; }
.view-more::before { content: ""; display: inline-block; width: 0; height: 0; border: 4px solid transparent; border-left: 6px solid #1c6a98; margin-right: 3px; }
.view-more:hover { color: #f60; }

/* 图文 / 详情 */
.article { padding: 10px 2px; line-height: 22px; }
.article p { margin-bottom: 12px; text-indent: 2em; }
.article h3 { margin: 18px 0 8px; font-size: 14px; color: #1c6a98; }
.article .figure { margin: 14px 0; text-align: center; }
.article .figure img { max-width: 100%; }
.detail-title { margin: 28px 0 18px; text-align: center; font: bold 22px/1.4 "Microsoft YaHei", "微软雅黑", sans-serif; color: #333; }
.detail-meta { margin-bottom: 14px; text-align: center; color: #999; }
.detail-actions { margin-top: 10px; padding: 22px 0 26px; border-top: 1px solid #e5e5e5; text-align: center; }
.btn-mini { display: inline-block; height: 18px; line-height: 16px; padding: 0 10px; border: 1px solid #ccc; border-radius: 3px; background: linear-gradient(#fff, #eee); color: #1c6a98; font: bold 10px Verdana, sans-serif; }
.btn-mini:hover { color: #f60; text-decoration: none; }
.btn-mini i { font-style: normal; color: #6cb238; margin-right: 3px; }
.btn-mini.top i { color: #e8a000; }

/* 占位框（待替换的图片位置） */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #c9c9bd; background: #fafaf5; color: #aaa; text-align: center; line-height: 20px; }
.ph b { font-size: 14px; color: #999; }

/* 荣誉墙 */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.honor-item .ph { height: 200px; }
.honor-item p { margin-top: 6px; text-align: center; }

/* 三栏理念 */
.idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 16px; }
.idea { padding: 14px 12px; border: 1px solid #e8dccb; background: #fffaf2; text-align: center; }
.idea b { display: block; margin-bottom: 6px; font: bold 16px "Microsoft YaHei", "微软雅黑", sans-serif; color: #b5121b; }
.idea p { text-indent: 0 !important; margin: 0 !important; }

/* 联系方式 */
.contact-row { display: flex; margin-bottom: 14px; }
.contact-row b { flex: none; width: 90px; color: #333; }
.qr { width: 200px; height: 200px; }
