.main_products {
    padding: 40px 0;
    background: #fff;
}

.product_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.product_item {
    width: 25%;
    padding: 10px;
    box-sizing: border-box;
}

.product_item a {
    display: block;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.product_item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product_img {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.product_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.product_qrcode {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.5s;
    pointer-events: none;
}

.product_qrcode img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.product_img:hover .product_qrcode {
    opacity: 1;
}

.product_info {
    padding: 15px 10px;
}

.product_title {
    font-size: 16px;
    font-weight: normal;
    margin: 0 0 10px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product_price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price_left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current_price {
    color: #E74C3C;
    font-size: 18px;
    font-weight: bold;
}

.market_price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.sold_count {
    color: #999;
    font-size: 12px;
}