/* 1. 全局变量 */
:root {
    /* 颜色 */
    --primary: #045cb7;
    --primary-hover: #0468d7;
    --danger: #ef4444;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #fff;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    
    /* 透明度颜色 */
    --white-10: rgba(255, 255, 255, 0.1);
    --white-90: rgba(255, 255, 255, 0.9);
    
    /* 动画 */
    --trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ease: cubic-bezier(0.19, 1, 0.22, 1);
    
    /* 阴影 */
    --shadow: 0 8px 25px rgba(4, 92, 183, 0.15);
    
    /* 间距 */
    --gap-sm: 8px;
    --gap: 16px;
    --gap-lg: 24px;
    
    /* 圆角 */
    --radius: 12px;
}/* 基础样式 */
:root {
    --primary-color: #2B5DE0;
    --secondary-color: #5C7CE0;
    --accent-color: #1E40AF;
    --text-color: #333333;
    --light-gray: #F5F7FA;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --warning-color: #F59E0B;
}
/* 1. 在文件开头添加全局变量和通用过渡 */
:root {
    /* 颜色系统 */
    --primary-color: #045cb7;
    --primary-hover: #0468d7;
    --primary-light: #f0f7ff;
    --danger-color: #ef4444;
    --danger-light: #fef2f2;
    
    /* 文字颜色 */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    
    /* 背景颜色 */
    --bg-primary: #fff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    /* 边框颜色 */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    
    /* 动画 */
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* 阴影 */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 25px rgba(4, 92, 183, 0.15);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.1);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* 间距 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* 字体大小 */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    
    /* 层级 */
    --z-modal: 1000;
    --z-overlay: 999;
    --z-dropdown: 100;
    --z-header: 50;
    --z-base: 1;
    
    /* 动画时间 */
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;
    --duration-slow: 0.4s;
    
    /* 新增透明度颜色 */
    --white-15: rgba(255, 255, 255, 0.15);
    --white-20: rgba(255, 255, 255, 0.2);
    --black-50: rgba(0, 0, 0, 0.5);
    --primary-10: rgba(4, 92, 183, 0.1);
    --danger-10: rgba(239, 68, 68, 0.1);
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #045cb7 0%, #057ade 100%);
    --gradient-white: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.9));
    
    /* 添加新的变量 */
    /* 布局 */
    --header-height: 80px;
    --container-width: 1200px;
    --thumb-width: 200px;
    --thumb-height: 140px;
    
    /* 动画曲线 */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 滤镜 */
    --blur-sm: blur(4px);
    --blur-md: blur(8px);
    
    /* 堆叠顺序 */
    --z-negative: -1;
    --z-elevate: 2;
    --z-sticky: 100;
    --z-drawer: 200;
    --z-popover: 400;
    --z-maximum: 999;
}
.page-item {
    transition: var(--transition-normal);
}
body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 分类导航样式 */
.category-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #1A1A1A;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title::before,
.section-title::after {
    content: '';
    height: 2px;
    width: 30px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.section-title::after {
    background: linear-gradient(90deg, transparent, var(--primary-color));
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.category-item p {
    color: #666;
    font-size: 14px;
}

/* 行业匹配样式重新设计 */
.industry-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #F5F7FF, #FFFFFF);
    position: relative;
}

.industry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(43, 93, 224, 0.05), 
        rgba(43, 93, 224, 0.15) 20%, 
        rgba(43, 93, 224, 0.15) 80%, 
        rgba(43, 93, 224, 0.05)
    );
}

.industry-section .container {
    max-width: 1200px;
    padding: 0 30px;
}

.industry-section .section-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #1A1A1A;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.industry-section .section-title::before,
.industry-section .section-title::after {
    content: '';
    height: 2px;
    width: 30px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.industry-section .section-title::after {
    background: linear-gradient(90deg, transparent, var(--primary-color));
}

.industry-tags {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    margin: 0 auto;
    max-width: 1200px;
}

.tag {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: rgba(43, 93, 224, 0.04);
    border-radius: 6px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(43, 93, 224, 0.08);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(43, 93, 224, 0.03);
    overflow: hidden;
    text-align: center;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tag span {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 93, 224, 0.12);
    border-color: var(--primary-color);
}

.tag:hover::before {
    opacity: 1;
}

.tag:hover span {
    color: #FFFFFF;
}

/* 商标列表样式优化 */
.trademark-list-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #F8FAFC, #FFFFFF);
}

.trademark-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 商标卡片样式重新设计 */
.trademark-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.trademark-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(43, 93, 224, 0.12);
    border-color: rgba(43, 93, 224, 0.12);
}

/* 商标图片容器样式优化 */
.trademark-image {
    position: relative;
    height: 140px;
    background: linear-gradient(145deg, #F8FAFC, #F3F6FF);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.trademark-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(43, 93, 224, 0.06);
    transition: all 0.3s ease;
}

.trademark-image img {
    position: relative;
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.trademark-card:hover .trademark-image::before {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 4px 20px rgba(43, 93, 224, 0.1);
}

.trademark-card:hover .trademark-image img {
    transform: scale(1.08);
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(-10px);
    z-index: 2;
}

.trademark-card:hover .favorite-btn {
    opacity: 1;
    transform: translateY(0);
}

.favorite-btn i {
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: #FEE2E2;
}

.favorite-btn:hover i {
    color: #EF4444;
}

.favorite-btn.active {
    opacity: 1;
    background: #FEE2E2;
}

.favorite-btn.active i {
    color: #EF4444;
}

.trademark-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.trademark-name,.trademark-name a {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    letter-spacing: -0.3px;
    line-height: 1.4;
}

.trademark-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category i {
    font-size: 16px;
    color: var(--primary-color);
    opacity: 0.8;
}

.status-tags {
    display: flex;
    gap: 8px;
}

.status {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status i {
    font-size: 14px;
}

.status.registered {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.status.transferable {
    background: rgba(245, 158, 11, 0.08);
    color: #D97706;
}

.trademark-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.price-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.purchase-btn {
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.purchase-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.2),
        rgba(255,255,255,0)
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s;
}

.purchase-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(43, 93, 224, 0.2);
}

.purchase-btn:hover::before {
    transform: translateX(100%) rotate(45deg);
}

/* 分页样式优化 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-xl) 0;
}
.pagination a{
    text-decoration: none;
}

.page-item {
    min-width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--trans);
    padding: 0 var(--spacing-sm);
    position: relative;
    overflow: hidden;
}

.page-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.page-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.page-item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg);
    font-weight: 500;
    box-shadow: 0 4px 12px var(--primary-10);
}

/* 省略号样式 */
.page-item.dots {
    border: none;
    padding: 0 4px;
    cursor: default;
    background: transparent;
}

.page-item.dots:hover {
    transform: none;
    color: var(--text-light);
}

/* 上一页/下一页按钮 */
.page-item i {
    font-size: var(--font-size-md);
    transition: transform 0.3s var(--ease);
}

.page-item:hover i {
    transform: translateX(2px);
}

.page-item[title="上一页"]:hover i {
    transform: translateX(-2px);
}

/* 禁用状态 */
.page-item:disabled,
.page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .pagination {
        gap: var(--spacing-xs);
    }
    
    .page-item {
        min-width: 36px;
        height: 36px;
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-item {
        min-width: 32px;
        height: 32px;
    }
    
    /* 在小屏幕上隐藏部分页码 */
    .page-item:not(.active):not([title]):not(.dots) {
        display: none;
    }
} 

/* 响应式调整 */
@media (max-width: 1200px) {
    .trademark-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .trademark-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .trademark-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .page-numbers button:not(.active) {
        display: none;
    }
    
    .page-numbers button.active {
        display: flex;
    }
}

/* 商标分类区域样式优化 */
.trademark-categories {
    padding: 20px 0 30px;
    background: linear-gradient(135deg, #FFFFFF, #F8FAFC);
    margin-top: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1A1A1A;
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.category-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 93, 224, 0.08);
    border-color: rgba(43, 93, 224, 0.2);
    background: linear-gradient(145deg, #FFFFFF, #F8FAFC);
}

.category-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.category-item:hover::after {
    opacity: 1;
}

.category-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 6px 8px;
    min-width: 34px;
    text-align: center;
    background: rgba(43, 93, 224, 0.04);
    border-radius: 4px;
    margin-right: 8px;
    font-feature-settings: "tnum";
    letter-spacing: -0.2px;
}

.category-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-content h3 {
    font-size: 14px;
    margin: 0;
    color: #2C3E50;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
}

/* 响应式优化 */
@media (max-width: 1200px) {
    .industry-tags {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 8px;
    }
    
    .tag {
        padding: 10px 6px;
    }
}

@media (max-width: 992px) {
    .industry-tags {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 8px;
    }
    
    .tag {
        padding: 8px 6px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .industry-section .container {
        padding: 0 20px;
    }
    
    .industry-tags {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 1fr;
    }

    .trademark-image {
        height: 130px;
        padding: 15px;
    }

    .trademark-image::before {
        width: 90px;
        height: 90px;
    }

    .trademark-image img {
        width: 70px;
        height: 70px;
    }

    .trademark-info {
        padding: 15px;
        gap: 10px;
    }

    .trademark-name {
        font-size: 16px;
    }

    .category {
        font-size: 13px;
    }

    .status {
        font-size: 11px;
        padding: 4px 8px;
    }

    .price-value {
        font-size: 18px;
    }

    .purchase-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .industry-section {
        padding: 30px 0;
    }
    
    .industry-section .container {
        padding: 0 15px;
    }
    
    .industry-tags {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .tag {
        padding: 8px 4px;
        font-size: 12px;
    }

    .trademark-image {
        height: 120px;
        padding: 12px;
    }

    .trademark-image::before {
        width: 85px;
        height: 85px;
    }

    .trademark-image img {
        width: 65px;
        height: 65px;
    }

    .trademark-info {
        padding: 12px;
        gap: 8px;
    }

    .trademark-name {
        font-size: 15px;
    }

    .price-value {
        font-size: 16px;
    }

    .purchase-btn {
        padding: 5px 12px;
        font-size: 12px;
    }
}

.main-content {
    padding-top: 60px;
}

/* 添加链接样式 */
.category-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

/* 确保链接不影响原有hover效果 */
.category-item:hover .category-link {
    color: inherit;
}

/* 行业标签链接样式 */
.tag {
    /* 保持原有样式不变 */
    text-decoration: none;
    color: var(--primary-color);
}

.tag:hover {
    /* 保持原有hover样式不变 */
    text-decoration: none;
}

/* 确保链接在移动端也有足够的点击区域 */
@media (max-width: 768px) {
    .category-link {
        padding: 4px 0;
    }
    
    .tag {
        padding: 8px 6px;
    }
}

/* 修改商标分类的响应式样式 */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr); /* 移动端显示5列 */
        gap: 6px;
        padding: 0 10px;
    }

    .category-item {
        padding: 6px;
    }

    .category-number {
        font-size: 14px;
        min-width: 28px;
        padding: 4px;
        margin-right: 4px;
    }

    .category-content h3 {
        font-size: 12px;
        white-space: normal; /* 允许文字换行 */
        text-align: center;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr); /* 小屏幕显示4列 */
        gap: 5px;
        padding: 0 8px;
    }

    .category-item {
        padding: 4px;
    }

    .category-number {
        font-size: 13px;
        min-width: 24px;
        padding: 3px;
        margin-right: 3px;
    }

    .category-content h3 {
        font-size: 11px;
    }

    .category-item {
        flex-direction: column; /* 数字和文字上下排列 */
        gap: 2px;
    }

    .category-number {
        margin-right: 0;
        margin-bottom: 2px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 360px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr); /* 超小屏幕显示3列 */
    }

    .category-content h3 {
        font-size: 10px;
    }
}

/* 排序工具栏样式优化 */
.sort-toolbar {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.sort-item {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    background: transparent;
}

.sort-item i {
    font-size: 18px;
    transition: color 0.3s ease;
}

.sort-item:hover {
    color: var(--primary-color);
    background: rgba(43, 93, 224, 0.04);
}

.sort-item:hover i {
    color: var(--primary-color);
}

.sort-item.active {
    color: var(--primary-color);
    background: rgba(43, 93, 224, 0.08);
}

.sort-item.active i {
    color: var(--primary-color);
}

/* 价格排序下拉菜单 */
.sort-price {
    position: relative;
}

.price-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 8px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.price-toggle:hover {
    background: rgba(43, 93, 224, 0.04);
    color: var(--primary-color);
}

.price-toggle:hover i {
    color: var(--primary-color);
}

.arrow-icon {
    transition: transform 0.3s ease;
    font-size: 18px;
}

.sort-price:hover .arrow-icon {
    transform: rotate(180deg);
}

.price-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 160px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(43, 93, 224, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(43, 93, 224, 0.08);
    padding: 6px;
    backdrop-filter: blur(10px);
}

.sort-price:hover .price-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.price-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    border-radius: 8px;
    font-weight: 500;
}

.price-option i {
    font-size: 18px;
    color: #999;
    transition: color 0.2s ease;
}

.price-option:hover {
    background: rgba(43, 93, 224, 0.04);
    color: var(--primary-color);
}

.price-option:hover i {
    color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sort-toolbar {
        padding: 12px 15px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .sort-options {
        gap: 20px;
    }

    .sort-item,
    .price-toggle {
        font-size: 13px;
        padding: 6px 12px;
    }

    .sort-item i,
    .price-toggle i {
        font-size: 16px;
    }

    .price-dropdown {
        min-width: 140px;
    }

    .price-option {
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .sort-toolbar {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .sort-options {
        gap: 12px;
    }

    .sort-item,
    .price-toggle {
        font-size: 12px;
        padding: 5px 10px;
    }

    .sort-item i,
    .price-toggle i {
        font-size: 15px;
    }

    .price-dropdown {
        min-width: 120px;
    }

    .price-option {
        padding: 7px 12px;
        font-size: 13px;
    }
} 