@charset "utf-8";
/*
 * modern.css - 企业商铺（企业主页）主题覆盖层
 * 设计语言: 与主站一致 — 墨色顶部条 + 暖纸内容面 + 赭红点缀 + 宋体标题
 * 5 套配色皮肤共用：只覆盖排版/圆角/描边/文字色，导航主题色仍由各皮肤自身的 style.css 决定
 * 引入位置: template/default/homepage/header.htm 中 {$HSPATH}style.css 之后
 * 回滚方式: 删除 header.htm 中的引入行
 */

:root {
    --ink: #0E2624;
    --ink-2: #12302C;
    --paper: #F6F9F8;
    /* 暖褐灰通栏 / 奶沙条 / 砖红选中（与主站同源） */
    --bar: #0D2B2A;
    --bar-2: #143C37;
    --sand: #EDF4F2;
    --paper-2: #EFF5F3;
    --accent: #14B8A6;
    --brand-active: #0B5D56;
    --card: #FFFFFF;
    --card-2: #F8FBFA;
    --text: #1B2A28;
    --text-2: #4A5F5B;
    --muted: #7B8D89;
    --cream: #EAF6F2;
    --cream-2: rgba(234, 246, 242, .80);
    --line: #DFE9E6;
    --line-2: #CBDAD6;
    --brand: #0F766E;
    --brand-hover: #0B5D56;
    --brand-deep: #09443F;
    --brand-pale: #E6F4F1;
    --brand-tint: rgba(15, 118, 110, .07);
    --price: #0B5D56;
    --radius-l: 10px;
    --radius: 8px;
    --radius-s: 6px;
    --shadow-s: 0 1px 2px rgba(11, 42, 40, .05);
    --shadow-m: 0 10px 26px -16px rgba(11, 42, 40, .3);
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    --serif: var(--sans);
}

* {
    font-family: var(--sans) !important;
    -webkit-font-smoothing: antialiased;
}

body {
    font-size: 13px;
    color: var(--text);
    background: var(--paper);
    line-height: 1.65;
}

input, select, textarea { font-size: 13px; }

a:link, a:visited, a:active { color: var(--text); }
a:hover { color: var(--brand); }
a.t:link, a.t:visited, a.t:active { color: var(--brand); }
a.b:link, a.b:visited, a.b:active { color: var(--brand); }
.f_price { color: var(--price); }
.f_orange { color: var(--brand); }
.f_gray { color: var(--muted); }

/* ===================== 顶部条（墨色） ===================== */
.top {
    height: 34px;
    line-height: 34px;
    background: var(--bar);
    border-bottom: none;
    font-size: 12px;
    color: var(--cream-2);
}
.top i { color: rgba(234, 246, 242, .25); }
.top a { color: var(--cream-2); }
.top a:hover { color: var(--cream); }

/* ===================== 企业头部 ===================== */
.head { height: auto; min-height: 104px; padding: 20px 0; overflow: visible; background: var(--card); }
.head .logo { padding: 0; height: auto; }
.head .logo img { max-height: 72px; width: auto; border-radius: var(--radius-s); }
.head h1 {
    font-family: var(--serif) !important;
    font-size: 25px;
    line-height: 1.4;
    margin: 6px 0 8px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: 1.5px;
}
.head h4 { font-size: 13px; color: var(--muted); font-weight: 400; line-height: 1.7; letter-spacing: .3px; }

/* ===================== 主导航（保留各皮肤主题色，仅做质感增强） ===================== */
.menu {
    height: 46px;
    font-size: 15px;
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -2px 0 rgba(0, 0, 0, .18);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(0, 0, 0, .08));
    overflow: visible;
}
.menu ul { display: flex; flex-wrap: wrap; }
.menu_li, .menu_on {
    height: 46px;
    line-height: 46px;
    padding: 0 20px;
    font-size: 15px;
    letter-spacing: .5px;
    transition: background .16s;
}
.menu_li:hover { background: rgba(0, 0, 0, .14); }
.menu_on { background: rgba(0, 0, 0, .20); font-weight: 500; }

.banner { margin: 18px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.banner img { display: block; }

/* ===================== 位置导航 ===================== */
.pos {
    padding: 16px 4px 16px 0;
    height: auto;
    line-height: 24px;
    background: none;
    font-size: 13px;
    color: var(--muted);
}
.pos div { color: var(--muted); }
.pos em { color: var(--muted); font-size: 12px; }
.pos i { color: var(--line-2); font-family: inherit; }

/* ===================== 侧栏 / 主栏 ===================== */
.side_head, .main_head {
    border: 1px solid var(--line);
    border-bottom: none;
    background: var(--card);
    border-radius: var(--radius) var(--radius) 0 0;
    padding-top: 2px;
}
.side_head div, .main_head div {
    padding: 0 18px;
    height: 46px;
    line-height: 46px;
    font-family: var(--serif) !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--ink);
    position: relative;
}
.side_head div:before, .main_head div:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -8px;
    width: 2px;
    height: 16px;
    border-radius: 0;
    background: var(--brand);
    opacity: 1;
}

.side_body, .main_body {
    border: 1px solid var(--line);
    border-top: none;
    background: var(--card);
    padding: 16px 18px;
    margin: 0 0 18px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: none;
}
.side_body li {
    background: none;
    padding: 0 0 0 14px;
    height: 34px;
    line-height: 34px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.side_body li:before {
    content: "";
    position: absolute;
    left: 3px;
    top: 50%;
    width: 3px;
    height: 3px;
    margin-top: -1px;
    border-radius: 0;
    background: var(--line-2);
}
.side_body li:hover:before { background: var(--brand); }
.side_body a { color: var(--text); }
.side_body a:hover { color: var(--brand); }

/* ===================== 正文内容 ===================== */
.title {
    font-family: var(--serif) !important;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--ink);
    text-align: center;
    padding: 8px 0 0;
}
.info { margin: 14px 0 0; background: var(--card-2); border-radius: var(--radius-s); line-height: 44px; color: var(--muted); font-size: 12px; }
.content { font-size: 14px; line-height: 1.95; padding: 18px 4px; color: var(--text); }
.content p { margin: 0 0 14px; }
.property { border: 1px solid var(--line); background: var(--card-2); border-radius: var(--radius); padding: 16px 18px; margin: 0; }
.property li { color: var(--text); }

/* ===================== 表单 / 按钮 ===================== */
.inp, input[type="text"], input[type="password"], input[type="search"], textarea, select {
    border: 1px solid var(--line-2);
    border-radius: var(--radius-s);
    padding: 7px 10px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus, select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .10);
}
.sbm {
    height: 34px;
    line-height: 32px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-s);
    background: #fff;
    color: var(--text);
    padding: 0 16px;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all .18s;
}
.sbm:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.btn-act {
    background: var(--brand);
    border: 1px solid var(--brand);
    border-radius: var(--radius-s);
    color: #FFFFFF;
    font-size: 15px;
    letter-spacing: 2px;
    height: 38px;
    line-height: 36px;
    box-shadow: 0 8px 18px -14px rgba(15, 118, 110, .9);
}
.btn-act:hover { background: var(--brand-hover); border-color: var(--brand-hover); }

/* ===================== 缩略图 / 相册 ===================== */
.thumb { padding: 12px; border-radius: var(--radius); transition: background .16s, box-shadow .16s; }
.thumb img { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 2px; }
.thumb div { font-size: 13px; color: var(--ink); line-height: 1.5; height: auto; max-height: 40px; margin: 8px 0 4px; }
.thumb p { font-size: 11px; color: var(--muted); }
.thumb:hover { background: var(--card); box-shadow: var(--shadow-m); }
.thumb:hover img { border-color: var(--line-2); }

.ab_im { border: 1px solid var(--line); border-radius: var(--radius-s); }
.ab_on { border: 1px solid var(--brand); border-radius: var(--radius-s); background: transparent; }

/* ===================== 分页 ===================== */
.pages { padding: 24px 0; color: var(--muted); }
.pages a:link, .pages a:visited, .pages a:active {
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-s);
    padding: 7px 13px;
    margin: 0 6px;
    color: var(--text);
}
.pages a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.pages strong { background: var(--brand); border: 1px solid var(--brand); border-radius: var(--radius-s); padding: 7px 13px; margin: 0 6px; color: #fff; }
.pages_inp { border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 6px; width: 36px; }
.pages_btn { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 6px 10px; margin: 0 6px; color: var(--text); }
.pages label { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 6px 10px; }

/* ===================== 评论 ===================== */
.comment_sp { background: var(--card-2); border-radius: var(--radius-s); }
.comment_title { color: var(--brand); }
.comment_reply { border: 1px solid #E9F2EF; background: #F8FBFA; border-radius: var(--radius-s); }
.stat_p { background: var(--brand-pale); border-radius: var(--radius-s); }
.stat_p div { background: var(--brand); border-left-color: var(--brand); border-radius: var(--radius-s); }

/* ===================== 页脚（墨色收口） ===================== */
.foot {
    background: var(--ink-2);
    border-top: none;
    padding: 24px 20px;
    line-height: 30px;
    color: var(--cream-2);
    font-size: 12px;
    margin-top: 24px;
}
.foot a { color: var(--cream-2); }
.foot a:hover { color: #7FE3C0; }
.foot i { color: rgba(234, 246, 242, .22); }

/* ===================== 滚动条 ===================== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #B3C8C3; border-radius: 0; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #5FD3B0; background-clip: content-box; }

/* ===================== 导航条统一（覆盖各皮肤主题色，与主站一致） ===================== */
.menu {
    background: var(--sand) !important;
    background-image: none !important;
    height: 46px;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
    box-shadow: none !important;
    overflow: visible;
}
.menu span { color: var(--ink) !important; }
.menu_li, .menu_on {
    height: 46px;
    line-height: 46px;
    padding: 0 20px;
    font-size: 15px;
    letter-spacing: .5px;
    transition: background .16s, color .16s;
}
.menu_li:hover { background: rgba(15, 118, 110, .08) !important; }
.menu_li:hover span { color: var(--brand) !important; }
.menu_on { background: var(--brand-active) !important; }
.menu_on span { color: #F2F9F6 !important; font-weight: 500; }

/* ===================== 区块标题「MORE」旧图标 -> 文字 ===================== */
.side_head .f_r img, .main_head .f_r img { display: none !important; }
.side_head .f_r a, .main_head .f_r a {
    display: inline-block;
    font-size: 12px;
    line-height: 46px;
    color: var(--muted);
    letter-spacing: .5px;
    transition: color .16s;
}
.side_head .f_r a:after, .main_head .f_r a:after { content: "更多"; }
.side_head .f_r a:hover, .main_head .f_r a:hover { color: var(--brand); }

/* ===================== 企业头部呼吸感 ===================== */
.head { padding: 22px 2px; }
.head h1 { margin: 0 0 8px; }
.head h4 { color: var(--text-2); }

/* ===================== 侧栏空状态弱化 ===================== */
.side_body li { color: var(--text-2); }
.side_body .px12, .side_body .lh18 { color: var(--muted); font-size: 13px; }

/* ===================== 位置导航右侧日期 ===================== */
.pos .f_r, .pos .f_r * { color: var(--muted); font-size: 12px; }

/* ===================== 侧栏「最新供应」列表 ===================== */
.st-list li {
    height: auto !important;
    line-height: 1.55 !important;
    padding: 7px 0 7px 14px !important;
    white-space: normal !important;
    border-bottom: 1px dashed var(--line);
}
.st-list li:last-child { border-bottom: none; }
.st-list li:before { top: 13px !important; }
.st-list a { display: block; font-size: 13px; color: var(--text); line-height: 1.55; }
.st-list a:hover { color: var(--brand); }
