/* Element Plus 风格 PC 模板布局与组件补充 */

.ep-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.ep-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--el-bg-color);
}

/* 第一行：LOGO + 搜索/用户，高度略大 */
.ep-header-top {
    height: 76px;
    border-bottom: 1px solid var(--el-border-color-lighter);
}

/* 第二行：导航菜单（绿色通栏） */
.ep-header-navbar {
    height: 60px;
    background: #1fa04b;
}

.ep-header-top .ep-header-inner,
.ep-header-navbar .ep-header-inner {
    height: 100%;
}

.ep-header-inner {
    max-width: var(--ep-container-max);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ep-logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.ep-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.ep-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.ep-nav-item {
    position: relative;
}

.ep-nav-item > a {
    display: inline-flex;
    align-items: center;
    padding: 0 30px;
    height: 60px;
    border-radius: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.ep-nav-item > a:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.12);
}

.ep-nav-item.is-active > a {
    color: #fff;
    background: rgba(0, 0, 0, 0.18);
}

.ep-nav-arrow {
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.75;
}

/* 子菜单与父级之间禁止留 margin，否则鼠标经过空隙时父级失去 :hover，菜单会收起 */
.ep-submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    padding: 8px 0;
    margin: 0;
    background: var(--el-bg-color-overlay);
    border: 1px solid var(--el-border-color-light);
    border-radius: var(--el-border-radius-base);
    box-shadow: var(--el-box-shadow-light);
    list-style: none;
    z-index: 200;
}

.ep-nav-item:hover > .ep-submenu {
    display: block;
}

.ep-submenu li a {
    display: block;
    padding: 8px 16px;
    color: var(--el-text-color-regular);
    font-size: 14px;
}

.ep-submenu li a:hover {
    background: var(--el-fill-color-light);
    color: var(--el-color-primary);
}

.ep-submenu li.is-active > a {
    color: var(--el-color-primary);
    font-weight: 600;
}

/* 三级菜单与二级项之间不留缝；左侧透明带承接鼠标，避免移入时丢 hover */
.ep-submenu-nested {
    left: 100%;
    top: 0;
    margin-left: 0;
    padding-left: 0;
}

.ep-submenu-nested::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 0;
    bottom: 0;
    width: 14px;
}

.ep-submenu > li {
    position: relative;
}

.ep-submenu > li:hover > .ep-submenu-nested {
    display: block;
}

.ep-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* 头部搜索框 */
.ep-header-search-box {
    display: flex;
    align-items: center;
    width: 260px;
    height: 36px;
    border: 1px solid #dcdfe6;
    border-radius: 2px;
    background: #fff;
}

.ep-header-search-box input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 10px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #606266;
}

.ep-header-search-box input::placeholder {
    color: #a8abb2;
}

.ep-header-search-box button {
    flex-shrink: 0;
    width: 40px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #909399;
    cursor: pointer;
}

.ep-header-search-box button:hover {
    color: #1fa04b;
}

.ep-main {
    flex: 1;
    padding: 20px 0 40px;
}

.ep-container {
    max-width: var(--ep-container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* 面包屑：满屏白底横条，内容宽度对齐 .ep-container */
.ep-breadcrumb {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
    background: #fff;
    height: 54px;
    display: flex;
    align-items: center;
    padding-left: calc((100vw - min(var(--ep-container-max), 100vw)) / 2 + 20px);
    padding-right: calc((100vw - min(var(--ep-container-max), 100vw)) / 2 + 20px);
    margin-bottom: 16px;
    border-bottom: 1px solid var(--el-border-color-lighter);
    font-size: 14px;
    color: var(--el-text-color-secondary);
}

.ep-breadcrumb .fa-home {
    margin-right: 4px;
}

.ep-breadcrumb a {
    color: var(--el-text-color-secondary);
}

.ep-breadcrumb a:hover {
    color: var(--el-color-primary);
}

.ep-breadcrumb .ep-bc-sep {
    margin: 0 8px;
    color: var(--el-text-color-placeholder);
}

.ep-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.ep-col-main {
    flex: 1 1 640px;
    min-width: 0;
}

.ep-col-side {
    flex: 0 1 340px;
    min-width: 280px;
}

@media (max-width: 991px) {
    .ep-col-main,
    .ep-col-side {
        flex: 1 1 100%;
    }
    .ep-nav {
        display: none;
    }
    /* 导航隐藏后不再保留第二行空白 */
    .ep-header-navbar {
        display: none;
    }
}

.ep-card {
    background: var(--el-bg-color-overlay);
    border-radius: var(--el-border-radius-base);
    border: 1px solid var(--el-border-color-lighter);
    overflow: hidden;
    margin-bottom: 20px;
}

.ep-card-hd {
    padding: 16px 20px;
    border-bottom: 1px solid var(--el-border-color-lighter);
    font-size: 16px;
    font-weight: 600;
    color: var(--el-text-color-primary);
}

.ep-card-bd {
    padding: 20px;
}

.ep-list-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--el-border-color-lighter);
}

.ep-list-item:last-child {
    border-bottom: none;
}

.ep-thumb {
    width: 120px;
    height: 80px;
    border-radius: var(--el-border-radius-base);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: var(--el-fill-color);
}

img.ep-thumb {
    object-fit: cover;
    display: block;
}

.ep-thumb--sm {
    width: 72px;
    height: 48px;
}

@media (max-width: 576px) {
    .mobile-hidden {
        display: none !important;
    }
    .ep-list-item {
        flex-direction: column;
    }
    .ep-thumb,
    img.ep-thumb {
        width: 100%;
        height: 160px;
    }
}

.ep-article-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.ep-article-title a {
    color: var(--el-text-color-primary);
}

.ep-article-title a:hover {
    color: var(--el-color-primary);
}

.ep-meta {
    font-size: 13px;
    color: var(--el-text-color-secondary);
}

.ep-meta span,
.ep-meta a {
    margin-right: 12px;
}

.ep-badge {
    display: inline-block;
    padding: 0 8px;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    border-radius: var(--el-border-radius-round);
    background: var(--el-color-primary-light-9);
    color: var(--el-color-primary);
    margin: 4px 8px 4px 0;
}

.ep-badge.is-plain {
    background: var(--el-fill-color-blank);
    border: 1px solid var(--el-color-primary-light-5);
}

.ep-footer {
    margin-top: auto;
    padding: 40px 20px 0;
    background: #2c3441;
    border-top: 1px solid #1f2630;
    font-size: 14px;
    color: #909399;
}

.ep-footer-inner {
    max-width: var(--ep-container-max);
    margin: 0 auto;
}

.ep-footer-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 32px;
}

.ep-footer-col {
    flex: 1;
    min-width: 200px;
}

.ep-footer-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.ep-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ep-footer-list li {
    padding: 5px 0;
    font-size: 13px;
    color: #909399;
}

.ep-footer-list a {
    color: #909399;
    text-decoration: none;
}

.ep-footer-list a:hover {
    color: #1fa04b;
}

.ep-footer-contact li i {
    width: 18px;
    color: #1fa04b;
    margin-right: 6px;
}

.ep-footer-bottom {
    padding: 16px 0;
    border-top: 1px solid #1f2630;
    text-align: center;
    font-size: 13px;
    color: #606266;
}

.ep-footer-bottom a {
    color: #606266;
    text-decoration: none;
}

.ep-footer-bottom a:hover {
    color: #1fa04b;
}

.ep-scrolltop {
    position: fixed;
    right: 24px;
    bottom: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--el-color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--el-box-shadow);
    z-index: 99;
    border: none;
    transition: opacity 0.2s;
}

.ep-scrolltop:hover {
    opacity: 0.9;
}

/* 分页区域（系统 {$pages} 输出）
   典型结构：<div class="xrpagination"><ul class="pagination"><li class="active"><a>1</a></li>...</ul></div> */
.xrpagination {
    width: 100%;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.xrpagination ul.pagination {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.xrpagination ul.pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.xrpagination ul.pagination li > a,
.xrpagination ul.pagination li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 1;
    border-radius: var(--el-border-radius-base);
    border: 1px solid var(--el-border-color);
    background: var(--el-bg-color-overlay);
    color: var(--el-text-color-regular);
    box-sizing: border-box;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

/* 总条数等无 href 的 <a> */
.xrpagination ul.pagination li > a:not([href]) {
    cursor: default;
    background: var(--el-fill-color-light);
    border-color: var(--el-border-color-lighter);
    color: var(--el-text-color-secondary);
}

.xrpagination ul.pagination li > a[href]:hover {
    color: var(--el-color-primary);
    border-color: var(--el-color-primary-light-5);
}

.xrpagination ul.pagination li.active > a,
.xrpagination ul.pagination li.active > span {
    background: var(--el-color-primary);
    border-color: var(--el-color-primary);
    color: #fff;
    cursor: default;
}

.xrpagination ul.pagination li.active > a:hover {
    color: #fff;
    border-color: var(--el-color-primary);
    background: var(--el-color-primary);
}

.xrpagination ul.pagination li.disabled > a,
.xrpagination ul.pagination li.disabled > span {
    cursor: not-allowed;
    opacity: 0.55;
    background: var(--el-fill-color-light);
}

/* 兼容：分页直接挂在 .xrpagination 下（无 ul） */
.xrpagination > a,
.xrpagination > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: var(--el-border-radius-base);
    border: 1px solid var(--el-border-color);
    background: var(--el-bg-color-overlay);
    color: var(--el-text-color-regular);
    box-sizing: border-box;
    text-decoration: none;
}

.xrpagination > a:hover {
    color: var(--el-color-primary);
    border-color: var(--el-color-primary-light-5);
}

.xrpagination .active > span,
.xrpagination .active > a,
.xrpagination li.active > a,
.xrpagination span.current,
.xrpagination .current {
    background: var(--el-color-primary);
    border-color: var(--el-color-primary);
    color: #fff;
}

/* 正文区域 */
.neirong {
    line-height: 1.75;
    font-size: 15px;
    color: var(--el-text-color-regular);
}

.neirong img {
    max-width: 100%;
    height: auto;
}

.fc-show-prev-next {
    font-size: 14px;
    color: var(--el-text-color-secondary);
}

/* Swiper 容器在首页 */
.ep-swiper-wrap {
    border-radius: var(--el-border-radius-base);
    overflow: hidden;
    border: 1px solid var(--el-border-color-lighter);
    background: var(--el-bg-color-overlay);
}

/* 通栏：基于视口宽度铺满整屏，不受 .ep-container 的 max-width 限制 */
.ep-full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    /* 抵消 .ep-main 的 20px 上内边距，让幻灯片紧贴导航栏 */
    margin-top: -20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* 内页页头横幅：满屏宽度，高度随视口等比缩放 */
.ep-page-banner img {
    display: block;
    width: 100%;
    height: clamp(160px, 20vw, 300px);
    object-fit: cover;
}

.ep-swiper-wrap .swiper-slide img {
    display: block;
    width: 100%;
    /* 高度按视口宽度等比缩放，宽屏下不再被压扁 */
    height: clamp(240px, 37vw, 760px);
    object-fit: cover;
}

/* 提示页 / 404 */
.ep-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--el-color-primary-light-9) 0%, var(--el-fill-color-light) 100%);
}

.ep-auth-card {
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.ep-auth-card .el-card__body {
    padding: 40px 32px;
}

.ep-404-visual {
    width: 100%;
    max-width: 280px;
    height: 160px;
    margin: 0 auto 16px;
    border-radius: var(--el-border-radius-base);
    background: linear-gradient(145deg, var(--el-color-primary-light-7), var(--el-color-primary-light-9));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: 700;
    color: var(--el-color-primary);
}

/* ========== 页面模块化（模板不写内联 style） ========== */
.ep-mt-8 {
    margin-top: 8px;
}

.ep-mb-20 {
    margin-bottom: 20px;
}

.ep-mb-16 {
    margin-bottom: 16px;
}

.ep-mt-16 {
    margin-top: 16px;
}

.ep-flex-grow {
    flex: 1;
    min-width: 0;
}

.ep-list-desc {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--el-text-color-secondary);
    line-height: 1.6;
}

.ep-list-desc--tight {
    line-height: 1.5;
}

.ep-list-item--flush {
    padding: 0;
    border: none;
}

.ep-side-hit-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ep-side-hit-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--el-text-color-primary);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.ep-side-hit-title:hover {
    color: var(--el-color-primary);
}

.ep-side-hit-desc {
    font-size: 12px;
    color: var(--el-text-color-secondary);
    margin-top: 4px;
}

.ep-latest-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--el-border-color-lighter);
}

.ep-latest-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--el-text-color-primary);
    text-decoration: none;
}

a.ep-latest-title:hover {
    color: var(--el-color-primary);
}

.ep-latest-time {
    font-size: 12px;
    color: var(--el-text-color-secondary);
    margin-top: 4px;
}

.ep-yqlj-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--el-border-color-lighter);
}

.ep-card-body--tight-y {
    padding-top: 8px;
    padding-bottom: 8px;
}

.ep-btn-icon-noshrink {
    flex-shrink: 0;
}

.ep-header-search-input {
    width: 100%;
    margin-bottom: 12px;
}

.ep-header-search-submit {
    width: 100%;
}

.ep-user-name {
    font-weight: 600;
}

.ep-user-meta {
    font-size: 12px;
    color: var(--el-text-color-secondary);
}

/* 搜索页筛选区 */
.ep-search-filters {
    margin-bottom: 24px;
}

.ep-search-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ep-search-row--center {
    align-items: center;
}

.ep-search-label {
    width: 72px;
    font-weight: 600;
    flex-shrink: 0;
}

.ep-search-field {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ep-search-divider {
    border-bottom: 1px dashed var(--el-border-color);
    margin: 12px 0;
}

.ep-search-keyword-wrap {
    width: 260px;
    max-width: 100%;
}

/* 详情页 */
.ep-show-card-body {
    padding: 28px;
}

.ep-show-title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 600;
    color: var(--el-text-color-primary);
}

.ep-show-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--el-text-color-secondary);
}

.ep-show-tags {
    margin-top: 24px;
}

.ep-show-prevnext-wrap {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--el-border-color-lighter);
}

.ep-show-related {
    margin-top: 28px;
}

.ep-show-related-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.ep-show-related-grid {
    gap: 16px;
}

.ep-show-related-col {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 200px;
}

.ep-related-card {
    height: 100%;
}

.ep-related-cover {
    display: block;
    height: 140px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.ep-related-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ep-related-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--el-text-color-primary);
}

a.ep-related-title:hover {
    color: var(--el-color-primary);
}

.ep-related-desc {
    font-size: 12px;
    color: var(--el-text-color-secondary);
    margin: 8px 0;
}

.ep-related-date {
    font-size: 12px;
    color: var(--el-text-color-placeholder);
}

/* 单页 */
.ep-page-card {
    margin-top: 16px;
}

.ep-page-body {
    padding: 32px 40px;
}

.ep-page-title {
    text-align: center;
    margin: 0 0 24px;
    font-size: 26px;
    font-weight: 600;
}

/* 单页两列布局：左侧边栏 + 右侧正文 */
.ep-page-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.ep-page-side {
    width: 240px;
    flex-shrink: 0;
}

.ep-side-block {
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid var(--el-border-color-lighter);
}

.ep-side-block-title {
    padding: 14px 16px;
    background: #1fa04b;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.ep-side-block-body {
    padding: 16px;
    font-size: 14px;
    color: var(--el-text-color-regular);
    line-height: 1.8;
}

/* 深色块：联系方式 */
.ep-side-block--dark {
    background: #2c3441;
    border-color: #2c3441;
}

.ep-side-block--dark .ep-side-block-title {
    background: #1f2630;
}

.ep-side-block--dark .ep-side-block-body {
    color: #c0c4cc;
}

.ep-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ep-contact-list li {
    padding: 5px 0;
    font-size: 13px;
}

.ep-contact-label {
    color: #fff;
    font-weight: 500;
}

.ep-honor-placeholder {
    margin: 0;
    text-align: center;
    color: #c0c4cc;
    font-size: 13px;
    line-height: 1.8;
}

/* 荣誉证书：两列网格 + 悬停放大 */
.ep-honor-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.ep-honor-item {
    display: block;
    overflow: hidden;
    border: 1px solid var(--el-border-color-lighter);
    background: #fff;
}

.ep-honor-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.ep-honor-item:hover img {
    transform: scale(1.06);
}

/* 第 3、4 张独立占满一行 */
.ep-honor-item:nth-child(3),
.ep-honor-item:nth-child(4) {
    grid-column: span 2;
}

/* 点击查看大图的灯箱 */
.ep-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

.ep-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.ep-page-main {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--el-border-color-lighter);
    padding: 32px 40px;
}

@media (max-width: 991px) {
    .ep-page-layout {
        flex-direction: column;
    }
    .ep-page-side {
        width: 100%;
    }
}

/* ========== 右侧悬浮联系窗 ========== */
.ep-float-contact {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    width: 180px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--el-border-color-lighter);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.ep-float-qr {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ep-float-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ep-float-name {
    font-size: 14px;
    color: #409eff;
    font-weight: 500;
    margin-bottom: 4px;
}

.ep-float-name .fa-wechat {
    color: #1fa04b;
    margin-right: 4px;
}

.ep-float-tip {
    font-size: 12px;
    color: #909399;
    margin-bottom: 10px;
}

.ep-float-phone {
    font-size: 16px;
    font-weight: 600;
    color: #409eff;
    margin-bottom: 12px;
}

.ep-float-phone .fa-phone {
    margin-right: 4px;
}

.ep-float-phone a {
    color: #409eff;
    text-decoration: none;
}

.ep-float-btn {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 4px;
    background: #f56c6c;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.ep-float-btn:hover {
    background: #e85a5a;
}

.ep-float-btn .fa-comments {
    margin-right: 6px;
}

/* ========== 技术咨询弹窗 ========== */
.ep-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.ep-modal.is-show {
    display: block;
}

.ep-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.ep-modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    max-width: 90vw;
    padding: 40px 32px 32px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.ep-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    background: #f5f7fa;
    border-radius: 50%;
    color: #909399;
    cursor: pointer;
    font-size: 14px;
}

.ep-modal-close:hover {
    background: #ebeef5;
    color: #606266;
}

.ep-modal-avatar {
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #1fa04b;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
}

.ep-modal-title {
    margin: 0 0 8px;
    font-size: 20px;
    color: #303133;
}

.ep-modal-sub {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    color: #1fa04b;
    border: 1px solid #1fa04b;
    border-radius: 10px;
    margin-bottom: 24px;
}

.ep-modal-divider {
    height: 1px;
    background: var(--el-border-color-lighter);
    margin-bottom: 20px;
}

.ep-modal-qr-label {
    font-size: 14px;
    color: #606266;
    margin-bottom: 12px;
}

.ep-modal-qr {
    width: 180px;
    height: 180px;
    margin: 0 auto 12px;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ep-modal-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ep-modal-qr-tip {
    font-size: 12px;
    color: #c0c4cc;
}

@media (max-width: 991px) {
    .ep-float-contact {
        display: none;
    }
}

/* 频道封面标题链 */
.ep-cat-title-link {
    font-size: 16px;
    font-weight: 600;
}

/* 提示 / 404 文案 */
.ep-msg-icon-box {
    font-size: 48px;
    margin-bottom: 16px;
}

.ep-msg-icon--ok {
    color: var(--el-color-success);
}

.ep-msg-icon--err {
    color: var(--el-color-danger);
}

.ep-msg-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
}

.ep-msg-actions {
    font-size: 14px;
    color: var(--el-text-color-secondary);
}

.ep-404-msg {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--el-text-color-secondary);
}

/* 可视化编辑占位（dev/action） */
.ep-dev-hint {
    text-align: center;
    padding-top: 30px;
}

/* ==================== 频道封面：子栏目分组列表 ==================== */
.ep-catnav-wrap {
    padding: 34px 0 56px;
}

.ep-catnav-section {
    margin-bottom: 34px;
}

.ep-catnav-section:last-child {
    margin-bottom: 0;
}

.ep-catnav-head {
    display: flex;
    align-items: flex-end;
}

.ep-catnav-title {
    display: inline-block;
    padding: 7px 30px 7px 20px;
    background: #1a7f37;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.ep-catnav-title:hover {
    color: #fff;
}

.ep-catnav-line {
    flex: 1;
    height: 1px;
    background: #1a7f37;
}

.ep-catnav-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0 0 0 30px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px 12px;
}

.ep-catnav-list li {
    min-width: 0;
}

.ep-catnav-list a {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    word-break: break-all;
}

.ep-catnav-list a:hover {
    color: #1a7f37;
}

/* 频道封面：只有一层子栏目时的产品列表 */
.ep-prod-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 16px;
}

.ep-prod-card {
    background: #fff;
    border: 1px solid #ececec;
    transition: border-color .2s, box-shadow .2s;
}

.ep-prod-card:hover {
    border-color: #1a7f37;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.ep-prod-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.ep-prod-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ep-prod-body {
    padding: 12px 14px 16px;
    border-top: 1px solid #f2f2f2;
}

.ep-prod-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
    font-size: 14px;
    line-height: 21px;
    color: #333;
    text-decoration: none;
}

.ep-prod-title:hover {
    color: #1a7f37;
}

.ep-prod-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 19px;
    color: #999;
}

/* 频道列表页：左侧目录 + 产品表格 */
.ep-list-side {
    flex: 0 0 230px;
}

.ep-list-main {
    flex: 1 1 640px;
    min-width: 0;
}

.ep-side-box {
    margin-bottom: 24px;
}

.ep-side-title {
    padding: 11px 14px;
    background: #1a7f37;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.ep-side-cats {
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 0;
}

.ep-side-cats li {
    position: relative;
    padding: 6px 12px 6px 26px;
    font-size: 14px;
    line-height: 1.5;
}

.ep-side-cats li::before {
    content: "—";
    position: absolute;
    left: 10px;
    color: #b0b0b0;
}

.ep-side-cats a {
    color: #333;
    text-decoration: none;
}

.ep-side-cats a:hover,
.ep-side-cats li.is-active a {
    color: #1a7f37;
}

.ep-side-cats li.is-active a {
    font-weight: 600;
}

.ep-side-empty {
    margin: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 0;
    font-size: 13px;
    color: #666;
}

/* 最近浏览过的商品 */
.ep-recent-list {
    margin: 0;
    padding: 6px 12px;
    list-style: none;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 0;
}

.ep-recent-list:empty {
    display: none;
}

.ep-recent-list li {
    border-bottom: 1px dashed #eee;
}

.ep-recent-list li:last-child {
    border-bottom: 0;
}

.ep-recent-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
}

.ep-recent-list a:hover {
    color: #1a7f37;
}

.ep-recent-list img {
    flex: 0 0 48px;
    width: 48px;
    height: 40px;
    object-fit: contain;
}

.ep-recent-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ep-brand-bar {
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ececec;
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

.ep-brand-bar a {
    color: #1a7f37;
    text-decoration: none;
    margin-right: 6px;
}

.ep-brand-bar a::after {
    content: "|";
    margin-left: 6px;
    color: #ccc;
}

.ep-brand-bar a:last-child::after {
    content: "";
}

.ep-brand-bar a.is-active {
    color: #d40000;
    font-weight: 600;
}

.ep-prod-table-wrap {
    overflow-x: auto;
}

.ep-prod-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 0;
    table-layout: fixed;
}

.ep-prod-table thead th {
    padding: 10px 8px;
    background: #1a7f37;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.ep-prod-table td {
    padding: 14px 10px;
    border-bottom: 1px dashed #ddd;
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    text-align: center;
    vertical-align: middle;
}

.ep-prod-table tbody tr:last-child td {
    border-bottom: 0;
}

.ep-pt-img {
    width: 150px;
}

.ep-pt-img img {
    display: block;
    width: 120px;
    height: 100px;
    margin: 0 auto;
    object-fit: contain;
}

.ep-pt-name {
    width: 180px;
}

.ep-pt-name a {
    color: #333;
    text-decoration: none;
}

.ep-pt-name a:hover {
    color: #1a7f37;
}

.ep-prod-table td.ep-pt-desc {
    text-align: left;
}

.ep-pt-brand {
    width: 150px;
}

.ep-pt-price {
    width: 130px;
}

.ep-inquiry {
    color: #d40000;
    text-decoration: none;
}

.ep-inquiry:hover {
    text-decoration: underline;
}

@media (max-width: 1199px) {
    .ep-prod-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ep-catnav-wrap {
        padding: 22px 0 36px;
    }

    .ep-catnav-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 0;
        margin-top: 16px;
    }

    .ep-prod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 12px;
    }

    .ep-prod-thumb {
        height: 150px;
    }

    .ep-list-side,
    .ep-list-main {
        flex: 1 1 100%;
    }
}

/* ===== 产品详情页 ===== */
.ep-show-head {
    padding: 11px 16px;
    background: #1a7f37;
    color: #fff;
    font-size: 15px;
    line-height: 1;
}

.ep-block-title {
    margin-top: 14px;
    padding: 9px 14px;
    background: #f2f5f7;
    border-bottom: 1px solid #e8ecef;
    font-size: 13px;
    color: #333;
}

.ep-show-basic {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 18px 14px 22px;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 0;
}

.ep-show-photo {
    flex: 0 0 300px;
    padding: 10px;
    border: 1px solid #e5e5e5;
    background: #fff;
    text-align: center;
}

.ep-show-photo img {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
}

.ep-show-info {
    flex: 1 1 auto;
    min-width: 0;
}

.ep-show-name {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #222;
}

.ep-show-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.ep-inquiry-btn {
    padding: 3px 10px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 13px;
    color: #d40000;
    text-decoration: none;
}

.ep-inquiry-btn:hover {
    border-color: #d40000;
    color: #d40000;
}

.ep-qq-btn {
    padding: 3px 10px;
    border: 1px solid #7cb8ea;
    border-radius: 2px;
    background: #fff;
    font-size: 13px;
    color: #2d8fd5;
    text-decoration: none;
}

.ep-qq-btn:hover {
    background: #eaf5ff;
    color: #2d8fd5;
}

.ep-show-attrs {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 2;
    color: #555;
}

.ep-show-kws {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.ep-show-kws .ep-badge {
    margin: 0;
}

.ep-show-content {
    min-height: 260px;
    padding: 18px 14px;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 0;
}

.ep-show-related {
    margin-top: 20px;
}

.ep-rel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 14px;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 0;
}

.ep-rel-card {
    display: block;
    text-align: center;
    text-decoration: none;
}

.ep-rel-card img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    border: 1px solid #eee;
    background: #fff;
}

.ep-rel-name {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

.ep-rel-card:hover .ep-rel-name {
    color: #1a7f37;
}

@media (max-width: 991px) {
    .ep-show-basic {
        flex-wrap: wrap;
        gap: 16px;
    }

    .ep-show-photo {
        flex: 0 0 100%;
    }

    .ep-rel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 列表页：产品名称列左对齐 */
.ep-prod-table th.ep-pt-name,
.ep-prod-table td.ep-pt-name {
    text-align: left;
}

/* ===== 搜索页 ===== */
.ep-search-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #ececec;
    margin-bottom: 12px;
}

.ep-search-bar select {
    height: 34px;
    padding: 0 8px;
    border: 1px solid #dcdfe6;
    background: #fff;
    font-size: 13px;
    color: #333;
    outline: none;
}

.ep-search-bar input[type="text"] {
    flex: 1 1 260px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    font-size: 13px;
    color: #333;
    outline: none;
}

.ep-search-bar input[type="text"]:focus {
    border-color: #1a7f37;
}

.ep-search-bar button {
    height: 34px;
    padding: 0 22px;
    border: 0;
    background: #1a7f37;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.ep-search-bar button:hover {
    background: #15682c;
}

.ep-search-info {
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ececec;
    border-bottom: 0;
    font-size: 13px;
    color: #666;
}

.ep-search-info em {
    font-style: normal;
    color: #d40000;
}

.ep-search-empty {
    padding: 60px 20px;
    background: #fff;
    border: 1px solid #ececec;
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* ===== 询价车 ===== */
.ep-cart-btn {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #1a7f37;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26, 127, 55, 0.35);
}

.ep-cart-btn:hover {
    background: #15682c;
}

.ep-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.ep-cart-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}

.ep-cart-modal.is-show {
    display: block;
}

.ep-cart-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.ep-cart-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 640px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.ep-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #1a7f37;
    color: #fff;
    font-size: 15px;
}

.ep-cart-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.9;
}

.ep-cart-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px 18px;
}

.ep-cart-empty {
    margin: 0;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    color: #999;
}

.ep-cart-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ep-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.ep-cart-item img {
    flex: 0 0 60px;
    width: 60px;
    height: 50px;
    object-fit: contain;
}

.ep-cart-item-info {
    flex: 1 1 auto;
    min-width: 0;
}

.ep-cart-item-title {
    display: block;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ep-cart-item-title:hover {
    color: #1a7f37;
}

.ep-cart-item-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #999;
}

.ep-cart-num {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

.ep-cart-num button {
    width: 26px;
    height: 26px;
    border: 0;
    background: #f7f7f7;
    color: #555;
    cursor: pointer;
}

.ep-cart-num input {
    width: 40px;
    height: 26px;
    border: 0;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 13px;
    outline: none;
}

.ep-cart-del {
    border: 0;
    background: transparent;
    color: #bbb;
    font-size: 14px;
    cursor: pointer;
}

.ep-cart-del:hover {
    color: #e53935;
}

.ep-cart-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.ep-cart-field {
    display: block;
    font-size: 13px;
    color: #555;
}

.ep-cart-field span {
    display: block;
    margin-bottom: 6px;
}

.ep-cart-field em {
    font-style: normal;
    color: #e53935;
}

.ep-cart-field input,
.ep-cart-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #dcdfe6;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.ep-cart-field input:focus,
.ep-cart-field textarea:focus {
    border-color: #1a7f37;
}

.ep-cart-field:last-child {
    grid-column: 1 / -1;
}

.ep-cart-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.ep-cart-total {
    font-size: 13px;
    color: #666;
}

.ep-cart-btns {
    display: flex;
    gap: 10px;
}

.ep-cart-op {
    padding: 8px 22px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 13px;
    cursor: pointer;
}

.ep-cart-op.is-primary {
    border-color: #1a7f37;
    background: #1a7f37;
    color: #fff;
}

.ep-cart-op.is-primary:hover {
    background: #15682c;
}

.ep-cart-op[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ep-cart-success {
    padding: 36px 0;
    text-align: center;
}

.ep-cart-success i {
    font-size: 44px;
    color: #1a7f37;
}

.ep-cart-success h3 {
    margin: 12px 0 8px;
    font-size: 17px;
    color: #333;
}

.ep-cart-success p {
    margin: 4px 0;
    font-size: 13px;
    color: #666;
}

.ep-toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    z-index: 1400;
    padding: 9px 20px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}

.ep-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 767px) {
    .ep-cart-form {
        grid-template-columns: 1fr;
    }

    .ep-cart-btn {
        bottom: 84px;
        width: 40px;
        height: 40px;
    }
}

/* ===== 新闻模块（行业动态）===== */
/* 新闻列表 */
.ep-news-list-box {
    padding: 16px 22px 22px;
    background: #fff;
    border: 1px solid #ececec;
}

.ep-news-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a7f37;
}

.ep-news-list-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a7f37;
    line-height: 1.4;
}

.ep-news-list-sub {
    font-size: 13px;
    color: #999;
}

.ep-news-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px dashed #e8e8e8;
}

.ep-news-item:last-of-type {
    border-bottom: 0;
}

.ep-news-thumb {
    flex: 0 0 200px;
    height: 132px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #ececec;
}

.ep-news-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ep-news-thumb:hover img {
    transform: scale(1.04);
}

.ep-news-body {
    flex: 1 1 auto;
    min-width: 0;
}

.ep-news-title {
    display: block;
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: #222;
}

.ep-news-title:hover {
    color: #1a7f37;
}

.ep-news-desc {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.75;
    color: #666;
}

.ep-news-meta {
    font-size: 13px;
    color: #999;
}

.ep-news-meta span {
    display: inline-block;
    margin-right: 18px;
}

.ep-news-meta i {
    margin-right: 5px;
    color: #1a7f37;
}

/* 新闻栏目侧边联系方式 */
.ep-news-contact {
    margin: 0;
    padding: 10px 14px;
    list-style: none;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 0;
    font-size: 13px;
    line-height: 1.9;
    color: #555;
}

.ep-news-contact li span {
    color: #1a7f37;
    font-weight: 500;
}

/* 频道封面：按子栏目分组 */
.ep-news-cat-wrap {
    padding: 8px 22px 26px;
    background: #fff;
    border: 1px solid #ececec;
}

.ep-news-cat-section {
    padding-top: 20px;
}

.ep-news-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 9px;
    border-bottom: 2px solid #1a7f37;
}

.ep-news-cat-name {
    font-size: 17px;
    font-weight: 600;
    color: #1a7f37;
}

.ep-news-more {
    font-size: 13px;
    color: #999;
}

.ep-news-more:hover {
    color: #1a7f37;
}

.ep-news-cat-list {
    margin: 0;
    padding: 6px 0 0;
    list-style: none;
}

.ep-news-cat-list li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0 9px 16px;
    border-bottom: 1px dashed #f0f0f0;
}

.ep-news-cat-list li:last-child {
    border-bottom: 0;
}

.ep-news-cat-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2px;
    border-radius: 50%;
    background: #c9d6ca;
}

.ep-news-cat-list a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #333;
}

.ep-news-cat-list a:hover {
    color: #1a7f37;
}

.ep-news-cat-date {
    flex-shrink: 0;
    font-size: 12px;
    color: #aaa;
}

/* 新闻详情 */
.ep-news-detail {
    padding: 26px 30px 30px;
    background: #fff;
    border: 1px solid #ececec;
}

.ep-news-detail-title {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a1a;
    text-align: center;
}

.ep-news-detail-meta {
    padding-bottom: 16px;
    border-bottom: 1px solid #ececec;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.ep-news-detail-meta span {
    margin: 0 10px;
}

.ep-news-abstract {
    margin-top: 18px;
    padding: 14px 18px;
    background: #f7faf7;
    border-left: 3px solid #1a7f37;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.ep-news-content {
    margin-top: 20px;
}

.ep-news-kws {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px dashed #e5e5e5;
    font-size: 13px;
    color: #666;
}

.ep-news-prevnext {
    margin-top: 18px;
    padding: 14px 18px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    font-size: 14px;
    color: #666;
}

.ep-news-prevnext p {
    margin: 6px 0;
}

.ep-news-prevnext a {
    color: #333;
}

.ep-news-prevnext a:hover {
    color: #1a7f37;
}

.ep-news-related {
    margin-top: 20px;
}

.ep-news-rel-list {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ececec;
    border-top: 0;
}

.ep-news-rel-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 16px;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 14px;
}

.ep-news-rel-list li:last-child {
    border-bottom: 0;
}

.ep-news-rel-list a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

.ep-news-rel-list a:hover {
    color: #1a7f37;
}

.ep-news-rel-list span {
    flex-shrink: 0;
    font-size: 12px;
    color: #aaa;
}

@media (max-width: 767px) {
    .ep-news-list-box {
        padding: 14px 14px 18px;
    }

    .ep-news-item {
        flex-direction: column;
        gap: 10px;
    }

    .ep-news-thumb {
        flex: none;
        width: 100%;
        height: 180px;
    }

    .ep-news-cat-wrap {
        padding: 6px 14px 18px;
    }

    .ep-news-detail {
        padding: 18px 16px 24px;
    }

    .ep-news-detail-title {
        font-size: 20px;
        text-align: left;
    }

    .ep-news-detail-meta {
        text-align: left;
    }
}

/* ===== 首页：分类导航与促销 ===== */
.ep-home-sections {
    padding: 26px 24px 4px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 6px;
}

.ep-home-cat {
    margin-bottom: 34px;
}

.ep-home-cat-head {
    display: flex;
    align-items: flex-end;
}

.ep-home-cat-title {
    display: inline-block;
    padding: 8px 30px 8px 20px;
    background: #1a7f37;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    white-space: nowrap;
}

a.ep-home-cat-title:hover {
    color: #fff;
}

.ep-home-cat-line {
    flex: 1;
    height: 1px;
    background: #1a7f37;
}

.ep-home-cat-grid {
    list-style: none;
    margin: 22px 0 0;
    padding: 0 0 0 27px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px 12px;
}

.ep-home-cat-grid li {
    min-width: 0;
}

.ep-home-cat-grid a {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-all;
}

.ep-home-cat-grid a:hover {
    color: #1a7f37;
}

/* 当季促销商品 */
.ep-home-promo-box {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 26px 22px 22px;
    border: 1px solid #b7d3bf;
}

.ep-home-promo-item {
    min-width: 0;
    text-align: center;
}

.ep-home-promo-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.ep-home-promo-thumb img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.ep-home-promo-name {
    display: block;
    margin-top: 10px;
    height: 40px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.55;
    color: #333;
}

.ep-home-promo-name:hover {
    color: #1a7f37;
}

.ep-home-promo-price {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.ep-home-promo-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 1px 18px;
    background: #dcdcdc;
    color: #333;
    font-size: 13px;
    line-height: 24px;
}

.ep-home-promo-btn:hover {
    background: #cfcfcf;
    color: #333;
}

@media (max-width: 1199px) {
    .ep-home-cat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .ep-home-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-left: 0;
    }

    .ep-home-promo-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .ep-home-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
