/* 143Co Amazon Picks - 前端产品网格样式 */
.amazon-picks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.amazon-product-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px 16px 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.amazon-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.amazon-product-card img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #2D3748;
    margin: 0 0 12px 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #E75480;
}

.prime-badge {
    background: #232F3E;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-rating {
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #4A5568;
}

.product-rating .stars {
    font-weight: 600;
    color: #FFA41C;
}

.product-rating .reviews {
    margin-left: 4px;
    color: #718096;
}

.buy-button {
    display: inline-block;
    background: #E75480;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.buy-button:hover {
    background: #D43D6A;
    color: #ffffff;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .amazon-picks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .amazon-picks-grid {
        grid-template-columns: 1fr;
    }
}