/* ========================================
   Category Page Styles - 金豚网络科技
   主色: #FF6B35 (橙色)
   背景: #000 (黑色)
   ======================================== */

/* Page Header */
.zh_page_header {
    background: #000;
    padding: 60px 0 40px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.zh_page_header_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

.zh_breadcrumb_wrapper {
    position: relative;
    z-index: 2;
}

.zh_breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.zh_breadcrumb_link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.zh_breadcrumb_link:hover {
    color: #FF6B35;
}

.zh_breadcrumb_separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.zh_breadcrumb_current {
    color: #FF6B35;
    font-size: 14px;
    font-weight: 600;
}

.zh_page_title_section {
    text-align: center;
}

.zh_page_title {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.zh_page_subtitle {
    font-size: 16px;
    color: #FF6B35;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Main Content Layout */
.zh_main_content {
    background: #000;
    padding: 80px 0;
}

.zh_content_layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
}

/* Sidebar */
.zh_sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.zh_sidebar_widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
}

.zh_widget_title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.zh_widget_title i {
    color: #FF6B35;
    font-size: 20px;
}

/* Category List */
.zh_category_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zh_category_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.zh_category_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.zh_category_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 10px;
}

.zh_category_link:hover {
    color: #FF6B35;
    padding-left: 15px;
    background: rgba(255, 107, 53, 0.05);
}

.zh_category_link i:first-child {
    margin-right: 10px;
}

.zh_category_link i:last-child {
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_category_link:hover i:last-child {
    opacity: 1;
}

/* Filter Section */
.zh_filter_section {
    margin-top: 20px;
}

.zh_filter_title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-weight: 600;
}

.zh_price_filter {
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.zh_price_range {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.zh_price_label {
    color: #FF6B35;
    font-weight: 700;
    font-size: 14px;
}

.zh_price_separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Hot Products */
.zh_hot_products {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_hot_product_item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.zh_hot_product_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.zh_hot_product_image {
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.zh_hot_product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_hot_product_image:hover img {
    transform: scale(1.1);
}

.zh_hot_product_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zh_hot_product_title {
    font-size: 14px;
    margin: 0;
}

.zh_hot_product_title a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.zh_hot_product_title a:hover {
    color: #FF6B35;
}

.zh_hot_product_price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_current_price {
    font-size: 16px;
    font-weight: 700;
    color: #FF6B35;
}

.zh_original_price {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: line-through;
}

/* Products Toolbar */
.zh_products_toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

.zh_toolbar_left,
.zh_toolbar_right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.zh_view_mode {
    display: flex;
    gap: 10px;
}

.zh_view_btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_view_btn:hover,
.zh_view_btn.active {
    background: #FF6B35;
    border-color: #FF6B35;
    color: #000;
}

.zh_sort_select {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zh_sort_select:hover {
    border-color: #FF6B35;
}

.zh_sort_select option {
    background: #000;
    color: #fff;
}

/* Products Grid */
.zh_products_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.zh_product_card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.zh_product_card:hover {
    border-color: #FF6B35;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.zh_product_image_wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.zh_product_link {
    display: block;
    width: 100%;
    height: 100%;
}

.zh_product_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zh_product_card:hover .zh_product_image {
    transform: scale(1.1);
}

.zh_product_badge {
    position: absolute;
    top: 15px;
    left: 15px;
}

.zh_badge_new {
    background: #FF6B35;
    color: #000;
    padding: 6px 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.zh_product_content {
    padding: 25px;
}

.zh_product_title {
    font-size: 16px;
    margin-bottom: 15px;
}

.zh_product_title a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.zh_product_title a:hover {
    color: #FF6B35;
}

.zh_product_price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.zh_product_rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.zh_stars {
    display: flex;
    gap: 3px;
}

.zh_stars i {
    color: #FF6B35;
    font-size: 14px;
}

.zh_rating_text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.zh_product_actions {
    display: flex;
    gap: 10px;
}

.zh_btn_quick_view {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid #FF6B35;
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zh_btn_quick_view:hover {
    background: #FF6B35;
    color: #000;
}

/* Products List View */
.zh_products_list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.zh_product_list_item {
    display: grid;
    grid-template-columns: 250px 1fr 200px;
    gap: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    transition: all 0.3s ease;
}

.zh_product_list_item:hover {
    border-color: #FF6B35;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.zh_list_product_image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.zh_list_product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_list_product_image:hover img {
    transform: scale(1.05);
}

.zh_list_product_badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF6B35;
    color: #000;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
}

.zh_list_product_content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zh_list_product_title {
    font-size: 18px;
    margin: 0;
}

.zh_list_product_title a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.zh_list_product_title a:hover {
    color: #FF6B35;
}

.zh_list_product_description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

.zh_list_product_actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
}

.zh_list_product_price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.zh_list_current_price {
    font-size: 28px;
    font-weight: 900;
    color: #FF6B35;
}

.zh_list_original_price {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: line-through;
}

.zh_list_action_buttons {
    display: flex;
    gap: 10px;
}

.zh_btn {
    padding: 12px 25px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zh_btn_primary {
    background: #FF6B35;
    color: #000;
}

.zh_btn_primary:hover {
    background: #ff5520;
    transform: translateY(-2px);
}

.zh_btn_sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* Pagination */
.zh_pagination_wrapper {
    margin-top: 60px;
}

.zh_pagination {
    display: flex;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1600px) {
    .zh_container {
        padding: 0 50px;
    }
}

@media (max-width: 1200px) {
    .zh_content_layout {
        grid-template-columns: 250px 1fr;
        gap: 40px;
    }

    .zh_products_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zh_page_title {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .zh_container {
        padding: 0 30px;
    }

    .zh_content_layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .zh_sidebar {
        order: 2;
    }

    .zh_main_area {
        order: 1;
    }

    .zh_product_list_item {
        grid-template-columns: 1fr;
    }

    .zh_list_product_actions {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .zh_products_grid {
        grid-template-columns: 1fr;
    }

    .zh_page_title {
        font-size: 36px;
    }

    .zh_products_toolbar {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .zh_page_title {
        font-size: 28px;
    }

    .zh_page_subtitle {
        font-size: 14px;
    }

    .zh_product_card {
        margin: 0;
    }
}
