/* ==========================================================================
   Destoon B2B 复刻版 - 默认皮肤样式
   ThinkPHP 8.1 | Destoon 10.0 风格
   ========================================================================== */

/* ========== 1. 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

a { color: #2c6dad; text-decoration: none; transition: color 0.2s; }
a:hover { color: #e4393c; }
a:active { color: #c00; }

ul, ol { list-style: none; }

img { border: 0; vertical-align: middle; max-width: 100%; }

input, select, textarea, button { font-family: inherit; font-size: inherit; outline: none; }

table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

em, i { font-style: normal; }

.clearfix::after { content: ""; display: table; clear: both; }

.container { width: 1200px; margin: 0 auto; }

.text-red { color: #e4393c; }
.text-green { color: #52a532; }
.text-gray { color: #999; }
.text-blue { color: #2c6dad; }

.empty-tip { text-align: center; color: #999; padding: 20px 0; }
.empty-box { text-align: center; color: #999; padding: 40px 0; font-size: 14px; }
.empty-box em { color: #e4393c; font-style: normal; }
.empty-box a { color: #2c6dad; }

/* ========== 2. 布局 ========== */
#dt-wrapper { min-height: 100vh; }

.dt-main { padding: 15px 0; background: transparent; }
.dt-main-inner { display: flex; gap: 15px; }
.dt-content { flex: 1; min-width: 0; background: #fff; border-radius: 4px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.dt-sidebar { width: 280px; flex-shrink: 0; }

.dt-bread { padding: 10px 0; color: #999; font-size: 13px; }
.dt-bread a { color: #666; }
.dt-bread a:hover { color: #e4393c; }

/* ========== 3. 顶部栏 ========== */
.dt-topbar { background: #f0f0f0; border-bottom: 1px solid #e0e0e0; height: 32px; line-height: 32px; font-size: 12px; color: #666; }
.dt-topbar .container { display: flex; justify-content: space-between; align-items: center; }
.dt-topbar a { color: #666; }
.dt-topbar a:hover { color: #e4393c; }
.dt-sep { color: #ccc; margin: 0 5px; }

/* ========== 4. 头部 ========== */
.dt-header { background: #fff; padding: 20px 0; border-bottom: 3px solid #2c6dad; }
.dt-header .container { display: flex; align-items: center; gap: 30px; }

.dt-logo { width: 240px; flex-shrink: 0; }
.dt-logo img { max-height: 60px; }
.dt-logo-text { font-size: 24px; font-weight: bold; color: #2c6dad; }

.dt-search { flex: 1; }
.dt-search-box { display: flex; align-items: center; border: 2px solid #2c6dad; border-radius: 4px; overflow: hidden; }
.dt-search-module { border: 0; border-right: 1px solid #e0e0e0; padding: 8px 10px; background: #f8f8f8; height: 38px; cursor: pointer; }
.dt-search-input { flex: 1; border: 0; padding: 8px 15px; height: 38px; font-size: 14px; }
.dt-search-btn { border: 0; background: #2c6dad; color: #fff; padding: 0 30px; height: 38px; cursor: pointer; font-size: 15px; font-weight: bold; }
.dt-search-btn:hover { background: #1a5a8a; }
.dt-hot-keywords { margin-top: 5px; font-size: 12px; color: #999; }
.dt-hot-keywords a { color: #999; margin-right: 8px; }
.dt-hot-keywords a:hover { color: #e4393c; }

.dt-header-right { display: flex; flex-direction: column; gap: 8px; }
.dt-btn-publish { background: #e4393c; color: #fff; padding: 8px 20px; border-radius: 4px; font-weight: bold; text-align: center; }
.dt-btn-publish:hover { background: #d62e2e; color: #fff; }
.dt-btn-mcenter { background: #f0f0f0; color: #666; padding: 6px 20px; border-radius: 4px; text-align: center; border: 1px solid #e0e0e0; }
.dt-btn-mcenter:hover { background: #e8e8e8; color: #333; }

/* ========== 5. 导航栏 ========== */
.dt-navbar { background: #2c6dad; height: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dt-nav-menu { display: flex; flex-wrap: nowrap; white-space: nowrap; }
.dt-nav-menu li { position: relative; }
.dt-nav-menu li a { display: block; padding: 0 14px; line-height: 44px; color: #fff; font-size: 15px; white-space: nowrap; }
.dt-nav-menu li a:hover { background: #1a5a8a; color: #fff; }
.dt-nav-menu li.active a, .dt-nav-menu li.cur a { background: #1a5a8a; }

/* ========== 6. 侧边栏 ========== */
.side-box { background: #fff; border-radius: 4px; margin-bottom: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.side-box-hd { padding: 10px 15px; border-bottom: 2px solid #2c6dad; }
.side-box-hd h3 { font-size: 15px; color: #333; font-weight: bold; }
.side-box-bd { padding: 12px 15px; }

.side-member-hello { margin-bottom: 10px; color: #666; }
.side-member-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.side-member-actions a { display: inline-block; padding: 5px 12px; border-radius: 3px; font-size: 13px; background: #f0f0f0; color: #666; }
.side-member-actions a:hover { background: #2c6dad; color: #fff; }
.side-member-actions .btn-login { background: #e4393c; color: #fff; }
.side-member-actions .btn-reg { background: #2c6dad; color: #fff; }
.side-member-tip { color: #999; margin-bottom: 10px; }

.side-menu li { border-bottom: 1px dashed #eee; }
.side-menu li:last-child { border-bottom: 0; }
.side-menu li a { display: block; padding: 8px 5px; color: #666; }
.side-menu li a:hover { color: #e4393c; padding-left: 10px; }
.side-menu li.cur a { color: #e4393c; font-weight: bold; }

/* ========== 7. 首页样式 ========== */
.home-banner { display: flex; gap: 15px; margin-bottom: 15px; }
.home-slider { flex: 1; height: 320px; overflow: hidden; border-radius: 4px; position: relative; background: #ddd; }
.home-slide { width: 100%; height: 100%; }
.home-slide img { width: 100%; height: 320px; object-fit: cover; }
.home-slide-ph { width: 100%; height: 320px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2c6dad, #1a5a8a); color: #fff; font-size: 20px; }

.home-quick { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 15px; }
.home-quick-tab, .home-quick-announce { background: #fff; border-radius: 4px; padding: 12px 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.home-quick-tab h3, .home-quick-announce h3 { font-size: 15px; font-weight: bold; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
.home-quick-tab ul { display: flex; flex-wrap: wrap; gap: 10px; }
.home-quick-tab li { width: calc(33.333% - 7px); }
.home-quick-tab li a { display: flex; flex-direction: column; align-items: center; padding: 10px 5px; border-radius: 4px; background: #f8f8f8; font-size: 12px; color: #666; }
.home-quick-tab li a:hover { background: #2c6dad; color: #fff; }
.home-quick-tab .ico { width: 32px; height: 32px; display: block; background: #ddd; border-radius: 50%; margin-bottom: 5px; }

.home-quick-announce ul li { padding: 4px 0; font-size: 13px; }
.home-quick-announce ul li a { color: #666; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.home-section { background: #fff; border-radius: 4px; margin-bottom: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.home-section-hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 2px solid #2c6dad; }
.home-section-hd h2 { font-size: 18px; font-weight: bold; color: #333; }
.home-section-hd .more a { font-size: 13px; color: #999; }
.home-section-bd { padding: 15px 20px; }

.home-row { display: flex; gap: 15px; margin-bottom: 15px; }
.home-col { flex: 1; }

/* 缩略图列表 */
.thumb-list { display: flex; flex-wrap: wrap; gap: 15px; }
.thumb-list li { background: #fff; border: 1px solid #eee; border-radius: 4px; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.thumb-list li:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.1); transform: translateY(-2px); }
.thumb-list-4 li { width: calc(25% - 12px); }
.thumb-list-5 li { width: calc(20% - 12px); }
.thumb-list-6 li { width: calc(16.666% - 13px); }
.thumb-img { display: block; position: relative; overflow: hidden; }
.thumb-img img { width: 100%; height: 160px; object-fit: cover; transition: transform 0.3s; }
.thumb-list li:hover .thumb-img img { transform: scale(1.05); }
.thumb-title { display: block; padding: 8px 10px 4px; font-size: 13px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb-title:hover { color: #e4393c; }
.thumb-price { padding: 0 10px 8px; font-size: 14px; color: #e4393c; font-weight: bold; }
.thumb-meta { padding: 0 10px 8px; font-size: 12px; color: #999; }

.tag-elite { position: absolute; top: 5px; left: 5px; background: #e4393c; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 2px; }

/* 文字列表 */
.text-list li { padding: 6px 0; border-bottom: 1px dashed #eee; overflow: hidden; }
.text-list li:last-child { border-bottom: 0; }
.text-list li a { color: #666; }
.text-list li a:hover { color: #e4393c; }
.text-list-price { float: right; color: #e4393c; margin-left: 10px; }
.text-list-area { float: right; color: #999; margin-left: 10px; font-size: 12px; }
.text-list-date { float: right; color: #bbb; margin-left: 10px; font-size: 12px; }

/* ========== 8. 模块页面 ========== */
.mod-head { display: flex; align-items: center; padding-bottom: 15px; border-bottom: 2px solid #2c6dad; margin-bottom: 15px; }
.mod-head h1 { font-size: 20px; font-weight: bold; color: #333; }
.mod-head-total { margin-left: 15px; color: #999; font-size: 13px; }
.mod-head-total em { color: #e4393c; font-style: normal; font-weight: bold; }
.mod-head .btn-post { margin-left: auto; background: #e4393c; color: #fff; padding: 6px 20px; border-radius: 4px; font-size: 13px; }
.mod-head .btn-post:hover { background: #d62e2e; color: #fff; }

.mod-block { margin-bottom: 20px; }
.mod-block-hd { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.mod-block-hd h2 { font-size: 16px; font-weight: bold; }
.mod-block-hd .more a { font-size: 13px; color: #999; }
.mod-block-bd { padding: 12px 0; }

/* 筛选 */
.filter-box { background: #f8f8f8; border-radius: 4px; padding: 10px 15px; margin-bottom: 15px; }
.filter-row { display: flex; align-items: flex-start; padding: 5px 0; border-bottom: 1px dashed #e8e8e8; }
.filter-row:last-child { border-bottom: 0; }
.filter-label { width: 60px; color: #999; font-size: 13px; flex-shrink: 0; line-height: 28px; }
.filter-items { flex: 1; display: flex; flex-wrap: wrap; gap: 5px; }
.filter-items a { display: inline-block; padding: 3px 12px; border-radius: 3px; font-size: 13px; color: #666; }
.filter-items a:hover { color: #2c6dad; }
.filter-items a.cur { background: #2c6dad; color: #fff; }

/* 排序 */
.sort-bar { display: flex; align-items: center; padding: 8px 0; margin-bottom: 15px; border-bottom: 1px solid #eee; }
.sort-label { color: #999; font-size: 13px; margin-right: 10px; }
.sort-bar a { padding: 4px 15px; font-size: 13px; color: #666; border-right: 1px solid #eee; }
.sort-bar a:last-child { border-right: 0; }
.sort-bar a.cur { color: #e4393c; font-weight: bold; }

/* 模块列表项 */
.mod-list { margin-bottom: 20px; }
.mod-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; }
.mod-item-thumb { position: relative; width: 160px; height: 120px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.mod-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mod-item-info { flex: 1; min-width: 0; }
.mod-item-info h3 { font-size: 15px; margin-bottom: 8px; }
.mod-item-info h3 a { color: #333; }
.mod-item-info h3 a:hover { color: #e4393c; }
.mod-item-intro { color: #999; font-size: 13px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mod-item-meta { font-size: 12px; color: #999; }
.mod-item-meta span { margin-right: 15px; }
.mod-item-meta .price { color: #e4393c; font-size: 14px; font-weight: bold; }
.mod-item-action { display: flex; flex-direction: column; gap: 8px; justify-content: center; width: 100px; flex-shrink: 0; }
.mod-item-action a { display: block; text-align: center; padding: 6px 0; border-radius: 3px; font-size: 13px; }
.btn-view { background: #f0f0f0; color: #666; border: 1px solid #e0e0e0; }
.btn-view:hover { background: #e8e8e8; }
.btn-inquiry { background: #e4393c; color: #fff; }
.btn-inquiry:hover { background: #d62e2e; color: #fff; }

/* ========== 9. 内容详情页 ========== */
.show-page { padding: 0; }
.show-head { padding-bottom: 15px; border-bottom: 2px solid #2c6dad; margin-bottom: 20px; }
.show-title { font-size: 22px; font-weight: bold; color: #333; margin-bottom: 10px; }
.show-meta { font-size: 13px; color: #999; }

.show-main { display: flex; gap: 30px; margin-bottom: 25px; }
.show-gallery { width: 400px; flex-shrink: 0; }
.show-pic-main { width: 100%; height: 400px; border: 1px solid #eee; overflow: hidden; margin-bottom: 10px; }
.show-pic-main img { width: 100%; height: 100%; object-fit: cover; }
.show-pic-thumbs { display: flex; gap: 8px; }
.show-pic-thumbs li { width: 70px; height: 70px; border: 1px solid #eee; cursor: pointer; overflow: hidden; }
.show-pic-thumbs li img { width: 100%; height: 100%; object-fit: cover; }

.show-attrs { flex: 1; }
.attr-list { margin-bottom: 20px; }
.attr-list li { padding: 8px 0; border-bottom: 1px dashed #eee; display: flex; }
.attr-name { width: 80px; color: #999; font-size: 13px; }
.attr-value { flex: 1; color: #333; }
.attr-value.price { color: #e4393c; font-size: 20px; font-weight: bold; }

.show-actions { display: flex; gap: 10px; margin-bottom: 20px; }
.show-actions button, .show-actions a { display: inline-block; padding: 8px 25px; border-radius: 4px; font-size: 14px; cursor: pointer; border: 0; }
.btn-inquiry { background: #e4393c; color: #fff; }
.btn-price { background: #ff6700; color: #fff; }
.btn-favor { background: #f0f0f0; color: #666; border: 1px solid #e0e0e0; }
.btn-report { background: #f0f0f0; color: #666; border: 1px solid #e0e0e0; }

.show-company-card { display: flex; align-items: center; gap: 12px; padding: 15px; background: #f8f8f8; border-radius: 4px; }
.sc-logo { width: 60px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.sc-logo img { width: 100%; height: 100%; object-fit: cover; }
.sc-info { flex: 1; }
.sc-name { font-size: 14px; font-weight: bold; color: #333; }
.sc-bus { font-size: 12px; color: #999; margin-top: 3px; }
.sc-area { font-size: 12px; color: #999; }
.sc-link { color: #2c6dad; font-size: 13px; }

.show-detail { margin-bottom: 25px; }
.show-detail-hd { padding: 10px 0; border-bottom: 2px solid #2c6dad; }
.show-detail-hd h3 { font-size: 16px; font-weight: bold; }
.show-detail-bd { padding: 15px 0; line-height: 2; }
.show-intro { color: #666; margin-bottom: 15px; padding: 10px; background: #f8f8f8; border-left: 3px solid #2c6dad; }

.show-contact { margin-bottom: 25px; }
.contact-list li { padding: 8px 0; border-bottom: 1px dashed #eee; }
.contact-list span { color: #999; display: inline-block; width: 80px; }
.contact-tip { margin-top: 15px; padding: 10px; background: #fffbe6; border: 1px solid #ffe58f; border-radius: 4px; color: #d48806; font-size: 13px; }

.show-comment { margin-bottom: 25px; }
.comment-form textarea { width: 100%; height: 100px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; resize: vertical; }
.comment-form-bar { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.comment-form-bar select { padding: 6px; border: 1px solid #ddd; border-radius: 4px; }
.btn-comment { margin-left: auto; background: #2c6dad; color: #fff; padding: 8px 25px; border-radius: 4px; border: 0; cursor: pointer; }

.show-pager { display: flex; justify-content: space-between; padding: 15px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.show-pager em { color: #999; font-style: normal; }
.show-pager a { color: #2c6dad; }

.show-related { margin-bottom: 25px; }

/* ========== 10. 搜索页 ========== */
.search-page .search-head { padding-bottom: 15px; border-bottom: 1px solid #eee; margin-bottom: 15px; }
.search-head h1 { font-size: 20px; font-weight: bold; }
.search-kw { color: #999; margin-top: 5px; }
.search-kw em { color: #e4393c; font-style: normal; }
.search-kw strong { color: #333; }

.search-form-box { margin-bottom: 15px; }
.search-form-box form { display: flex; gap: 10px; }
.search-input { flex: 1; height: 38px; border: 2px solid #2c6dad; border-radius: 4px; padding: 0 15px; }
.search-cat { height: 38px; border: 1px solid #ddd; border-radius: 4px; padding: 0 10px; }
.search-btn { background: #2c6dad; color: #fff; border: 0; padding: 0 30px; height: 38px; border-radius: 4px; cursor: pointer; font-weight: bold; }

/* ========== 11. 发布/编辑页 ========== */
.post-page { }
.post-head { padding-bottom: 15px; border-bottom: 2px solid #2c6dad; margin-bottom: 20px; }
.post-head h1 { font-size: 20px; font-weight: bold; }
.post-tip { color: #999; font-size: 13px; margin-top: 5px; }
.post-tip em { color: #e4393c; font-style: normal; }

.post-form { }
.form-section { margin-bottom: 25px; }
.form-section-title { font-size: 15px; font-weight: bold; padding: 8px 15px; background: #f0f0f0; border-left: 3px solid #2c6dad; margin-bottom: 15px; }
.form-table th { width: 120px; text-align: right; padding: 8px 10px; color: #666; font-weight: normal; vertical-align: middle; }
.form-table th em { color: #e4393c; font-style: normal; margin-right: 3px; }
.form-table td { padding: 8px 10px; }

.form-input { height: 34px; border: 1px solid #ddd; border-radius: 4px; padding: 0 10px; width: 300px; }
.form-input-lg { width: 500px; }
.form-input-sm { width: 120px; }
.form-input-captcha { width: 150px; }
.form-select { height: 34px; border: 1px solid #ddd; border-radius: 4px; padding: 0 10px; min-width: 150px; }
.form-select-sm { min-width: 100px; }
.form-textarea { width: 100%; min-height: 120px; border: 1px solid #ddd; border-radius: 4px; padding: 10px; }
.form-editor { width: 100%; min-height: 300px; border: 1px solid #ddd; border-radius: 4px; padding: 10px; font-family: inherit; }
.form-tip { color: #999; font-size: 12px; margin-left: 10px; }

.upload-box { display: flex; gap: 10px; align-items: center; }
.btn-upload { padding: 6px 15px; background: #f0f0f0; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; }

.form-submit { padding: 20px 0; text-align: center; }
.btn-submit { background: #e4393c; color: #fff; padding: 10px 40px; border-radius: 4px; border: 0; font-size: 15px; cursor: pointer; }
.btn-submit:hover { background: #d62e2e; }
.btn-reset { background: #f0f0f0; color: #666; padding: 10px 30px; border-radius: 4px; border: 1px solid #ddd; cursor: pointer; margin: 0 10px; }
.btn-back { background: #f0f0f0; color: #666; padding: 10px 30px; border-radius: 4px; border: 1px solid #ddd; }

/* ========== 12. 会员中心 ========== */
.mcenter { }
.mcard { display: flex; align-items: center; gap: 20px; padding: 20px; background: linear-gradient(135deg, #2c6dad, #1a5a8a); border-radius: 4px; margin-bottom: 20px; }
.mcard-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255,255,255,0.3); flex-shrink: 0; }
.mcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mcard-info { flex: 1; color: #fff; }
.mcard-info h2 { font-size: 18px; font-weight: bold; margin-bottom: 8px; }
.mcard-info h2 em { font-size: 12px; margin-left: 10px; }
.mcard-meta { font-size: 13px; opacity: 0.9; margin-bottom: 5px; }
.mcard-stat span { margin-right: 20px; font-size: 13px; opacity: 0.9; }
.mcard-stat em { font-style: normal; font-weight: bold; color: #ffd; }

.mquick { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
.mquick-item { display: flex; flex-direction: column; align-items: center; width: calc(12.5% - 14px); padding: 15px 5px; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: transform 0.2s; }
.mquick-item:hover { transform: translateY(-3px); box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
.mquick-ico { width: 40px; height: 40px; background: #f0f0f0; border-radius: 50%; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.mquick-text { font-size: 13px; color: #666; }
.mquick-text em { color: #e4393c; font-style: normal; }

.msection { background: #fff; border-radius: 4px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.msection-hd { padding: 10px 15px; border-bottom: 2px solid #2c6dad; }
.msection-hd h3 { font-size: 15px; font-weight: bold; }
.msection-bd { padding: 12px 15px; }

.mtable { background: #fff; }
.mtable th { background: #f5f5f5; padding: 10px 8px; text-align: left; font-weight: bold; color: #666; font-size: 13px; border-bottom: 1px solid #e0e0e0; }
.mtable td { padding: 8px; border-bottom: 1px solid #eee; font-size: 13px; }
.mtable td.td-title a { color: #333; }
.mtable td.td-title a:hover { color: #e4393c; }
.mtable-my .list-thumb-sm { width: 40px; height: 30px; object-fit: cover; margin-right: 8px; vertical-align: middle; }

.tab-bar { display: flex; gap: 2px; margin-bottom: 15px; border-bottom: 2px solid #2c6dad; }
.tab-bar a { padding: 8px 20px; font-size: 14px; color: #666; }
.tab-bar a.cur { background: #2c6dad; color: #fff; border-radius: 4px 4px 0 0; }

.status-ok { color: #52a532; }
.status-wait { color: #f0a020; }
.status-no { color: #e4393c; }
.status-info { color: #2c6dad; }
.status-del { color: #999; }
.status-other { color: #999; }

.mbalance { display: flex; align-items: center; gap: 20px; padding: 20px; background: #fff; border-radius: 4px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.mbalance-card { flex: 1; }
.mbalance-label { color: #999; font-size: 14px; margin-bottom: 5px; }
.mbalance-amount { font-size: 28px; font-weight: bold; color: #e4393c; }
.mbalance-unit { font-size: 14px; color: #999; }
.mbalance-sub { color: #999; font-size: 13px; margin-top: 5px; }
.mbalance-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-recharge { background: #e4393c; color: #fff; padding: 8px 25px; border-radius: 4px; text-align: center; }
.btn-recharge:hover { background: #d62e2e; color: #fff; }
.btn-withdraw { background: #f0f0f0; color: #666; padding: 8px 25px; border-radius: 4px; text-align: center; border: 1px solid #ddd; }

.recharge-quick { display: flex; flex-wrap: wrap; gap: 12px; }
.recharge-item { display: flex; align-items: center; justify-content: center; width: 100px; height: 50px; border: 2px solid #eee; border-radius: 4px; font-size: 16px; color: #333; font-weight: bold; }
.recharge-item:hover { border-color: #e4393c; color: #e4393c; }
.recharge-custom { font-size: 13px; font-weight: normal; }

.gift-list { display: flex; flex-wrap: wrap; gap: 15px; }
.gift-item { width: calc(33.333% - 10px); display: flex; gap: 12px; padding: 12px; border: 1px solid #eee; border-radius: 4px; }
.gift-img { width: 80px; height: 80px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.gift-img img { width: 100%; height: 100%; object-fit: cover; }
.gift-info { flex: 1; }
.gift-info h4 { font-size: 14px; margin-bottom: 8px; }
.gift-price { font-size: 13px; color: #999; margin-bottom: 8px; }
.gift-price em { color: #e4393c; font-style: normal; font-weight: bold; }
.btn-exchange { display: inline-block; padding: 5px 15px; background: #e4393c; color: #fff; border-radius: 3px; font-size: 12px; }
.btn-exchange.disabled { background: #ccc; cursor: not-allowed; }

/* VIP */
.vip-list { display: flex; flex-wrap: wrap; gap: 20px; }
.vip-card { width: calc(33.333% - 14px); border: 2px solid #eee; border-radius: 8px; overflow: hidden; transition: border-color 0.2s; }
.vip-card:hover { border-color: #f0a020; }
.vip-card-head { background: linear-gradient(135deg, #f0a020, #e09010); padding: 15px; text-align: center; }
.vip-card-head h3 { color: #fff; font-size: 18px; font-weight: bold; }
.vip-card-price { padding: 20px; text-align: center; border-bottom: 1px solid #eee; }
.vip-price-symbol { font-size: 16px; color: #e4393c; }
.vip-price-num { font-size: 36px; font-weight: bold; color: #e4393c; }
.vip-price-unit { font-size: 14px; color: #999; }
.vip-card-features { padding: 15px; }
.vip-card-features p { padding: 4px 0; font-size: 13px; color: #666; }
.vip-card-action { padding: 15px; text-align: center; }
.btn-vip-buy { display: inline-block; padding: 8px 30px; background: #f0a020; color: #fff; border-radius: 4px; font-weight: bold; }
.btn-vip-buy:hover { background: #e09010; color: #fff; }

.vip-features { padding: 10px 0; }
.vip-features li { padding: 6px 0; font-size: 13px; color: #666; }
.vip-features strong { color: #333; }

/* 收藏列表 */
.favor-list { }
.favor-item { display: flex; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px solid #eee; }
.favor-thumb { width: 80px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.favor-thumb img { width: 100%; height: 100%; object-fit: cover; }
.favor-info { flex: 1; }
.favor-info h3 { font-size: 14px; margin-bottom: 5px; }
.favor-meta { font-size: 12px; color: #999; }
.favor-action { display: flex; flex-direction: column; gap: 5px; }
.favor-action a { padding: 5px 15px; border-radius: 3px; font-size: 12px; text-align: center; }
.favor-action .btn-view { background: #f0f0f0; color: #666; border: 1px solid #ddd; }
.favor-action .btn-del { background: #fff; color: #e4393c; border: 1px solid #e4393c; }

/* 站内信 */
.msg-unread { color: #e4393c; }
.msg-read { color: #ccc; }

/* 地址管理 */
.avatar-box { display: flex; align-items: center; gap: 15px; }
.avatar-preview { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid #eee; }

/* ========== 13. 认证标识 ========== */
.vip-flag { background: linear-gradient(135deg, #f0a020, #e09010); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 2px; margin-left: 5px; }
.auth-flag { background: #52a532; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 2px; margin-left: 5px; }

/* ========== 14. 企业列表 ========== */
.company-list { }
.company-item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; }
.company-logo { width: 100px; height: 100px; flex-shrink: 0; overflow: hidden; border-radius: 4px; border: 1px solid #eee; }
.company-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-info { flex: 1; }
.company-info h3 { font-size: 15px; margin-bottom: 8px; }
.company-info h3 a { color: #333; }
.company-info h3 a:hover { color: #e4393c; }
.company-bus { color: #999; font-size: 13px; margin-bottom: 5px; }
.company-meta { font-size: 12px; color: #999; }
.company-meta span { margin-right: 15px; }
.company-action { display: flex; flex-direction: column; gap: 8px; width: 100px; }
.company-action a { text-align: center; padding: 6px 0; border-radius: 3px; font-size: 13px; }

/* ========== 15. 企业商铺 ========== */
.co-show { }
.co-banner { width: 100%; height: 200px; overflow: hidden; margin-bottom: 0; }
.co-banner img { width: 100%; height: 200px; object-fit: cover; }

.co-header { display: flex; align-items: center; gap: 20px; padding: 20px; background: #fff; border-bottom: 1px solid #eee; }
.co-logo { width: 100px; height: 100px; flex-shrink: 0; overflow: hidden; border-radius: 4px; border: 2px solid #eee; }
.co-logo img { width: 100%; height: 100%; object-fit: cover; }
.co-base { flex: 1; }
.co-base h1 { font-size: 20px; font-weight: bold; margin-bottom: 8px; }
.co-bus { color: #666; font-size: 14px; margin-bottom: 5px; }
.co-loc { color: #999; font-size: 13px; }
.co-actions { display: flex; flex-direction: column; gap: 10px; }
.co-actions a { padding: 8px 25px; border-radius: 4px; text-align: center; }
.co-actions .btn-contact { background: #2c6dad; color: #fff; }
.co-actions .btn-inquiry { background: #e4393c; color: #fff; }

.co-nav { background: #f5f5f5; border-bottom: 1px solid #e0e0e0; }
.co-nav ul { display: flex; }
.co-nav li a { display: block; padding: 10px 25px; color: #666; font-size: 14px; }
.co-nav li a:hover { color: #e4393c; }
.co-nav li.cur a { background: #fff; color: #2c6dad; font-weight: bold; border-top: 2px solid #2c6dad; }

.co-section { background: #fff; margin-bottom: 15px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.co-section-hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid #eee; }
.co-section-hd h3 { font-size: 16px; font-weight: bold; }
.co-section-hd .more a { font-size: 13px; color: #999; }
.co-section-bd { padding: 15px 20px; }

.co-intro { line-height: 2; color: #666; }
.co-intro a { color: #2c6dad; }
.co-contact-list li { padding: 8px 0; }
.co-contact-list span { color: #999; display: inline-block; width: 80px; }

/* ========== 16. 登录/注册页 ========== */
.member-auth { display: flex; justify-content: center; padding: 20px 0; }
.auth-box { width: 450px; background: #fff; border-radius: 4px; padding: 30px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.auth-head { text-align: center; margin-bottom: 25px; }
.auth-head h1 { font-size: 22px; font-weight: bold; margin-bottom: 8px; }
.auth-sub { font-size: 13px; color: #999; }

.auth-type { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; padding: 15px; background: #f8f8f8; border-radius: 4px; }
.auth-type-item { cursor: pointer; font-size: 14px; }

.auth-form { }
.auth-form .form-group { margin-bottom: 18px; }
.auth-form .form-label { display: block; margin-bottom: 6px; color: #666; font-size: 13px; }
.auth-form .form-label em { color: #e4393c; font-style: normal; }
.auth-form .form-input { width: 100%; height: 40px; border: 1px solid #ddd; border-radius: 4px; padding: 0 12px; }
.form-group-captcha { display: flex; align-items: flex-end; gap: 10px; }
.form-group-captcha .form-input { flex: 1; }
.captcha-img { height: 40px; cursor: pointer; border-radius: 4px; }
.form-group-agree { font-size: 13px; color: #999; }
.form-group-agree a { color: #2c6dad; }
.form-group-extra { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.form-group-extra .forget-link { color: #2c6dad; }

.auth-form .btn-submit { width: 100%; height: 42px; font-size: 15px; }

.auth-third { margin-top: 25px; padding-top: 20px; border-top: 1px solid #eee; }
.auth-third-title { text-align: center; color: #999; font-size: 13px; margin-bottom: 15px; }
.auth-third-list { display: flex; justify-content: center; gap: 20px; }
.auth-third-list a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-size: 13px; }
.third-qq { background: #12b7f5; }
.third-wx { background: #09bb07; }
.third-alipay { background: #1678ff; }

/* ========== 17. 扩展页面 ========== */
.ext-page { }
.article-page { }
.article-head { text-align: center; padding: 20px 0; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.article-title { font-size: 24px; font-weight: bold; margin-bottom: 10px; }
.article-meta { color: #999; font-size: 13px; }
.article-content { line-height: 2; padding: 10px 0 30px; min-height: 200px; }
.article-content img { max-width: 100%; height: auto; }
.article-footer { padding: 15px 0; border-top: 1px solid #eee; }

/* 留言板 */
.guestbook-list { }
.guestbook-item { padding: 15px 0; border-bottom: 1px solid #eee; }
.gb-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.gb-name { font-weight: bold; color: #333; }
.gb-date { color: #999; font-size: 12px; }
.gb-content { color: #666; }
.gb-title { font-weight: bold; margin-bottom: 5px; }
.gb-reply { margin-top: 10px; padding: 10px 15px; background: #f8f8f8; border-radius: 4px; border-left: 3px solid #2c6dad; }
.gb-reply-title { color: #2c6dad; font-weight: bold; margin-bottom: 5px; }

/* 投票 */
.vote-page { }
.vote-head { text-align: center; padding: 20px 0; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.vote-head h2 { font-size: 20px; font-weight: bold; margin-bottom: 8px; }
.vote-meta { color: #999; font-size: 13px; }
.vote-options { }
.vote-option { padding: 12px 0; border-bottom: 1px solid #eee; }
.vote-option label { display: flex; align-items: center; gap: 8px; cursor: pointer; margin-bottom: 8px; }
.vote-opt-text { font-size: 14px; }
.vote-bar { position: relative; height: 24px; background: #f0f0f0; border-radius: 12px; overflow: hidden; }
.vote-bar-inner { height: 100%; background: linear-gradient(90deg, #2c6dad, #1a8acb); border-radius: 12px; transition: width 0.5s; }
.vote-bar-num { position: absolute; right: 10px; top: 0; line-height: 24px; font-size: 12px; color: #666; }
.vote-submit { display: flex; align-items: center; gap: 20px; padding: 20px 0; }
.vote-total { color: #999; font-size: 14px; }

/* 网站地图 */
.sitemap { }
.sitemap-section { margin-bottom: 20px; padding: 15px; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.sitemap-section h3 { font-size: 16px; font-weight: bold; padding-bottom: 10px; border-bottom: 1px solid #eee; margin-bottom: 10px; }
.sitemap-section h3 a { color: #2c6dad; }
.sitemap-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.sitemap-cats li a { display: inline-block; padding: 4px 12px; background: #f5f5f5; border-radius: 3px; font-size: 13px; color: #666; }
.sitemap-cats li a:hover { background: #2c6dad; color: #fff; }

/* 友情链接 */
.link-list { display: flex; flex-wrap: wrap; gap: 15px; }
.link-item { display: flex; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid #eee; border-radius: 4px; color: #666; }
.link-item img { max-height: 40px; }
.link-item:hover { border-color: #2c6dad; color: #2c6dad; }

/* ========== 18. 分页 ========== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 20px 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-block; padding: 6px 12px; border: 1px solid #ddd; border-radius: 3px; font-size: 13px; color: #666; background: #fff; }
.pagination a:hover { border-color: #2c6dad; color: #2c6dad; }
.pagination .pg-cur { background: #2c6dad; color: #fff; border-color: #2c6dad; font-weight: bold; }
.pagination .pg-disabled { color: #ccc; cursor: not-allowed; }
.pagination .pg-ellipsis { border: 0; background: transparent; }
.pagination .pg-info { border: 0; color: #999; background: transparent; margin-left: 10px; }

/* ========== 19. 页脚 ========== */
.dt-footer { background: #2a2a2a; color: #999; padding: 30px 0 0; margin-top: 20px; }
.dt-footer-link { display: flex; gap: 40px; padding-bottom: 25px; border-bottom: 1px solid #3a3a3a; }
.dt-fl-block { flex: 1; }
.dt-fl-block h4 { color: #ddd; font-size: 14px; margin-bottom: 12px; }
.dt-fl-block ul li { padding: 4px 0; }
.dt-fl-block a { color: #999; font-size: 12px; }
.dt-fl-block a:hover { color: #fff; }
.dt-contact li { color: #999; font-size: 12px; }

.dt-friendlink { padding: 15px 0; border-bottom: 1px solid #3a3a3a; font-size: 12px; }
.dt-fl-title { color: #666; }
.dt-friendlink a { color: #999; margin-right: 12px; }
.dt-friendlink a:hover { color: #fff; }

.dt-copyright { padding: 20px 0; text-align: center; font-size: 12px; color: #666; }
.dt-copyright p { margin-bottom: 5px; }
.dt-copyright a { color: #666; }
.dt-powered { color: #555 !important; }

/* ========== 20. 回到顶部 ========== */
#back-to-top { position: fixed; right: 30px; bottom: 50px; width: 44px; height: 44px; background: rgba(0,0,0,0.5); border-radius: 4px; cursor: pointer; display: none; z-index: 999; }
#back-to-top::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 12px solid #fff; margin-top: 4px; }
#back-to-top:hover { background: rgba(0,0,0,0.7); }

/* ========== 21. 标签模板样式 ========== */
.tag-list { }
.tag-list li { padding: 5px 0; border-bottom: 1px dashed #eee; overflow: hidden; }
.tag-list li a { color: #666; }
.tag-list li a:hover { color: #e4393c; }

.tag-thumb { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-thumb-item { width: calc(50% - 5px); display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #eee; }
.tag-thumb-item img { width: 60px; height: 45px; object-fit: cover; border-radius: 3px; }

.tag-table { width: 100%; }
.tag-table th { background: #f5f5f5; padding: 8px; font-size: 13px; }
.tag-table td { padding: 8px; border-bottom: 1px solid #eee; font-size: 13px; }

/* ========== 22. 响应式设计 ========== */
@media screen and (max-width: 1200px) {
    .container { width: 100%; padding: 0 15px; }
    .dt-main-inner { flex-direction: column; }
    .dt-sidebar { width: 100%; }
    .thumb-list-5 li { width: calc(25% - 12px); }
    .thumb-list-6 li { width: calc(25% - 12px); }
}

@media screen and (max-width: 768px) {
    body { font-size: 13px; }
    .dt-topbar { font-size: 11px; height: 28px; line-height: 28px; }
    .dt-topbar .container { flex-direction: column; align-items: flex-start; }

    .dt-header { padding: 12px 0; }
    .dt-header .container { flex-direction: column; gap: 12px; }
    .dt-logo { width: 100%; text-align: center; }
    .dt-logo img { max-height: 45px; }
    .dt-search { width: 100%; }
    .dt-header-right { flex-direction: row; width: 100%; justify-content: center; }

    .dt-navbar { height: auto; overflow-x: auto; }
    .dt-nav-menu { flex-wrap: nowrap; white-space: nowrap; }
    .dt-nav-menu li a { padding: 0 15px; font-size: 14px; }

    .dt-main { padding: 10px 0; }
    .dt-content { padding: 12px; }

    .home-banner { flex-direction: column; }
    .home-slider { height: 200px; }
    .home-slide img, .home-slide-ph { height: 200px; }
    .home-quick { width: 100%; }

    .home-row { flex-direction: column; }

    .thumb-list-4 li, .thumb-list-5 li, .thumb-list-6 li { width: calc(50% - 8px); }
    .thumb-img img { height: 120px; }

    .mod-head { flex-wrap: wrap; gap: 8px; }
    .mod-head h1 { font-size: 17px; }
    .mod-head .btn-post { margin-left: 0; }

    .filter-row { flex-direction: column; }
    .filter-label { width: auto; margin-bottom: 3px; }

    .mod-item { flex-direction: column; gap: 10px; }
    .mod-item-thumb { width: 100%; height: 180px; }
    .mod-item-action { flex-direction: row; width: 100%; }
    .mod-item-action a { flex: 1; }

    .show-main { flex-direction: column; }
    .show-gallery { width: 100%; }
    .show-pic-main { height: 300px; }
    .show-attrs { width: 100%; }

    .mcard { flex-direction: column; text-align: center; }
    .mquick { gap: 10px; }
    .mquick-item { width: calc(25% - 8px); padding: 10px 5px; }

    .auth-box { width: 100%; padding: 20px; }

    .form-table th { width: auto; text-align: left; display: block; padding-bottom: 2px; }
    .form-table td { display: block; }
    .form-input, .form-input-lg { width: 100%; }

    .vip-card { width: 100%; }
    .gift-item { width: 100%; }

    .company-item { flex-direction: column; text-align: center; }
    .company-action { flex-direction: row; width: 100%; }
    .company-action a { flex: 1; }

    .co-header { flex-direction: column; text-align: center; }

    .dt-footer-link { flex-direction: column; gap: 20px; }

    .show-actions { flex-wrap: wrap; }

    #back-to-top { right: 15px; bottom: 30px; width: 40px; height: 40px; }
}

@media screen and (max-width: 480px) {
    .thumb-list-4 li, .thumb-list-5 li, .thumb-list-6 li { width: 100%; }
    .mquick-item { width: calc(33.333% - 7px); }
    .recharge-quick { gap: 8px; }
    .recharge-item { width: calc(33.333% - 6px); }
}
