/* 产品导航菜单专用样式 */

/* 产品下拉菜单容器 */
.products-mega-dropdown {
    min-width: 1400px;
    max-width: 1600px;
}

.products-mega-dropdown .mega-dropdown-content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    padding: 2rem;
}

/* 产品列标题样式 */
.products-mega-dropdown .mega-column-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1B365D;
    margin-bottom: 0.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E31E24;
}

.products-mega-dropdown .mega-column-title .icon {
    font-size: 1.2rem;
}

.products-mega-dropdown .mega-column-subtitle {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-style: italic;
}

/* 产品链接样式 */
.products-mega-dropdown .mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-mega-dropdown .mega-links li {
    margin-bottom: 0.5rem;
}

.products-mega-dropdown .mega-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.products-mega-dropdown .mega-links a:hover {
    background-color: #f8f9fa;
    color: #E31E24;
    transform: translateX(4px);
}

.products-mega-dropdown .mega-links a .arrow {
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #E31E24;
}

.products-mega-dropdown .mega-links a:hover .arrow {
    opacity: 1;
}

/* 特色产品标记 */
.products-mega-dropdown .mega-links li.featured a {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-left: 3px solid #E31E24;
    font-weight: 600;
}

.products-mega-dropdown .mega-links li.featured a:hover {
    background: linear-gradient(135deg, #ffebeb 0%, #fff5f5 100%);
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.15);
}

/* 查看全部链接 */
.products-mega-dropdown .mega-links a.view-all {
    margin-top: 0.5rem;
    padding: 0.6rem 0.75rem;
    background-color: #f0f0f0;
    color: #1B365D;
    font-weight: 600;
    border-radius: 6px;
}

.products-mega-dropdown .mega-links a.view-all:hover {
    background-color: #1B365D;
    color: white;
    transform: translateX(0);
}

/* 高亮列样式 */
.products-mega-dropdown .mega-column-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.products-mega-dropdown .mega-column-highlight .mega-column-title {
    border-bottom-color: #1B365D;
}

.products-mega-dropdown .mega-column-highlight .highlight-link {
    background-color: white;
    border: 1px solid #e0e0e0;
    font-weight: 500;
}

.products-mega-dropdown .mega-column-highlight .highlight-link:hover {
    background-color: #1B365D;
    color: white;
    border-color: #1B365D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 54, 93, 0.2);
}

/* CTA按钮区域 */
.products-mega-dropdown .mega-cta {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #E31E24 0%, #c41920 100%);
    border-radius: 10px;
    text-align: center;
    color: white;
}

.products-mega-dropdown .mega-cta h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 700;
}

.products-mega-dropdown .mega-cta p {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
    opacity: 0.95;
}

.products-mega-dropdown .mega-cta .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #E31E24;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.products-mega-dropdown .mega-cta .cta-button:hover {
    background-color: #1B365D;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 1600px) {
    .products-mega-dropdown {
        min-width: 1200px;
    }
    
    .products-mega-dropdown .mega-dropdown-content {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1400px) {
    .products-mega-dropdown {
        min-width: 1000px;
    }
    
    .products-mega-dropdown .mega-dropdown-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1200px) {
    .products-mega-dropdown {
        min-width: 100%;
        max-width: 100%;
    }
    
    .products-mega-dropdown .mega-dropdown-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .products-mega-dropdown .mega-dropdown-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-mega-dropdown .mega-dropdown-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-mega-dropdown .mega-column {
        padding-bottom: 1rem;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .products-mega-dropdown .mega-column:last-child {
        border-bottom: none;
    }
}

/* 动画效果 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-mega-dropdown {
    animation: slideDown 0.3s ease-out;
}

/* 滚动条样式（针对超长下拉菜单） */
.products-mega-dropdown::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.products-mega-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.products-mega-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.products-mega-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
}

