.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.product-info {
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 14px;
    margin-bottom: 8px;
    min-height: 55px;
    max-height: 84px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    color: #333;
}

.product-name a {
    color: #0066cc;
    text-decoration: none;
}

.product-name a:hover {
    text-decoration: underline;
}

.product-price {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-price h4 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: normal;
}

.product-price .price-cny {
    display: block;
    color: #000;
    font-size: 15px;
    margin-bottom: 6px;
    font-style: normal;
    font-weight: normal;
}

.product-price .title {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.6;
}

.product-price .price-usd {
    color: #e74c3c;
    font-weight: bold;
}

.product-price .price-rub {
    color: #000;
    font-weight: normal;
}

.product-rating {
    color: #f39c12;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.2;
    margin-top: auto;
}

/* Hot Search 样式 */
.hot-search {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 5px;
}

.hot-search span {
    font-size: 14px;
    color: #333;
}

.hot-search .page-link {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: all 0.3s;
}

.hot-search .page-link:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* 分页样式 */
.pagination {
    margin: 30px 0;
    text-align: center;
}

.pagination-info {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.pagination-links {
    display: inline-block;
}

.pagination-links a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.pagination-links a:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.pagination-links a.active {
    background: #ffc107;
    color: #333;
    border-color: #ffc107;
    font-weight: bold;
}

/* 产品网格布局 - 一行5个产品 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 20px 0;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-name {
        font-size: 13px;
        min-height: 50px;
        max-height: 78px;
    }
    
    .product-price h4 {
        font-size: 14px;
    }
    
    .product-price .price-cny,
    .product-price .title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-image {
        height: 200px;
    }
}