/**
 * Japanese Products Archive - Modern Card Design
 * 日本站点产品归档页 - 现代化卡片设计
 * 
 * 参考图片样式优化产品卡片
 */

/* 产品卡片容器优化 */
body.lang-ja .product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.lang-ja .product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* 产品图片区域 */
body.lang-ja .product-card .product-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f5f5f5;
}

body.lang-ja .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

body.lang-ja .product-card:hover .product-image img {
    transform: scale(1.05);
}

/* 产品内容区域 */
body.lang-ja .product-card .product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* 产品标题 */
body.lang-ja .product-card .product-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    min-height: 56px;
}

body.lang-ja .product-card .product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

body.lang-ja .product-card .product-title a:hover {
    color: #1e88e5;
}

/* 关键规格信息 */
body.lang-ja .product-card .product-spec {
    background: #e3f2fd;
    color: #1565c0;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    display: inline-block;
    width: fit-content;
}

/* 产品描述 */
body.lang-ja .product-card .product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 产品标签/应用场景 */
body.lang-ja .product-card .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

body.lang-ja .product-card .product-tag {
    background: #f5f5f5;
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
}

/* 查看详情链接 */
body.lang-ja .product-card .product-link {
    color: #1e88e5;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-top: auto;
}

body.lang-ja .product-card .product-link:hover {
    color: #1565c0;
    gap: 10px;
}

body.lang-ja .product-card .product-link::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

body.lang-ja .product-card:hover .product-link::after {
    transform: translateX(4px);
}

/* 网格布局优化 */
body.lang-ja .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    body.lang-ja .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    body.lang-ja .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    body.lang-ja .product-card .product-image {
        height: 200px;
    }
    
    body.lang-ja .product-card .product-content {
        padding: 20px;
    }
    
    body.lang-ja .product-card .product-title {
        font-size: 18px;
        min-height: auto;
    }
}

/* 空状态优化 */
body.lang-ja .no-products-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

body.lang-ja .no-products-message h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

body.lang-ja .no-products-message p {
    font-size: 16px;
    margin-bottom: 24px;
}

/* 加载动画 */
body.lang-ja .product-card.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
