/* 自定义样式 - 覆盖 Element Plus 默认颜色 */
:root {
    --el-color-primary: #67C23A;
}

/* ========== 页脚完全重新设计 ========== */
.footer {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color) !important;
    padding: 40px 0 0 !important;
    margin-top: 80px !important;
}

.footer-content {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

/* 主要内容区域 */
.footer-main {
    display: flex !important;
    justify-content: space-between !important;
    padding-bottom: 30px !important;
    border-bottom: 1px solid var(--border-color) !important;
}

/* 左侧区域 */
.footer-left {
    flex: 0 0 35% !important;
    max-width: 35% !important;
}

.footer-logo h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 14px !important;
    background: linear-gradient(135deg, #f56c6c 0%, #ff8787 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.footer-intro {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
}

.footer-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.footer-info p {
    font-size: 12px !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
}

/* 右侧链接组 */
.footer-links-group {
    display: flex !important;
    gap: 60px !important;
    flex: 1 !important;
    justify-content: flex-end !important;
}

.footer-link-column {
    min-width: 100px !important;
}

.footer-link-column h4 {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 14px !important;
}

.footer-link-column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-link-column ul li {
    margin-bottom: 10px !important;
}

.footer-link-column ul li a {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}

.footer-link-column ul li a:hover {
    color: #f56c6c !important;
}

/* 二维码组 - 两个并排 */
.footer-qr-group {
    display: flex !important;
    gap: 15px !important;
}

.footer-qr-item {
    text-align: center !important;
}

.footer-qr-item img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    padding: 6px !important;
    background: var(--bg-tertiary) !important;
}

.footer-qr-item p {
    font-size: 11px !important;
    color: var(--text-tertiary) !important;
    margin-top: 6px !important;
}

/* 底部版权栏 - 单行居中 */
.footer-copyright-bar {
    padding: 20px 0 !important;
    text-align: center !important;
}

.footer-copyright-bar p {
    font-size: 12px !important;
    color: var(--text-tertiary) !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.footer-copyright-bar a {
    color: var(--text-tertiary) !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}

.footer-copyright-bar a:hover {
    color: #f56c6c !important;
}

/* 恢复侧边栏按钮 - 调整样式 */
.sidebar-quick {
    display: flex !important;
    position: fixed !important;
    right: 30px !important;
    bottom: 100px !important;
    flex-direction: column !important;
    gap: 10px !important;
    z-index: 1000 !important;
}

.quick-item {
    width: 45px !important;
    height: 45px !important;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    position: relative !important;
    color: var(--text-primary) !important;
}

.quick-item:hover {
    background: #303133 !important;
    color: #fff !important;
    transform: translateX(-5px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.quick-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: #f56c6c !important;
    color: #fff !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

/* 恢复回到顶部按钮 */
.scroll-to-top {
    display: flex !important;
    position: fixed !important;
    bottom: 40px !important;
    right: 30px !important;
    width: 45px !important;
    height: 45px !important;
    background: #303133 !important;
    color: #fff !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.scroll-to-top:hover {
    background: #000 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

/* 热门商品标签 */
.hot-badge {
    position: absolute !important;
    top: 4px !important;
    left: 4px !important;
    width: 28px !important;
    height: 28px !important;
    z-index: 10 !important;
    animation: pulseBadge 2s ease-in-out infinite !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: block !important;
}

.hot-badge img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 滚动公告栏外层容器 */
.notice-bar-wrapper {
    padding: 0 !important;
    background: var(--bg-primary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 滚动公告栏 */
.notice-bar {
    background: #1a1a1a !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.notice-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 30px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.notice-icon {
    width: 16px !important;
    height: 16px !important;
    color: #f56c6c !important;
    flex-shrink: 0 !important;
}

.notice-label {
    font-size: 13px !important;
    color: #f56c6c !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.notice-content {
    flex: 1 !important;
    overflow: hidden !important;
    position: relative !important;
    height: 18px !important;
    margin-left: 8px !important;
    padding-left: 8px !important;
    border-left: 1px solid rgba(245, 108, 108, 0.2) !important;
}

.notice-text {
    display: inline-block !important;
    white-space: nowrap !important;
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    animation: scroll-left 35s linear infinite !important;
    padding-left: 50% !important;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.notice-text:hover {
    animation-play-state: paused !important;
    color: var(--text-primary) !important;
}

/* 亮色模式下的公告栏 */
html.light .notice-bar {
    background: #f5f5f5 !important;
}

html.light .notice-bar-wrapper {
    background: var(--bg-primary) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* 分类导航 - 简洁横向标签 */
.category-nav {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 30px !important;
    padding: 12px 0 !important;
    background: transparent !important;
    border: none !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scrollbar-width: none !important;
}

.category-nav::-webkit-scrollbar {
    display: none !important;
}

.category-item {
    padding: 6px 16px !important;
    background: #409eff !important;
    border: none !important;
    border-radius: 4px !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

.category-item:hover {
    background: #66b1ff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.3) !important;
}

.category-item.active {
    color: #fff !important;
    background: linear-gradient(135deg, #f56c6c 0%, #ff8787 100%) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(245, 108, 108, 0.4) !important;
}

/* 亮色模式下的分类标签 */
html.light .category-item {
    background: #409eff !important;
    color: #fff !important;
}

html.light .category-item:hover {
    background: #66b1ff !important;
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.3) !important;
}

html.light .category-item.active {
    color: #fff !important;
    background: linear-gradient(135deg, #f56c6c 0%, #ff8787 100%) !important;
    box-shadow: 0 4px 12px rgba(245, 108, 108, 0.4) !important;
}

