﻿/* Product List Page Styles */


.rc_breadcrumb {
    background-color: #f8f9fa;
    padding: 10px 0;
}

.rc_breadcrumb_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.rc_breadcrumb a {
    color: #333;
    text-decoration: none;
}

.rc_breadcrumb_separator {
    margin: 0 5px;
    color: #6c757d;
}

.rc_breadcrumb_current {
    color: #007bff;
}

.rc_prolist_section {
    padding: 40px 0;
}

.rc_prolist_container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Sidebar Styles */
.rc_prolist_sidebar {
    width: 300px;
    margin-right: 30px;
}

.rc_sidebar_title {
    font-size: 1.2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.rc_category_nav {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
}

.rc_category_list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.rc_category_item {
    margin-bottom: 10px;
}

.rc_category_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.rc_category_link:hover,
.rc_category_item.active > .rc_category_link {
    background-color: #e9ecef;
}

.rc_category_arrow {
    font-size: 0.8em;
    transition: transform 0.3s;
}

.rc_category_item.active > .rc_category_link .rc_category_arrow {
    transform: rotate(180deg);
}

.rc_subcategory_list {
    list-style-type: none;
    padding-left: 20px;
    margin-top: 5px;
    display: none;
}

.rc_category_item.active > .rc_subcategory_list {
    display: block;
}

.rc_subcategory_item {
    margin-bottom: 5px;
}

.rc_subcategory_item a {
    color: #6c757d;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
    transition: color 0.3s;
}

.rc_subcategory_item a:hover,
.rc_subcategory_item.active a {
    color: #007bff;
}

/* Main Content Styles */
.rc_prolist_main {
    flex: 1;
}

.rc_prolist_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rc_prolist_title {
    font-size: 1.5em;
    margin: 0;
}

.rc_sort_select {
    padding: 5px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.rc_product_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rc_product_card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.rc_product_card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rc_product_image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 4;
}

.rc_product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rc_product_card:hover .rc_product_image img {
    transform: scale(1.05);
}

.rc_product_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.rc_product_card:hover .rc_product_overlay {
    opacity: 1;
}

.rc_product_btn {
    background-color: #007bff;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.rc_product_btn:hover {
    background-color: #0056b3;
}

.rc_product_info {
    padding: 15px;
}

.rc_product_title {
    font-size: 1.1em;
    margin: 0 0 10px;
}

.rc_product_desc {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 10px;
}

.rc_product_meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #495057;
}

.rc_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.rc_pagination_btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.rc_pagination_btn:hover:not(:disabled) {
    background-color: #0056b3;
}

.rc_pagination_btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.rc_pagination_numbers {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.rc_pagination_num {
    background-color: transparent;
    border: 1px solid #007bff;
    color: #007bff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.rc_pagination_num:hover,
.rc_pagination_num.active {
    background-color: #007bff;
    color: #fff;
}

.rc_pagination_dots {
    color: #6c757d;
    margin: 0 5px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .rc_product_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rc_prolist_container {
        flex-direction: column;
    }

    .rc_prolist_sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
        display: none;
    }

    .rc_prolist_sidebar.mobile-active {
        display: block;
    }

    .rc_product_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .rc_prolist_header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rc_prolist_sort {
        margin-top: 10px;
    }

    .rc_mobile_sidebar_toggle {
        display: inline-block;
        background-color: #007bff;
        color: #fff;
        border: none;
        padding: 8px 15px;
        border-radius: 4px;
        cursor: pointer;
        margin-bottom: 15px;
    }
}

@media (min-width: 769px) {
    .rc_mobile_sidebar_toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .rc_pagination_numbers {
        display: none;
    }
}

/* Product Detail Page Styles */
.rc_product_detail_section {
    padding: 40px 0;
}

.rc_product_detail_container {
    display: flex;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    gap: 30px;
}

.rc_product_detail_main {
    flex: 1;
}

/* Product Detail Header */
.rc_product_detail_header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

/* Product Gallery */
.rc_product_gallery {
    flex: 1;
    max-width: 500px;
}

.rc_product_main_image {
    position: relative;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.rc_product_main_image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.rc_image_zoom_overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rc_product_main_image:hover .rc_image_zoom_overlay {
    opacity: 1;
}

.rc_product_thumbnail_gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rc_thumbnail_item {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.rc_thumbnail_item:hover,
.rc_thumbnail_item.active {
    border-color: #007bff;
}

.rc_thumbnail_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Product Info Panel */
.rc_product_info_panel {
    flex: 1;
    max-width: 500px;
}

.rc_product_detail_title {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.2;
}

.rc_product_model {
    color: #6c757d;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.rc_product_summary {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.rc_product_summary p {
    margin: 0;
    line-height: 1.6;
    color: #495057;
}


.rc_contact_panel {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.rc_contact_panel h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 1.2em;
}

.rc_contact_info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.rc_contact_phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1em;
    font-weight: bold;
    color: #007bff;
}

.rc_contact_phone i {
    font-size: 1.2em;
}

.rc_contact_wechat {
    text-align: center;
}

.rc_wechat_qr img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
}

.rc_wechat_qr p {
    margin: 5px 0 0;
    font-size: 0.9em;
    color: #6c757d;
}

.rc_action_buttons {
    display: flex;
    gap: 10px;
}

.rc_btn_primary,
.rc_btn_secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.rc_btn_primary {
    background-color: #007bff;
    color: #fff;
}

.rc_btn_primary:hover {
    background-color: #0056b3;
}

.rc_btn_secondary {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.rc_btn_secondary:hover {
    background-color: #007bff;
    color: #fff;
}

/* Product Detail Content */
.rc_product_detail_content {
    margin-top: 40px;
}

.rc_detail_tabs {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.rc_tab_btn {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1em;
    color: #6c757d;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.rc_tab_btn:hover,
.rc_tab_btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.rc_tab_content {
    display: none;
}

.rc_tab_content.active {
    display: block;
}

.rc_tab_content h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
}

.rc_detail_images {
    margin-bottom: 30px;
}

.rc_detail_images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.rc_detail_images p {
    color: #495057;
    line-height: 1.6;
}

.rc_specs_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.rc_specs_table td {
    padding: 12px;
    border: 1px solid #e9ecef;
}

.rc_specs_table td:first-child {
    background-color: #f8f9fa;
    font-weight: bold;
    width: 30%;
}

.rc_installation_steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rc_step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.rc_step_number {
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
}

.rc_step_content h4 {
    margin: 0 0 8px;
    color: #333;
}

.rc_step_content p {
    margin: 0;
    color: #495057;
    line-height: 1.5;
}

.rc_warranty_info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rc_warranty_item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.rc_warranty_item i {
    color: #007bff;
    font-size: 2em;
    flex-shrink: 0;
}

.rc_warranty_item h4 {
    margin: 0 0 8px;
    color: #333;
}

.rc_warranty_item p {
    margin: 0;
    color: #495057;
    line-height: 1.5;
}

/* Related Products */
.rc_related_products {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.rc_related_products h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
}

.rc_related_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rc_related_item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.rc_related_item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rc_related_item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.rc_related_item h4 {
    padding: 15px 15px 5px;
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

.rc_related_item p {
    padding: 0 15px;
    margin: 0 0 15px;
    color: #6c757d;
    font-size: 0.9em;
}

.rc_related_link {
    display: block;
    padding: 10px 15px;
    background-color: #f8f9fa;
    color: #007bff;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.rc_related_link:hover {
    background-color: #007bff;
    color: #fff;
}

/* Responsive Styles for Product Detail */
@media (max-width: 1024px) {
    .rc_product_detail_header {
        flex-direction: column;
    }
    
    .rc_product_gallery,
    .rc_product_info_panel {
        max-width: 100%;
    }
    
    .rc_contact_info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .rc_warranty_info {
        grid-template-columns: 1fr;
    }
    
    .rc_related_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rc_product_detail_container {
        flex-direction: column;
        gap: 20px;
    }
    
    .rc_prolist_sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .rc_detail_tabs {
        flex-wrap: wrap;
    }
    
    .rc_tab_btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .rc_action_buttons {
        flex-direction: column;
    }
    
    .rc_related_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .rc_product_detail_title {
        font-size: 1.5em;
    }
    
    .rc_thumbnail_gallery {
        justify-content: center;
    }
    
    .rc_thumbnail_item {
        width: 60px;
        height: 60px;
    }
    
    .rc_contact_wechat .rc_wechat_qr img {
        width: 60px;
        height: 60px;
    }
}
