/* ============================================
   集团电商网站样式 - 主色调 #1a237e
   ============================================ */

:root {
    --primary: #1a237e;
    --primary-light: #3949ab;
    --primary-dark: #0d1642;
    --secondary: #ff6f00;
    --accent: #ffc107;
    --dark: #212121;
    --gray: #757575;
    --light: #f5f5f5;
    --white: #ffffff;
    --border: #e0e0e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

a { color: var(--primary); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; }
ul, li { list-style: none; }

.ey-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   顶部工具栏
   ============================================ */
.ey-topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    padding: 10px 0;
    line-height: 1.5;
}
.ey-topbar .ey-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ey-topbar-left, .ey-topbar-right {
    display: flex;
    align-items: center;
}
.ey-topbar a { color: rgba(255,255,255,0.8); }
.ey-topbar a:hover { color: #fff; }
.ey-topbar .ey-sep { margin: 0 10px; opacity: 0.4; }
.ey-topbar i { margin-right: 5px; }

/* 登录后用户信息 */
.ey-user-logged {
    display: flex;
    align-items: center;
}
.ey-user-logged .ey-user-avatar {
    display: flex;
    align-items: center;
}
.ey-user-logged .ey-user-avatar img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-right: 6px;
}
.ey-user-logged a {
    color: rgba(255,255,255,0.8);
}
.ey-user-logged a:hover {
    color: #fff;
}
.ey-user-box {
    display: flex;
    align-items: center;
}

/* ============================================
   主导航
   ============================================ */
.ey-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.ey-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.ey-logo img { max-height: 45px; }

/* 导航菜单 */
.ey-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.ey-nav-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
.ey-nav-close {
    display: none;
}
.ey-nav-item {
    position: relative;
    margin: 0;
}
.ey-nav-item > a {
    display: block;
    padding: 0 22px;
    line-height: 70px;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
}
.ey-nav-item:hover > a,
.ey-nav-item.active > a {
    color: var(--primary);
}
.ey-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
}
.ey-nav-item:hover::after,
.ey-nav-item.active::after {
    width: 40px;
}

/* 下拉菜单 */
.ey-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin: 0;
}
.ey-nav-item:hover .ey-dropdown {
    opacity: 1;
    visibility: visible;
}
.ey-dropdown li {
    margin: 0;
    padding: 0;
}
.ey-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    font-size: 14px;
    line-height: 1.5;
    font-weight: normal;
}
.ey-dropdown li a:hover {
    background: var(--primary);
    color: var(--white);
}

/* 右侧操作区 */
.ey-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ey-search {
    position: relative;
}
.ey-search form {
    display: flex;
    align-items: center;
}
.ey-search input {
    width: 160px;
    height: 36px;
    padding: 0 38px 0 15px;
    border: 2px solid var(--border);
    border-radius: 18px;
    outline: none;
    font-size: 13px;
    transition: all 0.3s;
}
.ey-search input:focus {
    border-color: var(--primary);
    width: 180px;
}
.ey-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ey-search button i {
    font-size: 14px;
}
.ey-cart-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 50%;
    color: var(--dark);
    font-size: 16px;
}
.ey-cart-btn:hover {
    background: var(--primary);
    color: var(--white);
}


/* ============================================
   页面Banner
   ============================================ */
.ey-page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}
.ey-page-banner h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}
.ey-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}
.ey-breadcrumb a { color: rgba(255,255,255,0.7); }
.ey-breadcrumb a:hover { color: var(--white); }
.ey-breadcrumb span { color: rgba(255,255,255,0.5); }

/* ============================================
   轮播Banner
   ============================================ */
.ey-hero {
    position: relative;
    overflow: hidden;
}
.ey-hero .owl-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ============================================
   区块标题
   ============================================ */
.ey-section { padding: 60px 0; }
.ey-section.bg-light { background: var(--light); }

.ey-section-title {
    text-align: center;
    margin-bottom: 40px;
}
.ey-section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.ey-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.ey-section-title p {
    color: var(--gray);
    margin-top: 15px;
}

/* ============================================
   服务特色
   ============================================ */
.ey-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ey-feature-box {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.ey-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.ey-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
}
.ey-feature-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.ey-feature-box p {
    color: var(--gray);
    font-size: 13px;
}

/* ============================================
   分类导航
   ============================================ */
.ey-category-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.ey-category-nav a {
    padding: 8px 25px;
    background: var(--light);
    border-radius: 25px;
    color: var(--dark);
    font-weight: 500;
}
.ey-category-nav a:hover,
.ey-category-nav a.active {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   产品卡片
   ============================================ */
.ey-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.ey-product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.ey-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.ey-product-img {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}
.ey-product-img > a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.ey-product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.ey-product-card:hover .ey-product-img img {
    transform: scale(1.08);
}
.ey-product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    transition: bottom 0.3s;
}
.ey-product-card:hover .ey-product-actions {
    bottom: 0;
}
.ey-product-actions a {
    width: 38px;
    height: 38px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}
.ey-product-actions a:hover {
    background: var(--primary);
    color: var(--white);
}
.ey-product-info {
    padding: 20px;
}
.ey-product-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}
.ey-product-info h3 a { color: var(--dark); }
.ey-product-info h3 a:hover { color: var(--primary); }
.ey-product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

/* ============================================
   关于我们
   ============================================ */
.ey-about {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
}
.ey-about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.ey-about h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}
.ey-about p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 30px;
}
.ey-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}
.ey-stat-item { text-align: center; }
.ey-stat-num {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.ey-stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 5px;
}
.ey-about-img img {
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* ============================================
   新闻卡片
   ============================================ */
.ey-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.ey-news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.ey-news-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.ey-news-img {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}
.ey-news-img > a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.ey-news-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.ey-news-card:hover .ey-news-img img {
    transform: scale(1.05);
}
.ey-news-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    line-height: 1.2;
    z-index: 2;
}
.ey-news-date .day { font-size: 22px; font-weight: 700; }
.ey-news-date .month { font-size: 12px; }
.ey-news-content {
    padding: 20px;
}
.ey-news-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}
.ey-news-content h3 a { color: var(--dark); }
.ey-news-content h3 a:hover { color: var(--primary); }
.ey-news-content p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.6;
}


/* ============================================
   页脚
   ============================================ */
.ey-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding-top: 60px;
}
.ey-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}
.ey-footer-widget h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}
.ey-footer-widget p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 13px;
}
.ey-footer-widget ul li {
    margin-bottom: 10px;
}
.ey-footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}
.ey-footer-widget ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}
.ey-footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.ey-footer-contact .contact-item i {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}
.ey-footer-contact .contact-item span {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.6;
}
.ey-footer-qrcode {
    text-align: center;
}
.ey-footer-qrcode img {
    width: 110px;
    height: 110px;
    padding: 5px;
    background: var(--white);
    border-radius: 8px;
}
.ey-footer-qrcode p {
    margin-top: 10px;
    font-size: 12px;
}
.ey-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ey-footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin: 0;
}
.ey-footer-bottom a {
    color: rgba(255,255,255,0.5);
}

/* ============================================
   按钮
   ============================================ */
.ey-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.ey-btn-primary {
    background: var(--primary);
    color: var(--white);
}
.ey-btn-primary:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26,35,126,0.3);
}
.ey-btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.ey-btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.ey-btn-secondary {
    background: var(--secondary);
    color: var(--white);
}
.ey-btn-secondary:hover {
    background: #e65100;
    color: var(--white);
}
.ey-btn-white {
    background: var(--white);
    color: var(--primary);
}

/* ============================================
   列表页样式
   ============================================ */
.ey-list-nav {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}
.ey-list-nav ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ey-list-nav ul li a {
    display: block;
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--dark);
    background: var(--light);
}
.ey-list-nav ul li a:hover,
.ey-list-nav ul li a.active {
    background: var(--primary);
    color: var(--white);
}

/* 文章列表 */
.ey-article-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.ey-article-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.ey-article-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.ey-article-item .img-box {
    height: 200px;
    overflow: hidden;
}
.ey-article-item .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.ey-article-item:hover .img-box img {
    transform: scale(1.05);
}
.ey-article-item .content-box {
    padding: 25px 25px 25px 0;
    display: flex;
    flex-direction: column;
}
.ey-article-item .meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 10px;
}
.ey-article-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}
.ey-article-item h3 a { color: var(--dark); }
.ey-article-item h3 a:hover { color: var(--primary); }
.ey-article-item p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    flex-grow: 1;
}
.ey-article-item .read-more {
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   详情页
   ============================================ */
.ey-detail {
    padding: 40px 0;
}
.ey-detail-main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}
.ey-detail-content {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ey-detail-content h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}
.ey-detail-meta {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 25px;
    color: var(--gray);
    font-size: 13px;
}
.ey-detail-body {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}
.ey-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}
.ey-detail-body p {
    margin-bottom: 15px;
}

/* 侧边栏 */
.ey-sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ey-sidebar-widget h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.ey-sidebar-widget ul li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}
.ey-sidebar-widget ul li:last-child {
    border-bottom: none;
}
.ey-sidebar-widget ul li a {
    color: var(--dark);
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ey-sidebar-widget ul li a:hover {
    color: var(--primary);
}

/* ============================================
   分页
   ============================================ */
.ey-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.ey-pagination a,
.ey-pagination span {
    display: inline-block;
    padding: 10px 16px;
    background: var(--white);
    border-radius: 8px;
    color: var(--dark);
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.ey-pagination a:hover,
.ey-pagination .active {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   产品详情
   ============================================ */
.ey-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ey-product-gallery .main-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}
.ey-product-gallery .main-img img {
    width: 100%;
}
.ey-product-gallery .thumb-list {
    display: flex;
    gap: 10px;
}
.ey-product-gallery .thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.ey-product-gallery .thumb-item.active,
.ey-product-gallery .thumb-item:hover {
    border-color: var(--primary);
}
.ey-product-gallery .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ey-product-detail-info h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}
.ey-product-detail-info .desc {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}
.ey-product-detail-info .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 25px;
}
.ey-spec-group {
    margin-bottom: 20px;
}
.ey-spec-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}
.ey-spec-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.ey-spec-btn:hover,
.ey-spec-btn.active,
.ey-spec-btn.btn-selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.ey-qty-box {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.ey-qty-box label {
    margin-right: 15px;
    font-weight: 600;
}
.ey-qty-box button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--light);
    font-size: 18px;
    cursor: pointer;
}
.ey-qty-box input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
}
.ey-buy-btns {
    display: flex;
    gap: 15px;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
    .ey-products { grid-template-columns: repeat(3, 1fr); }
    .ey-features { grid-template-columns: repeat(2, 1fr); }
    .ey-footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .ey-container { padding: 0 15px; }
    
    /* 顶部栏 */
    .ey-topbar { padding: 8px 0; font-size: 11px; }
    .ey-topbar .ey-container { flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
    .ey-topbar-left { display: none; }
    .ey-topbar-right { width: 100%; display: flex; justify-content: flex-end; }
    
    /* 导航 */
    .ey-header-inner { height: 60px; }
    .ey-logo img { max-height: 35px; }
    .ey-nav { 
        display: none; 
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
    }
    .ey-nav.active { display: block; }
    .ey-nav-menu { 
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: var(--white);
        overflow-y: auto;
        padding-top: 60px;
        margin: 0;
        animation: slideInRight 0.3s ease;
    }
    @keyframes slideInRight {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }
    
    /* 关闭按钮 */
    .ey-nav-close {
        display: flex;
        position: absolute;
        top: 12px;
        right: 15px;
        width: 36px;
        height: 36px;
        background: var(--primary);
        border: none;
        border-radius: 50%;
        color: var(--white);
        font-size: 18px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }
    .ey-nav-close:hover { background: var(--primary-dark); }
    
    .ey-nav-item { 
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        display: block;
    }
    .ey-nav-item > a { 
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        font-size: 15px;
        font-weight: 500;
        color: var(--dark);
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .ey-nav-item.has-sub > a {
        justify-content: center;
        position: relative;
    }
    .ey-nav-item.has-sub > a::after {
        position: absolute;
        right: 20px;
    }
    .ey-nav-item.active > a { 
        color: var(--primary);
        background: #f5f7ff;
    }
    .ey-nav-item::after { display: none; }
    
    /* 有子菜单的箭头 */
    .ey-nav-item.has-sub > a::after {
        content: '\e685';
        font-family: 'iconfont';
        font-size: 12px;
        color: #999;
        transition: transform 0.3s;
    }
    .ey-nav-item.has-sub.open > a::after {
        transform: rotate(90deg);
        color: var(--primary);
    }
    
    /* 二级菜单默认隐藏 */
    .ey-dropdown { 
        display: none;
        position: static; 
        transform: none; 
        box-shadow: none; 
        opacity: 1; 
        visibility: visible; 
        background: #f8f9fa;
        border-radius: 0;
        padding: 0;
        min-width: auto;
        width: 100%;
    }
    .ey-nav-item.open .ey-dropdown {
        display: block;
    }
    .ey-dropdown li { 
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    .ey-dropdown li:last-child { border-bottom: none; }
    .ey-dropdown li a { 
        padding: 8px 20px;
        font-size: 14px;
        color: #666;
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .ey-dropdown li a::before {
        display: none;
    }
    .ey-dropdown li a:hover,
    .ey-dropdown li a:active { 
        background: #eef2ff;
        color: var(--primary);
    }
    
    .ey-header-right { gap: 8px; }
    .ey-search { display: none; }
    .ey-cart-btn { font-size: 20px; }
    
    /* 移动端菜单按钮 */
    .ey-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 26px;
        color: var(--primary);
        cursor: pointer;
        padding: 5px;
    }
    
    /* 页面Banner */
    .ey-page-banner { padding: 40px 0; }
    .ey-page-banner h1 { font-size: 24px; }
    
    /* 列表导航 */
    .ey-list-nav ul { justify-content: center; overflow-x: auto; flex-wrap: wrap; padding-bottom: 5px; gap: 8px; }
    .ey-list-nav ul li a { white-space: nowrap; padding: 6px 15px; font-size: 13px; }
    
    /* 产品列表 */
    .ey-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ey-product-card { border-radius: 8px; }
    .ey-product-info { padding: 12px; }
    .ey-product-info h3 { font-size: 13px; }
    
    /* 新闻列表 */
    .ey-news-grid { grid-template-columns: 1fr; }
    
    /* 关于我们 */
    .ey-about-inner { grid-template-columns: 1fr; }
    .ey-about-content { padding: 30px 20px; }
    .ey-stats { flex-wrap: wrap; }
    .ey-stat-item { flex: 1 1 45%; }
    
    /* 特色 */
    .ey-features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ey-feature-box { padding: 20px 15px; }
    .ey-feature-icon { width: 50px; height: 50px; font-size: 22px; }
    .ey-feature-box h4 { font-size: 15px; }
    .ey-feature-box p { font-size: 12px; }
    
    /* 页脚 */
    .ey-footer-grid { grid-template-columns: 1fr 1fr; }
    .ey-footer-main { padding: 30px 0; }
    
    /* 详情页 */
    .ey-detail-main { grid-template-columns: 1fr; }
    .ey-product-detail { grid-template-columns: 1fr; }
    .ey-article-item { grid-template-columns: 1fr; }
    .ey-article-item .img-box { height: 180px; }
    .ey-article-item .content-box { padding: 20px; }
    
    /* 分页 */
    .ey-pagination { margin-top: 30px; }
    .ey-pagination a { padding: 6px 12px; font-size: 13px; }
    
    /* Section */
    .ey-section { padding: 40px 0; }
    .ey-section-title h2 { font-size: 24px; }
}

@media (max-width: 480px) {
    .ey-products { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ey-features { grid-template-columns: 1fr; }
    .ey-footer-grid { grid-template-columns: 1fr; }
    .ey-stat-item { flex: 1 1 100%; }
    .ey-page-banner h1 { font-size: 20px; }
}

/* 隐藏移动端菜单按钮（桌面端） */
@media (min-width: 769px) {
    .ey-mobile-toggle { display: none; }
}


/* ============================================
   下载列表
   ============================================ */
.ey-download-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.ey-download-item {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.ey-download-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transform: translateX(5px);
}
.ey-download-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    margin-right: 20px;
    flex-shrink: 0;
}
.ey-download-info {
    flex: 1;
}
.ey-download-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}
.ey-download-info h3 a {
    color: var(--dark);
}
.ey-download-info h3 a:hover {
    color: var(--primary);
}
.ey-download-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 13px;
    margin: 0;
}
.ey-download-meta i {
    margin-right: 5px;
}
.ey-download-item .ey-btn {
    padding: 10px 25px;
    flex-shrink: 0;
}


/* ============================================
   联系我们
   ============================================ */
.ey-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.ey-contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ey-contact-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.ey-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.ey-contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}
.ey-contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 5px;
}
.ey-contact-item p {
    margin: 0;
    font-size: 16px;
    color: var(--dark);
}

/* ============================================
   表单样式
   ============================================ */
.ey-guestbook-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
}
.ey-guestbook-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.ey-form-group {
    margin-bottom: 20px;
}
.ey-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}
.ey-form-group input[type="text"],
.ey-form-group input[type="email"],
.ey-form-group input[type="tel"],
.ey-form-group textarea,
.ey-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
}
.ey-form-group input:focus,
.ey-form-group textarea:focus,
.ey-form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,35,126,0.1);
}
.ey-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 768px) {
    .ey-contact-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   登录弹窗
   ============================================ */
.ey-login-dialog {
    padding: 30px;
    background: var(--white);
}
.ey-login-dialog h3 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark);
}
.ey-login-dialog .ey-form-group {
    margin-bottom: 15px;
}
.ey-login-dialog input[type="text"],
.ey-login-dialog input[type="password"] {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}
.ey-login-dialog input:focus {
    border-color: var(--primary);
}
.ey-login-links {
    text-align: center;
    margin-top: 15px;
}
.ey-login-links a {
    margin: 0 10px;
    color: var(--gray);
    font-size: 13px;
}
.ey-login-links a:hover {
    color: var(--primary);
}
.ey-third-login {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.ey-third-login p {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 15px;
}
.ey-third-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.ey-third-btns a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
}
.ey-third-btns a[id*="qq"] {
    background: #1296db;
}
.ey-third-btns a[id*="wx"] {
    background: #07c160;
}
.ey-third-btns a:hover {
    opacity: 0.85;
    color: var(--white);
}

/* 弹窗样式覆盖 */
.dialog {
    border-radius: 12px !important;
    overflow: hidden;
}
.dialog-head {
    background: var(--white) !important;
    border: none !important;
    padding: 15px 20px !important;
}
.dialog-body {
    padding: 0 !important;
}


/* ============================================
   图片画廊
   ============================================ */
.ey-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ey-gallery-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.ey-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.ey-gallery-img {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}
.ey-gallery-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.ey-gallery-item:hover .ey-gallery-img img {
    transform: scale(1.1);
}
.ey-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,35,126,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.ey-gallery-item:hover .ey-gallery-overlay {
    opacity: 1;
}
.ey-gallery-overlay i {
    font-size: 36px;
    color: var(--white);
}
.ey-gallery-info {
    padding: 15px;
    text-align: center;
}
.ey-gallery-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .ey-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .ey-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ey-gallery-info { padding: 12px; }
    .ey-gallery-info h3 { font-size: 13px; }
}
@media (max-width: 480px) {
    .ey-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}


/* ============================================
   视频列表
   ============================================ */
.ey-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.ey-video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.ey-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.ey-video-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}
.ey-video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.ey-video-card:hover .ey-video-thumb img {
    transform: scale(1.05);
}
.ey-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(26,35,126,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.ey-video-play i {
    font-size: 28px;
    color: var(--white);
    margin-left: 3px;
}
.ey-video-card:hover .ey-video-play {
    background: var(--secondary);
    transform: translate(-50%, -50%) scale(1.1);
}
.ey-video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}
.ey-video-info {
    padding: 20px;
}
.ey-video-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}
.ey-video-info h3 a {
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ey-video-info h3 a:hover {
    color: var(--primary);
}
.ey-video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ey-video-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}
.ey-video-views {
    color: var(--gray);
    font-size: 13px;
}
.ey-video-views i {
    margin-right: 3px;
}

/* 相册幻灯片 */
.ey-gallery-slideshow {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
}
.ey-gallery-slideshow .pgwSlideshow {
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .ey-video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ey-video-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .ey-video-info { padding: 15px; }
    .ey-video-info h3 { font-size: 14px; }
    .ey-video-price { font-size: 16px; }
}
@media (max-width: 480px) {
    .ey-video-grid { grid-template-columns: 1fr; }
}


/* ============================================
   招聘列表
   ============================================ */
.ey-recruit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.ey-recruit-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.ey-recruit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.ey-recruit-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid var(--border);
}
.ey-recruit-date {
    font-size: 12px;
    color: var(--gray);
}
.ey-recruit-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 8px;
}
.ey-recruit-header h3 a {
    color: var(--dark);
}
.ey-recruit-header h3 a:hover {
    color: var(--primary);
}
.ey-recruit-body {
    padding: 20px 25px;
    flex: 1;
}
.ey-recruit-info p {
    margin: 0 0 10px;
    color: var(--gray);
    font-size: 14px;
}
.ey-recruit-info p:last-child {
    margin-bottom: 0;
}
.ey-recruit-info i {
    margin-right: 8px;
    color: var(--primary);
}
.ey-recruit-footer {
    padding: 15px 25px 25px;
}

@media (max-width: 1024px) {
    .ey-recruit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ey-recruit-grid { grid-template-columns: 1fr; gap: 15px; }
    .ey-recruit-header, .ey-recruit-body, .ey-recruit-footer { padding: 15px 20px; }
}


/* ============================================
   标签云
   ============================================ */
.ey-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.ey-tag-item {
    display: inline-block;
    padding: 8px 20px;
    background: var(--light);
    color: var(--dark);
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s;
}
.ey-tag-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* 招聘详情信息 */
.ey-recruit-detail-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 25px;
    background: var(--light);
    border-radius: 12px;
    margin: 25px 0;
}
.ey-recruit-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}
.ey-recruit-detail-item i {
    font-size: 20px;
    color: var(--primary);
}

@media (max-width: 768px) {
    .ey-recruit-detail-info {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
}
