/* 文章分类列表页样式 */
.aero-category-list-page {
    position: relative;
}

.aero-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.aero-category-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 1px solid var(--border-primary);
}

.aero-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.aero-category-card:hover .aero-category-card-title {
    color: var(--color-link);
}

.aero-category-card.active {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.aero-category-card-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aero-category-card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aero-category-card-placeholder {
    width: 64px;
    height: 64px;
    opacity: 0.5;
}

.aero-category-card-content {
    padding: 15px;
}

.aero-category-card-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    transition: color 0.2s;
}

.aero-category-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.aero-category-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.aero-meta-date {
    display: flex;
    align-items: center;
}

.aero-meta-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.aero-meta-views,
.aero-meta-comments,
.aero-meta-likes,
.aero-meta-downloads {
    display: flex;
    align-items: center;
    gap: 4px;
}

.aero-meta-views svg,
.aero-meta-comments svg,
.aero-meta-likes svg,
.aero-meta-downloads svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
}

.aero-category-card-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border-primary);
}

.aero-category-card-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.aero-meta-style svg,
.aero-meta-region svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
}

/* 详情面板 */
.aero-detail-panel {
    grid-column: 1 / -1;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: none;
    animation: slideDown 0.3s ease;
    margin-bottom: 10px;
    position: relative;
}

.aero-detail-panel.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 关闭按钮 */
.aero-detail-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.2s;
}

.aero-detail-close-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* 箭头指向被点击的卡片 */
.aero-detail-arrow {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid var(--bg-card);
    z-index: 10;
}

/* 详情面板内部布局 */
.aero-detail-inner {
    display: flex;
    padding: 24px;
    gap: 24px;
}

/* 左侧大图区域 - 占50% */
.aero-detail-image-section {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 大图展示区 */
.aero-detail-main-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--bg-hover);
    cursor: zoom-in;
}

.aero-detail-main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 放大镜覆盖层 */
.aero-detail-zoom-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.aero-detail-main-image-wrapper:hover .aero-detail-zoom-overlay {
    opacity: 1;
}

.aero-detail-zoom-overlay svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* 左右箭头 */
.aero-detail-prev-btn,
.aero-detail-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.aero-detail-prev-btn {
    left: 12px;
}

.aero-detail-next-btn {
    right: 12px;
}

.aero-detail-main-image-wrapper:hover .aero-detail-prev-btn,
.aero-detail-main-image-wrapper:hover .aero-detail-next-btn {
    opacity: 1;
}

.aero-detail-prev-btn:hover,
.aero-detail-next-btn:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

/* 图片指示器 */
.aero-detail-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.aero-detail-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.aero-detail-indicator.active {
    background: var(--theme-color);
    transform: scale(1.2);
}

/* 缩略图列表 */
.aero-detail-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.aero-detail-thumbnail-item {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s;
}

.aero-detail-thumbnail-item.active {
    border-color: var(--theme-color);
}

.aero-detail-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧信息区 */
.aero-detail-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 下载按钮 */
.download-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.aero-download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--theme-color);
    color: #fff;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.aero-download-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.aero-download-pwd {
    font-size: 12px;
    opacity: 0.9;
    margin-left: 8px;
}

.aero-no-download {
    color: var(--text-muted);
    font-size: 14px;
}

/* 文件信息 */
.aero-detail-file-info {
    display: flex;
    gap: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    flex-wrap: wrap;
}

.aero-file-info-item {
    display: flex;
    gap: 6px;
    font-size: 14px;
}

.aero-file-info-label {
    color: var(--text-muted);
}

.aero-file-info-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* 数据统计 - 横向布局 */
.aero-detail-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.aero-detail-stats-left,
.aero-detail-stats-right {
    display: flex;
    gap: 12px;
}

.aero-stat-btn,
.aero-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-secondary);
}

.aero-stat-btn:hover {
    background: var(--bg-hover);
    color: var(--theme-color);
}

.aero-stat-btn.active {
    color: var(--color-danger);
}

.aero-stat-btn.active svg {
    fill: currentColor;
}

.aero-stat-collect.active {
    color: #f5a623;
}

.aero-stat-collect.active svg {
    fill: #f5a623;
}

.aero-stat-collect.active .aero-stat-count {
    color: #f5a623;
}

.aero-stat-like.active {
    color: #ff4d4f;
}

.aero-stat-like.active svg {
    fill: #ff4d4f;
}

.aero-stat-like.active .aero-stat-count {
    color: #ff4d4f;
}

.aero-stat-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.aero-stat-label {
    font-size: 12px;
}

/* 建筑信息 */
.aero-detail-building-info {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.aero-building-title {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.aero-building-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.aero-building-item {
    display: flex;
    gap: 6px;
    font-size: 14px;
}

.aero-building-label {
    color: var(--text-muted);
    flex-shrink: 0;
}

.aero-building-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* 灯箱样式 */
.aero-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999999;
}

.aero-lightbox.active {
    display: block;
}

.aero-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1;
}

.aero-lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.aero-lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.aero-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 999999999;
}

.aero-lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

.aero-lightbox-prev,
.aero-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 999999999;
}

.aero-lightbox-prev {
    left: 20px;
}

.aero-lightbox-next {
    right: 20px;
}

.aero-lightbox-prev:hover,
.aero-lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}

.aero-lightbox-info {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 999999999;
}

/* 分享卡片 */
.aero-share-card {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

.aero-share-card.active {
    display: block;
}

.aero-share-card-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.aero-share-card-content h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.aero-share-buttons {
    display: flex;
    gap: 12px;
}

.aero-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-secondary);
}

.aero-share-btn:hover {
    background: var(--theme-color);
    color: #fff;
    transform: translateY(-2px);
}

.aero-share-btn span {
    font-size: 12px;
}

/* 通用样式 */
.aero-no-posts {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 16px;
}

.aero-page-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: var(--text-primary);
    text-align: center;
}

/* 响应式 */
@media (max-width: 1200px) {
    .aero-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .aero-detail-inner {
        flex-direction: column;
    }
    .aero-detail-image-section {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .aero-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .aero-building-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 移动端移除外层容器边距 */
    .child-page__main {
        padding: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;
    }
}

@media (max-width: 480px) {
    .aero-category-grid {
        grid-template-columns: 1fr;
    }
    .aero-detail-inner {
        padding: 16px;
    }
    .aero-building-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ 筛选菜单样式 - 爱给网风格 ============ */
.aero-filter-container {
    background: #fff;
    border: 1px solid #e8e8e8;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

/* 一级分类行 */
.aero-filter-primary-row {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 8px 12px;
}

.aero-filter-primary-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.aero-filter-primary-item {
    padding: 8px 24px;
    cursor: pointer;
    color: #0485de;
    transition: all 0.2s;
    border-radius: 5px;
    font-size: 14px;
}

.aero-filter-primary-item:hover {
    background: #f5f5f5;
}

.aero-filter-primary-item.active {
    background: #0485de;
    color: #fff;
}

/* 二级分类行 */
.aero-filter-secondary-row {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 10px;
}

.aero-filter-secondary-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
}

.aero-filter-secondary-item {
    padding: 8px 12px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    border-top: 3px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    position: relative;
    top: 1px;
}

.aero-filter-secondary-item:hover {
    color: #333;
}

.aero-filter-secondary-item.active {
    color: #333;
    font-weight: 500;
    border-top-color: #0485de;
    border-left-color: #e8e8e8;
    border-right-color: #e8e8e8;
    background: #fff;
}

/* 已选标签区域 */
.aero-filter-selected-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px dashed #0485de;
}

.aero-filter-selected-tag-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #fff;
    border: 1px dashed #0485de;
    border-radius: 4px;
    color: #0485de;
    font-size: 12px;
}

.aero-filter-selected-tag-value {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    border-radius: 3px;
    background: rgba(4, 133, 222, 0.1);
    margin: 0 2px;
}

.aero-filter-selected-tag-comma {
    color: #0485de;
}

.aero-filter-selected-tag-remove {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 0 2px;
}

.aero-filter-selected-tag-remove:hover {
    color: #ff4d4f;
    background: rgba(255, 77, 79, 0.1);
    border-radius: 2px;
}

.aero-filter-clear-all {
    padding: 4px 12px;
    cursor: pointer;
    color: #666;
    font-size: 12px;
}

.aero-filter-clear-all:hover {
    color: #0485de;
}

/* 筛选主体 */
.aero-filter-body {
    padding: 0;
}

.aero-filter-item {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
}

.aero-filter-item-label {
    width: 80px;
    flex-shrink: 0;
    padding: 8px 0;
    background: #f5f5f5;
    color: #333;
    text-align: center;
    border-right: 1px solid #e8e8e8;
    font-size: 13px;
}

.aero-filter-item-label-text {
    flex: 1;
}

.aero-filter-item-options {
    flex: 1;
    padding: 6px 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.aero-filter-item-options-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px 8px;
    flex: 1;
    max-height: 50px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    min-width: 0;
}

.aero-filter-item.expanded .aero-filter-item-options-grid {
    max-height: 200px;
    border: 1px solid #e8e8e8;
    padding: 10px;
    border-radius: 4px;
}

.aero-filter-item-option {
    padding: 3px 6px;
    cursor: pointer;
    color: #0485de;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 3px;
    justify-self: flex-start;
}

.aero-filter-item-option:hover {
    background: #f5f5f5;
    border-radius: 4px;
}

.aero-filter-item-option.active {
    background: #0485de;
    color: #fff;
    border-radius: 4px;
}

.aero-filter-item-count {
    color: #999;
    font-size: 12px;
}

.aero-filter-item-option.active .aero-filter-item-count {
    color: rgba(255, 255, 255, 0.8);
}

.aero-filter-item-more-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    padding-left: 16px;
    border-left: 1px solid #e8e8e8;
}

.aero-filter-item-more-container-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding-left: 12px;
    border-left: 1px solid #e8e8e8;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .aero-filter-item-more-container-desktop {
        display: none;
    }
}

@media (min-width: 769px) {
    .aero-filter-item-label .aero-filter-item-more-container {
        display: none;
    }
}

.aero-filter-item-more {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

.aero-filter-item-more:hover {
    color: #0485de;
}

.aero-filter-item-more-icon {
    font-size: 10px;
    transition: transform 0.2s;
}

.aero-filter-item-more.expanded .aero-filter-item-more-icon {
    transform: rotate(180deg);
}

.aero-filter-item-multi {
    color: #0485de;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

.aero-filter-item-multi:hover {
    text-decoration: underline;
}

/* 多选模式下的确定/取消按钮 */
.aero-filter-item-confirm,
.aero-filter-item-cancel {
    color: #0485de;
    cursor: pointer;
    font-size: 12px;
}

.aero-filter-item-confirm:hover,
.aero-filter-item-cancel:hover {
    text-decoration: underline;
}

/* 复选框包装 - 默认隐藏 */
.aero-filter-item-checkbox-wrapper {
    display: none;
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
    border-radius: 2px;
    position: relative;
    background: #fff;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.aero-filter-item-checkbox-inner {
    display: none;
    width: 8px;
    height: 8px;
    background: #0485de;
    border-radius: 1px;
}

/* 多选模式下显示复选框 */
.aero-filter-item.multiselect .aero-filter-item-checkbox-wrapper,
.aero-filter-wallcolor-horizontal.multiselect .aero-filter-item-checkbox-wrapper {
    display: inline-flex;
}

/* 多选模式下选项增加左边距 */
.aero-filter-item.multiselect .aero-filter-item-option,
.aero-filter-wallcolor-horizontal.multiselect .aero-filter-item-option {
    padding-left: 28px;
    position: relative;
}

.aero-filter-item.multiselect .aero-filter-item-option .aero-filter-item-checkbox-wrapper,
.aero-filter-wallcolor-horizontal.multiselect .aero-filter-item-option .aero-filter-item-checkbox-wrapper {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

/* 多选模式下 active 选项复选框显示蓝底白勾 */
.aero-filter-item.multiselect .aero-filter-item-option.active .aero-filter-item-checkbox-wrapper,
.aero-filter-wallcolor-horizontal.multiselect .aero-filter-item-option.active .aero-filter-item-checkbox-wrapper {
    background: #0485de;
    border-color: #0485de;
    box-shadow: 0 0 0 1px rgba(4, 133, 222, 0.3);
}

.aero-filter-item.multiselect .aero-filter-item-option.active .aero-filter-item-checkbox-inner,
.aero-filter-wallcolor-horizontal.multiselect .aero-filter-item-option.active .aero-filter-item-checkbox-inner {
    display: block;
    width: 8px;
    height: 8px;
    position: relative;
    top: -1px;
}

.aero-filter-item.multiselect .aero-filter-item-option.active .aero-filter-item-checkbox-inner::after,
.aero-filter-wallcolor-horizontal.multiselect .aero-filter-item-option.active .aero-filter-item-checkbox-inner::after {
    content: '✓';
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 8px;
}

/* 多选模式下 active 选项样式不变 */
.aero-filter-item.multiselect .aero-filter-item-option,
.aero-filter-wallcolor-horizontal.multiselect .aero-filter-item-option {
    background: transparent !important;
    color: #0485de !important;
}

.aero-filter-item.multiselect .aero-filter-item-option:hover,
.aero-filter-wallcolor-horizontal.multiselect .aero-filter-item-option:hover {
    background: #f5f5f5 !important;
    border-radius: 4px;
}

/* 外墙颜色横向布局样式 - 与二级分类样式一致 */
.aero-filter-wallcolor-horizontal {
    width: 100%;
    margin-bottom: 8px;
}

.aero-filter-wallcolor-tabs-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
}

.aero-filter-wallcolor-tab-horizontal {
    padding: 12px 20px;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    border-top: 3px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    position: relative;
    top: 1px;
    margin-right: -1px;
}

.aero-filter-wallcolor-tab-horizontal:hover {
    color: #333;
}

.aero-filter-wallcolor-tab-horizontal.active {
    color: #333;
    font-weight: 500;
    border-top: 3px solid #0485de;
    border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    background: #fff;
    margin-bottom: -1px;
    padding-bottom: 11px;
}

.aero-filter-wallcolor-tabs-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    padding-left: 16px;
    border-left: 1px solid #e8e8e8;
}

.aero-filter-wallcolor-options-horizontal {
    padding: 4px 0;
}

.aero-filter-wallcolor-group-horizontal {
    display: none;
}

.aero-filter-wallcolor-group-horizontal.active {
    display: block;
}

.aero-filter-wallcolor-group-horizontal .aero-filter-item-options-grid {
    max-height: 180px;
    overflow: auto;
    transition: max-height 0.3s ease;
}

.aero-filter-wallcolor-group-horizontal.expanded .aero-filter-item-options-grid {
    max-height: 400px;
    border: 1px solid #e8e8e8;
    padding: 10px;
    border-radius: 4px;
}

.aero-filter-wallcolor-group-horizontal .aero-filter-item-more-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    padding-left: 16px;
    border-left: 1px solid #e8e8e8;
}

/* 筛选底部 */
.aero-filter-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
}

.aero-filter-footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.aero-filter-footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.aero-filter-total {
    color: #666;
    font-size: 14px;
}

.aero-filter-total-num {
    color: #0485de;
    font-weight: 600;
}

.aero-filter-sort-label {
    color: #666;
}

.aero-filter-sort-option {
    padding: 4px 12px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}

.aero-filter-sort-option:hover {
    color: #0485de;
}

.aero-filter-sort-option.active {
    color: #0485de;
    position: relative;
}

.aero-filter-sort-option.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: #0485de;
}

.aero-filter-page-info {
    color: #666;
    font-size: 14px;
}

.aero-filter-page-nav {
    display: flex;
    gap: 4px;
}

.aero-filter-page-prev,
.aero-filter-page-next {
    padding: 6px 12px;
    cursor: pointer;
    color: #666;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    transition: all 0.2s;
    background: #fff;
}

.aero-filter-page-prev:hover,
.aero-filter-page-next:hover {
    border-color: #0485de;
    color: #0485de;
}

/* 列表页底部页码 */
.aero-filter-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 20px 0;
    margin-top: 20px;
}

.aero-pagination-item {
    padding: 8px 14px;
    cursor: pointer;
    color: #666;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    transition: all 0.2s;
    background: #fff;
}

.aero-pagination-item:hover {
    border-color: #0485de;
    color: #0485de;
}

.aero-pagination-item.active {
    background: #0485de;
    color: #fff;
    border-color: #0485de;
}

.aero-pagination-item.dots {
    border: none;
    padding: 8px 6px;
}

.aero-pagination-item.dots:hover {
    color: #666;
}

/* 自定义分页样式 */
.aero-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.aero-pagination-prev,
.aero-pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    min-width: 80px;
}

.aero-pagination-prev:hover,
.aero-pagination-next:hover {
    border-color: #0485de;
    color: #0485de;
}

.aero-pagination-prev.disabled,
.aero-pagination-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.aero-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.aero-pagination-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.aero-pagination-number:hover {
    border-color: #0485de;
    color: #0485de;
}

.aero-pagination-number.active {
    background: #0485de;
    border-color: #0485de;
    color: #fff;
}

.aero-pagination-dots {
    padding: 0 8px;
    color: #999;
    font-size: 14px;
}

/* 筛选菜单响应式 - 移动端优化 */
@media (max-width: 768px) {
    /* 容器整体压缩 */
    .aero-filter-container {
        margin-bottom: 10px;
        border-width: 0;
        border-radius: 0;
        font-size: 12px;
    }
    
    /* 一级分类行 */
    .aero-filter-primary-row {
        padding: 8px 10px;
        border-bottom-width: 1px;
    }
    
    .aero-filter-primary-items {
        gap: 6px;
    }
    
    .aero-filter-primary-item {
        padding: 5px 12px;
        font-size: 12px;
        border-radius: 4px;
    }
    
    /* 二级分类行 */
    .aero-filter-secondary-row {
        padding: 0 10px;
        border-bottom-width: 1px;
    }
    
    .aero-filter-secondary-item {
        padding: 6px 10px;
        font-size: 11px;
        border-top-width: 2px;
    }
    
    /* 筛选字段行 */
    .aero-filter-item {
        flex-wrap: wrap;
        border-bottom-width: 1px;
    }
    
    .aero-filter-item-label {
        width: 100%;
        padding: 6px 10px;
        font-size: 11px;
        text-align: left;
        background: #f5f5f5;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }
    
    .aero-filter-item-options {
        width: 100%;
        padding: 6px 10px;
        border-left: none;
    }
    
    .aero-filter-item-options-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .aero-filter-item-option {
        font-size: 11px;
        padding: 2px 6px;
        border-radius: 3px;
        white-space: nowrap;
    }
    
    .aero-filter-item-count {
        font-size: 10px;
        margin-left: 2px;
    }
    
    .aero-filter-item-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .aero-filter-item-more-container {
        margin-top: 0;
        gap: 8px;
        flex-direction: row;
        align-items: center;
        margin-left: auto;
        padding-left: 0;
        border-left: none;
    }
    
    .aero-filter-item-more-text,
    .aero-filter-item-multi {
        font-size: 11px;
    }
    
    /* 外墙颜色横向选项卡 */
    .aero-filter-wallcolor-horizontal {
        padding: 6px 10px;
    }
    
    .aero-filter-wallcolor-tabs-horizontal {
        gap: 4px;
        margin-bottom: 6px;
    }
    
    .aero-filter-wallcolor-tab-horizontal {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .aero-filter-wallcolor-options-horizontal {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .aero-filter-wallcolor-option-horizontal {
        font-size: 11px;
        padding: 2px 4px;
    }
    
    /* 底部栏 */
    .aero-filter-footer {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }
    
    .aero-filter-footer-left {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    
    .aero-filter-sort-options {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        align-items: center;
    }
    
    .aero-filter-sort-label {
        font-size: 11px;
        flex-shrink: 0;
    }
    
    .aero-filter-sort-option {
        padding: 4px 8px;
        font-size: 11px;
        white-space: nowrap;
    }
    
    .aero-filter-page-info {
        font-size: 11px;
    }
    
    .aero-filter-page-nav {
        gap: 4px;
    }
    
    .aero-filter-page-prev,
    .aero-filter-page-next {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/* ========================================
   夜间模式样式 - 跟随父主题明暗开关
   ======================================== */
html[data-theme="dark"] .aero-filter-container,
html[data-theme="dark"] .aero-filter {
    background: #2a2a2a;
    border-color: #333;
}

html[data-theme="dark"] .aero-filter-primary,
html[data-theme="dark"] .aero-filter-secondary {
    background: #2a2a2a;
    border-color: #333;
}

html[data-theme="dark"] .aero-filter-content {
    background: #2a2a2a;
    border-color: #333;
}

html[data-theme="dark"] .aero-filter-item {
    border-color: #333;
}

html[data-theme="dark"] .aero-filter-item-label {
    background: #222222;
    color: #ccc;
    border-color: #333;
}

html[data-theme="dark"] .aero-filter-item-options {
    background: #2a2a2a;
}

html[data-theme="dark"] .aero-filter-item-option {
    color: #ccc;
}

html[data-theme="dark"] .aero-filter-item-option:hover {
    color: #0485de;
    background: #424242;
}

html[data-theme="dark"] .aero-filter-item-count {
    color: #888;
}

html[data-theme="dark"] .aero-filter-selected-items {
    background: #222222;
    border-color: #333;
}

html[data-theme="dark"] .aero-filter-selected-item {
    background: #333;
    color: #ccc;
    border-color: #444;
}

html[data-theme="dark"] .aero-filter-selected-item .aero-filter-selected-remove {
    color: #888;
}

html[data-theme="dark"] .aero-filter-footer {
    background: #2a2a2a;
    border-color: #333;
}

html[data-theme="dark"] .aero-filter-total {
    color: #888;
}

html[data-theme="dark"] .aero-filter-sort-label {
    color: #888;
}

html[data-theme="dark"] .aero-filter-sort-option {
    color: #888;
}

html[data-theme="dark"] .aero-filter-sort-option.active {
    color: #4da6ff;
}

html[data-theme="dark"] .aero-filter-sort-option.active::after {
    background-color: #4da6ff;
}

html[data-theme="dark"] .aero-filter-page-info {
    color: #888;
}

html[data-theme="dark"] .aero-filter-page-prev,
html[data-theme="dark"] .aero-filter-page-next {
    color: #888;
    border-color: #444;
    background: #2a2a2a;
}

html[data-theme="dark"] .aero-pagination-item {
    color: #888;
    border-color: #444;
    background: #2a2a2a;
}

/* 夜间模式自定义分页样式 */
html[data-theme="dark"] .aero-pagination {
    border-top-color: #333;
}

html[data-theme="dark"] .aero-pagination-prev,
html[data-theme="dark"] .aero-pagination-next {
    background: #2a2a2a;
    border-color: #444;
    color: #888;
}

html[data-theme="dark"] .aero-pagination-prev:hover,
html[data-theme="dark"] .aero-pagination-next:hover {
    border-color: #0485de;
    color: #0485de;
}

html[data-theme="dark"] .aero-pagination-number {
    background: #2a2a2a;
    border-color: #444;
    color: #888;
}

html[data-theme="dark"] .aero-pagination-number:hover {
    border-color: #0485de;
    color: #0485de;
}

html[data-theme="dark"] .aero-pagination-number.active {
    background: #0485de;
    border-color: #0485de;
    color: #fff;
}

html[data-theme="dark"] .aero-pagination-dots {
    color: #666;
}

html[data-theme="dark"] .aero-filter-wallcolor-options-horizontal {
    background: #2a2a2a;
}

/*一级分类、二级分类选单夜间模式*/
html[data-theme="dark"] .aero-filter-primary-row {
    background: #2a2a2a;
}

html[data-theme="dark"] .aero-filter-secondary-row {
    background: #2a2a2a;
}

html[data-theme="dark"] .aero-filter-secondary-row {
    background: #2a2a2a;
    border-bottom: 1px solid #e8e8e8;
}

html[data-theme="dark"] .aero-filter-wallcolor-tabs-horizontal {
    background: #2a2a2a;
    border-bottom: 1px solid #e8e8e8;
}

html[data-theme="dark"] .aero-filter-wallcolor-tab-horizontal {
    color: #FFFFFF;
}

html[data-theme="dark"] .aero-filter-wallcolor-tab-horizontal:hover {
    color: #0485de;
}

html[data-theme="dark"] .aero-filter-wallcolor-tab-horizontal.active {
    background: #222222;
}

html[data-theme="dark"] .aero-filter-secondary-item {
    color: #FFFFFF;
}

html[data-theme="dark"] .aero-filter-secondary-item:hover {
    color: #0485de;
}

html[data-theme="dark"] .aero-filter-secondary-item.active {
    background: #222222;
}
