/* shopee-product.css */
.shopee-product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    display: flex;
    gap: 15px;
    background: #fff;
    max-width: 100%;
}

.shopee-product-image {
    position: relative;
    flex-shrink: 0;
    width: 120px;
}

.shopee-product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.shopee-discount {
    background: #ff4444;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

.shopee-product-info {
    flex: 1;
    min-width: 0;
}

.shopee-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.4;
}

.shopee-title a {
    text-decoration: none;
    color: #333;
}

.shopee-title a:hover {
    color: #ff4444;
}

.shopee-price-section {
    margin-bottom: 8px;
}

.shopee-price-current {
    font-size: 18px;
    font-weight: bold;
    color: #ff4444;
    margin-right: 8px;
}

.shopee-price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.shopee-meta-section {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.shopee-rating, .shopee-sold {
    display: inline-block;
}

.shopee-shop-section {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.shopee-button {
    display: inline-block;
    background: #ff4444;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.shopee-button:hover {
    background: #cc0000;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .shopee-product-card {
        flex-direction: column;
        text-align: center;
    }
    
    .shopee-product-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .shopee-meta-section {
        justify-content: center;
    }
}

/* Individual component styles */
.shopee-image {
    max-width: 100%;
    height: auto;
}

.shopee-link {
    color: #007cba;
    text-decoration: none;
}

.shopee-link:hover {
    text-decoration: underline;
}