/* ===== Product 页面特定样式 ===== */

/* 页面标题区域 */
.page-hero {
    padding: 0;
    text-align: center;
    background-color: #fff;
}

.page-hero .container {
    display: flex;
}

.page-hero .container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.category-menu {
    border-top: none;
    padding-top: 0 !important;
}

.page-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #1a1a1a;
    letter-spacing: 1.5px;
}

.page-subtitle {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* 产品展示区域 */
.product-section {
    padding: 100px 0;
    margin-top: 20px;
    background-color: #fff;
}

.product-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 产品网格 */
.product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
}

/* 产品卡片 */
.product-card {
    background-color: transparent;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-label {
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-label .product-code {
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 12px;
    color: #bca875;
    letter-spacing: 1px;
}

.product-label .product-name {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 8px;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.product-label .product-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
}

.product-image .image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e8e6df;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-image .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-img-1,
.product-img-2,
.product-img-3,
.product-img-4,
.product-img-5,
.product-img-6 {
    background: linear-gradient(135deg, #e8e6df 0%, #f2f0e8 100%);
}

.product-image .image-placeholder span {
    color: #999;
    font-size: 14px;
}

/* 侧边栏分类菜单 */
.product-sidebar {
    flex: 0 0 300px;
    background-color: #fff;
    padding: 40px 0;
}

.category-menu ul {
    list-style: none;
}

.category-menu li {
    margin-bottom: 5px;
    background-color: #f9f7f0;
}

.category-menu li:last-child {
    margin-bottom: 0;
}

.category-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.8px;
    display: block;
    padding: 20px 40px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    border-bottom: 1px solid transparent;
    line-height: 1;
}

.category-link:hover {
    color: #666;
    padding-left: 50px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .product-layout {
        gap: 40px;
    }

    .product-sidebar {
        flex: 0 0 240px;
        padding: 30px 20px;
    }

    .product-grid {
        gap: 30px 20px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .product-layout {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .product-sidebar {
        flex: 1;
        width: 100%;
        padding: 30px 25px;
    }

    .category-menu {
        display: flex;
        justify-content: center;
    }

    .category-menu ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .category-menu li {
        margin-bottom: 0;
    }

    .category-link {
        padding: 8px 15px;
        border: 1px solid #d4d0c8;
        border-radius: 20px;
        font-size: 13px;
    }

    .category-link:hover {
        padding-left: 15px;
        background-color: #e8e6df;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-section {
        padding: 30px 0 80px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }

    .page-subtitle {
        font-size: 13px;
    }

    .product-section {
        padding: 20px 0 60px;
    }

    .product-grid {
        gap: 25px;
    }

    .product-label {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .product-sidebar {
        padding: 20px 15px;
    }

    .category-menu ul {
        gap: 15px;
    }

    .category-link {
        font-size: 12px;
        padding: 6px 12px;
    }
}
