
.product-list-container {
    margin-top:40px!important;
    margin-bottom:50px!important;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 20vh;

}

.list-header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-header .badge {
    background-color: #e74c3c;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.product-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #ecf0f1;
    transition: all 0.3s ease;
}

.product-item:hover {
    background-color: #f8fafc;
    transform: translateX(-5px);
}

.product-image {
    width: 150px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-location {
    color: #7f8c8d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.product-location::before {
    content: "📍";
    margin-left: 5px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.feature {
    background-color: #e8f4fc;
    color: #3498db;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.feature i {
    margin-left: 5px;
    font-size: 0.9rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.price-value {
    color: #345AE2!important;
    font-family:'iranyekanwebregular_fanum';
    font-size: 1.3rem;
    font-weight: 700;
}

.price-unit {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-right: 5px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(41, 128, 185, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background-color: #e8f4fc;
}

.list-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ecf0f1;
}

.total-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.checkout-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

@media (max-width: 768px) {
    .product-item {
        flex-direction: column;
    }

    .product-image {
        width: 100%;
        height: auto;
        max-height: 200px;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .action-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .btn {
        flex: 1;
        text-align: center;
    }
}
