/*
Theme Name: Huayuanrice定制主题
Description: 中国WP定制网：建站推广的计件制收费平台。100元起，收费低工期短，正规公司可开票。不成功全额退款。服务项目：SEO、建站、网站定制开发、服务器维护等的计件制服务。打破了传统建站SEO服务整体打包且费用高的困局，把每个项目拆分成最低至100元的计件制产品。我们非个人而是专业公司，拥有大量前后端程序员和设计师。支持在线下单（可跟踪开发进度和下载发票）、支持在线确认单（确保客户下单前大致预览最终效果）。优势特色：收费低、工期短、技术过硬、服务热情、数据安全。售后保障：在线售后支持，凡是在线确认单上承诺的项目如做不到我们全额退款。热卖产品：Gofair AI发文接口、网站改版搬家仿站、企业邮箱开通、代发外链。
Version: 1.0
Author: 中国WP定制网
Author URI: https://china-wp.com/
*/

/* Product Archive Styles */
.product-category-section {
    margin-bottom: 60px;
}

.product-category-section h2.category-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.product-category-section h2.category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #007cba;
}

.view-all-link {
    float: right;
    font-size: 14px;
    font-weight: 400;
    color: #007cba;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #007cba;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    background: #007cba;
    color: #fff;
    text-decoration: none;
}

.category-description {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.product-item {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.product-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 40px 0;
}

.no-products p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.no-products .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.no-products .btn:hover {
    background: #005a87;
    color: #fff;
}

/* Pagination Styles */
.posts-pagination {
    margin-top: 50px;
    text-align: center;
}

.posts-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.posts-pagination .page-numbers:hover,
.posts-pagination .page-numbers.current {
    background: #007cba;
    color: #fff;
}

/* Page main title */
.page-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-main-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #007cba;
}

/* Related categories */
.related-categories {
    margin-top: 60px;
    text-align: center;
}

.related-categories h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.related-categories h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #007cba;
}

.category-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.category-item:hover {
    background: #007cba;
    border-color: #007cba;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,124,186,0.3);
}

.category-item a {
    text-decoration: none;
    color: #333;
}

.category-item:hover a {
    color: #fff;
}

.related-categories .category-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.related-categories .category-count {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.category-item:hover .category-count {
    color: rgba(255,255,255,0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-category-section h2.category-title {
        font-size: 24px;
    }

    .view-all-link {
        float: none;
        display: inline-block;
        margin-top: 10px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 16px;
    }

    .page-main-title {
        font-size: 28px;
    }

    .related-categories h3 {
        font-size: 20px;
    }

    .category-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-main-title {
        font-size: 24px;
    }

    .product-title {
        font-size: 14px;
    }

    .related-categories h3 {
        font-size: 18px;
    }
}
