/* Halloween Filter Component - White Minimalist E-commerce Style
   位置：top_breadcrumb 下方（bc_top_nav 之后输出） */
.halloween_filter_container {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 0 16px;
    margin: 0 auto 8px;
    max-width: 1280px;
}

/* ===== Row 1: Tab Buttons + Selected Tags (inline) ===== */
.halloween_filter_row_top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

/* ===== Row 1: Selected Tags (inline with tab buttons) ===== */
.halloween_filter_selected_tags {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    flex: 1;
}

.halloween_filter_tab_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
    user-select: none;
    height: 32px;
    box-sizing: border-box;
}

.halloween_filter_tab_btn .btn_icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.halloween_filter_tab_btn:hover {
    border-color: #999;
    color: #333;
}

.halloween_filter_tab_btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.halloween_filter_tab_btn .btn_text {
    font-weight: 500;
}

/* Sale button: hidden */
.halloween_filter_tab_btn.btn_sale {
    display: none;
}

/* ===== Row 2: Pill Chips ===== */
.halloween_filter_row_chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.halloween_filter_chip {
    display: inline-block;
    padding: 6px 16px;
    background: #F2F2F2;
    color: #333;
    border-radius: 0;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    user-select: none;
    border: none;
    height: 32px;
    box-sizing: border-box;
    line-height: 20px;
}

.halloween_filter_chip:hover {
    background: #e0e0e0;
}

.halloween_filter_chip.active {
    background: #000;
    color: #FFF;
}

/* ===== Selected Filter Chips & Clear All (reused inline in Row 1) ===== */
.halloween_filter_selected_chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 6px 6px 12px;
    background: #F5F5F5;
    color: #333;
    border-radius: 0;
    font-size: 12px;
    line-height: 20px;
    border: none;
    height: 32px;
    box-sizing: border-box;
}

.halloween_filter_selected_chip .remove_btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 0;
    font-size: 14px;
    line-height: 1;
    color: #999;
    transition: color 0.15s, background-color 0.15s;
    padding: 0;
}

.halloween_filter_selected_chip .remove_btn:hover {
    color: #333;
    background: #e0e0e0;
}

.halloween_filter_clear_all {
    display: inline-block;
    padding: 6px 16px;
    background: #F2F2F2;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    border: none;
    border-radius: 0;
    height: 32px;
    box-sizing: border-box;
    line-height: 20px;
    white-space: nowrap;
    user-select: none;
    transition: background 0.2s;
}

.halloween_filter_clear_all:hover {
    background: #e0e0e0;
    color: #333;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .halloween_filter_container {
        padding: 10px 0 12px;
    }

    .halloween_filter_row_top {
        flex-wrap: wrap;
    }

    .halloween_filter_tab_btn {
        padding: 6px 12px;
        font-size: 13px;
    }

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

    .halloween_filter_selected_chip {
        font-size: 11px;
    }
}
